Bases: object
Stub vault backend, for use in the CLI.
-
fetch(bundle_type: str, swhid: CoreSWHID) → bytes | None[source]
-
download_url(bundle_type: str, swhid: CoreSWHID, content_disposition: str | None = None, expiry: timedelta | None = None) → str | None[source]
-
cook(bundle_type: str, swhid: CoreSWHID, email: str | None = None) → Dict[str, Any][source]
-
progress(bundle_type: str, swhid: CoreSWHID)[source]
-
set_progress(bundle_type: str, swhid: CoreSWHID, progress: str) → None[source]
-
set_status(bundle_type: str, swhid: CoreSWHID, status: str) → None[source]
-
put_bundle(bundle_type: str, swhid: CoreSWHID, bundle) → bool[source]
-
send_notif(bundle_type: str, swhid: CoreSWHID)[source]
-
batch_cook(batch: List[Tuple[str, str]]) → int[source]
-
batch_progress(batch_id: int) → Dict[str, Any][source]