swh.storage.cli module#
- swh.storage.cli.ensure_check_config(storage_cfg: Dict, check_config: Optional[str], default: str)[source]#
Helper function to inject the setting of check_config option in the storage config dict according to the expected default value (default value depends on the command, eg. backfill can be read-only).