swh.vault.in_memory_backend module# class swh.vault.in_memory_backend.InMemoryVaultBackend[source]# Bases: object Stub vault backend, for use in the CLI. fetch(bundle_type: str, swhid: CoreSWHID) → Optional[bytes][source]# cook(bundle_type: str, swhid: CoreSWHID, email: Optional[str] = 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]#