code: def get_single_uri(artifact_list: List[Artifact]) -> str:
      """Get the uri of Artifact from a list of length one.
  
      Args:
        artifact_list: A list of Artifact objects whose length must be one.
  
      Returns:
        The uri of the single Artifact object in artifact_list.
  
      Raises:
        ValueError: If length of artifact_list is not one.
      """
      return get_single_instance(artifact_list).uri
  
file_path: tfx/tfx/types/artifact_utils.py
imports: import itertools
  import json
  import os
  from typing import Dict, List, Optional, Type, Union
  from absl import logging
  from tfx.dsl.io import fileio
  from tfx.types import artifact
  from tfx.types import standard_artifact_utils
  from tfx.types import value_artifact
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: get_single_uri(artifact_list) and returns: get_single_instance