code: def testBasic(self):
      with session.Session() as sess:
          examples = array_ops.placeholder(dtypes.string, shape=[1])
          feature_to_type = {
              "x": parsing_ops.FixedLenFeature(
                  [1], dtypes.float32, 33.0
              ),
              "y": parsing_ops.VarLenFeature(dtypes.string),
          }
          result = parsing_ops.parse_example(examples, feature_to_type)
          parse_example_op = result["x"].op
          config = extract_example_parser_configuration(
              parse_example_op, sess
          )
          expected = self.getExpectedConfig(parse_example_op.type)
          self.assertProtoEquals(expected, config)
  
file_path: tensorflow/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 2 for calling the ExampleParserConfigurationTest obj's underlying member method code with example usage: obj.testBasic() without return types