swh.deposit.loader.checker module

class swh.deposit.loader.checker.DepositChecker(config=None)[source]

Bases: swh.core.config.SWHConfig

Deposit checker implementation.

Trigger deposit’s checks through the private api.

CONFIG_BASE_FILENAME = 'deposit/checker'
DEFAULT_CONFIG = {'deposit': ('dict', {'url': 'http://localhost:5006/1/private/', 'auth': {}})}
check(collection: str, deposit_id: str) → Mapping[str, str][source]