ArtifactAsset
ArtifactAsset(remote, logical_path, size, link, metadata, asset_type, local_path_or_data): represent local and remote assets added to an Artifact object but not yet uploaded
ArtifactAsset.init¶
__init__(remote: bool, logical_path: str, size: int, link: Optional[str],
metadata: Optional[Dict[Any, Any]], asset_type: Optional[str],
local_path_or_data: Optional[Any]) -> None
ArtifactAsset.asset_type¶
asset_type()
Asset type, str
ArtifactAsset.link¶
link()
Asset remote link if the asset is remote, str or None
ArtifactAsset.local_path_or_data¶
local_path_or_data()
Asset local path or in-memory file if the asset is non-remote, str, memory-file or None
ArtifactAsset.logical_path¶
logical_path()
Asset relative logical_path, str or None
ArtifactAsset.metadata¶
metadata()
Asset metadata, dict
ArtifactAsset.remote¶
remote()
Is the asset a remote asset or not, boolean
ArtifactAsset.size¶
size()
Asset size if the asset is a non-remote asset, int
Jul. 9, 2024