code: def _get_artifact_type_name(
      system_type: metadata_store_pb2.ArtifactType.SystemDefinedBaseType,
  ):
      extensions = (
          metadata_store_pb2.ArtifactType.SystemDefinedBaseType.DESCRIPTOR.values_by_number[
              system_type
          ]
          .GetOptions()
          .Extensions
      )
      return extensions[
          metadata_store_pb2.system_type_extension
      ].type_name
  
file_path: ml-metadata/ml_metadata/metadata_store/mlmd_types_test.py
imports: from absl.testing import absltest
  from ml_metadata.metadata_store import mlmd_types
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _get_artifact_type_name(system_type) and returns: extensions