TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfx.types.artifact_utils.get_single_uri

View source on GitHub

Get the uri of Artifact from a list of length one.

tfx.types.artifact_utils.get_single_uri(artifact_list)

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.