code: def _create_artifact(uri: str) -> types.Artifact:
      artifact = types.Artifact(
          metadata_store_pb2.ArtifactType(
              name=_DEFAULT_ARTIFACT_TYPE_NAME
          )
      )
      artifact.uri = uri
      return artifact
  
imports: from absl.testing import parameterized
  import tensorflow
  from tfx import types
  from tfx.orchestration import data_types_utils
  from tfx.proto.orchestration import execution_result_pb2
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.types import artifact_utils
  from tfx.utils import proto_utils
  from tfx.utils import test_case_utils
  from google.protobuf import struct_pb2
  from google.protobuf import text_format
  from ml_metadata.proto import metadata_store_pb2
  from ml_metadata.proto import metadata_store_service_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _create_artifact(uri) and returns: artifact