ArtifactAsset
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.asset_type¶
Asset type, str
ArtifactAsset.link¶
Asset remote link if the asset is remote, str or None
ArtifactAsset.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¶
Asset relative logical_path, str or None
ArtifactAsset.metadata¶
Asset metadata, dict
ArtifactAsset.remote¶
Is the asset a remote asset or not, boolean
ArtifactAsset.size¶
Asset size if the asset is a non-remote asset, int
ArtifactAsset.__init__
¶
python
__init__(self, remote, logical_path, size, link, metadata, asset_type,
local_path_or_data)
Initialize self. See help(type(self)) for accurate signature.