swh.vault package#

Subpackages#

Submodules#

Module contents#

swh.vault.get_vault(cls: str, **kwargs) VaultInterface[source]#

Get a vault object of class vault_class with arguments vault_args.

Parameters:
  • cls – vault’s class

  • kwargs – arguments to pass to the class’ constructor

Returns:

an instance of VaultBackend

Raises:

ValueError if passed an unknown storage class.

swh.vault.register_tasks() Dict[str, Any][source]#