tfx.types.artifact_utils.get_single_instance

Get a single instance of Artifact from a list of length one.

artifact_list A list of Artifact objects whose length must be one.

The single Artifact object in artifact_list.

ValueError If length of artifact_list is not one.