tfx.types.artifact_utils.get_split_uri

View source on GitHub

Get the uri of Artifact with matching split from given list.

tfx.types.artifact_utils.get_split_uri(
    artifact_list,
    split
)

Args:

  • artifact_list: A list of Artifact objects whose length must be one.
  • split: Name of split.

Returns:

The uri of Artifact object in artifact_list with matching split.

Raises:

  • ValueError: If number with matching split in artifact_list is not one.