class_docstr: Helper methods for inputs_utils_test.
code: def _make_artifact(self, type_name, **kwargs):
      result = types.Artifact(
          metadata_store_pb2.ArtifactType(name=type_name)
      )
      for key, value in kwargs.items():
          setattr(result, key, value)
      return result
  
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 3 for calling the _TestMixin obj's underlying member method code with example usage: obj._make_artifact(type_name) and returns: result