![]() |
Get the uri of Artifact from a list of length one.
tfx.types.artifact_utils.get_single_uri(
artifact_list: List[tfx.types.Artifact
]
) -> Text
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. |