artifact_manager_ui¶
- class fabrictestbed_extensions.ui.artifact_manager_ui.ArtifactManagerUI(fablib, download_dir='/home/fabric/work')[source]¶
Initializes the ArtifactManagerUI with a specified download directory.
Parameters¶
- download_dirstr, optional
The directory where artifacts will be downloaded (default is “/home/fabric/work”).
- download_artifact_handler(artifact_title, version_urn, version)[source]¶
Handler for downloading and extracting artifacts.
Parameters¶
- artifact_titlestr
The title of the artifact to download.
- version_urnstr
The URN of the version to download.
- versionstr
The version of the artifact to download.
Raises¶
- Exception
If there is an error during the download or extraction process.
- class fabrictestbed_extensions.ui.artifact_manager_ui.ArtifactManagerUI(fablib, download_dir='/home/fabric/work')[source]
Initializes the ArtifactManagerUI with a specified download directory.
Parameters¶
- download_dirstr, optional
The directory where artifacts will be downloaded (default is “/home/fabric/work”).
- create_ui()[source]
Creates and displays the user interface for interacting with artifacts.
- download_artifact_handler(artifact_title, version_urn, version)[source]
Handler for downloading and extracting artifacts.
Parameters¶
- artifact_titlestr
The title of the artifact to download.
- version_urnstr
The URN of the version to download.
- versionstr
The version of the artifact to download.
Raises¶
- Exception
If there is an error during the download or extraction process.