code: def _create_artifact(
      uri: str, artifact_type: Type[_Artifact] = _Example
  ) -> _Artifact:
      a = artifact_type()
      a.uri = uri
      return a
  
imports: from typing import Any, Callable, List, Optional, Type, Union
  from absl.testing import parameterized
  import tensorflow
  from tfx.orchestration.experimental.core import test_utils
  from tfx.orchestration.portable import data_types
  from tfx.orchestration.portable import execution_environ
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.types import artifact
  from tfx.types import standard_artifacts
  from tfx.utils.di import errors
label_desc: Use image node_id 1 for calling a global function with example usage: _create_artifact(uri, artifact_type) and returns: a