code: def getExpectedConfig(self, op_type):
      expected = (
          example_parser_configuration_pb2.ExampleParserConfiguration()
      )
      if op_type == "ParseExampleV2":
          text_format.Parse(EXPECTED_CONFIG_V2, expected)
      else:
          text_format.Parse(EXPECTED_CONFIG_V1, expected)
      return expected
  
file_path: tensorflow-upstream/tensorflow/python/util/example_parser_configuration_test.py
imports: from google.protobuf import text_format
  from tensorflow.core.example import example_parser_configuration_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util.example_parser_configuration import extract_example_parser_configuration
label_desc: Use image node_id 1 for calling the ExampleParserConfigurationTest obj's underlying member method code with example usage: obj.getExpectedConfig(op_type) and returns: expected