code: def testResolveParameterSchema(self):
      parameters = pipeline_pb2.NodeParameters()
      text_format.Parse(
          """
          parameters {
            key: 'key_one'
            value {
              field_value { string_value: 'value_one' }
              schema {
                value_type {
                  boolean_type {}
                }
              }
            }
          }
          parameters {
            key: 'key_two'
            value {
              field_value { int_value: 2 }
            }
          }""",
          parameters,
      )
      expected_schema = """
            field_value { string_value: 'value_one' }
            schema {
              value_type {
                boolean_type {}
              }
            }
      """
      parameter_schemas = inputs_utils.resolve_parameters_with_schema(
          parameters
      )
      self.assertLen(parameter_schemas, 2)
      self.assertProtoPartiallyEquals(
          expected_schema, parameter_schemas["key_one"]
      )
  
imports: import collections
  import os
  import tensorflow
  from tfx import types
  from tfx.dsl.compiler import placeholder_utils
  from tfx.orchestration import metadata
  from tfx.orchestration.portable import data_types
  from tfx.orchestration.portable import execution_publish_utils
  from tfx.orchestration.portable import inputs_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.orchestration.portable.mlmd import context_lib
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import test_case_utils
  from google.protobuf import text_format
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 8 for calling the InputsUtilsTest obj's underlying member method code with example usage: obj.testResolveParameterSchema() without return types