code: def get_proto_from_test_data(
      filename: str, pb_message: message.Message
  ) -> message.Message:
      """Helper function that gets proto from testdata."""
      filepath = os.path.join(
          os.path.dirname(__file__), "testdata", filename
      )
      return tfx.utils.parse_pbtxt_file(filepath, pb_message)
  
imports: import datetime
  import os
  from typing import List
  from kfp.pipeline_spec import pipeline_spec_pb2
  import tensorflow_model_analysis
  from tfx import v1
  from tfx.components.example_gen import utils
  from tfx.components.trainer.executor import Executor
  from tfx.dsl.component.experimental import executor_specs
  from tfx.dsl.component.experimental import placeholders
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import base_node
  from tfx.dsl.components.base import executor_spec
  from tfx.types import channel_utils
  from tfx.types import component_spec
  from tfx.types.experimental import simple_artifacts
  from tfx.utils import proto_utils
  from google.protobuf import message
label_desc: Use image node_id 11 for calling a global function with example usage: get_proto_from_test_data(filename, pb_message) and returns: tfx