code: def testSimpleFunctionParse(self):
      def func_a(
          a: int,
          b: int,
          unused_c: str,
          unused_d: bytes,
          unused_e: Dict[str, List[float]],
          unused_f: Parameter[float],
          unused_g: BeamComponentParameter[beam.Pipeline] = None,
      ) -> OutputDict(c=float, d=Dict[str, List[float]]):
          return {"c": float(a + b), "d": unused_e}
  
      (
          inputs,
          outputs,
          parameters,
          arg_formats,
          arg_defaults,
          returned_values,
          json_typehints,
          return_json_typehints,
      ) = parse_typehint_component_function(func_a)
      self.assertDictEqual(
          inputs,
          {
              "a": standard_artifacts.Integer,
              "b": standard_artifacts.Integer,
              "unused_c": standard_artifacts.String,
              "unused_d": standard_artifacts.Bytes,
              "unused_e": standard_artifacts.JsonValue,
          },
      )
      self.assertDictEqual(
          outputs,
          {
              "c": standard_artifacts.Float,
              "d": standard_artifacts.JsonValue,
          },
      )
      self.assertDictEqual(
          parameters,
          {
              "unused_f": float,
              "unused_g": beam.Pipeline,
          },
      )
      self.assertDictEqual(
          arg_formats,
          {
              "a": ArgFormats.ARTIFACT_VALUE,
              "b": ArgFormats.ARTIFACT_VALUE,
              "unused_c": ArgFormats.ARTIFACT_VALUE,
              "unused_d": ArgFormats.ARTIFACT_VALUE,
              "unused_e": ArgFormats.ARTIFACT_VALUE,
              "unused_f": ArgFormats.PARAMETER,
              "unused_g": ArgFormats.BEAM_PARAMETER,
          },
      )
      self.assertDictEqual(arg_defaults, {"unused_g": None})
      self.assertEqual(returned_values, {"c": False, "d": False})
      self.assertDictEqual(
          json_typehints, {"unused_e": Dict[str, List[float]]}
      )
      self.assertDictEqual(
          return_json_typehints, {"d": Dict[str, List[float]]}
      )
  
imports: from typing import Dict, List, Optional, TypedDict, Union
  import apache_beam
  import tensorflow
  from tfx.dsl.component.experimental.annotations import BeamComponentParameter
  from tfx.dsl.component.experimental.annotations import InputArtifact
  from tfx.dsl.component.experimental.annotations import OutputArtifact
  from tfx.dsl.component.experimental.annotations import OutputDict
  from tfx.dsl.component.experimental.annotations import Parameter
  from tfx.dsl.component.experimental.function_parser import parse_typehint_component_function
  from tfx.dsl.component.experimental.utils import ArgFormats
  from tfx.types import standard_artifacts
label_desc: Use image node_id 1 for calling the FunctionParserTest obj's underlying member method code with example usage: obj.testSimpleFunctionParse() and returns: dict