swh.counters.api.client module#
- class swh.counters.api.client.RemoteCounters(url, api_exception=None, timeout=None, chunk_size=4096, reraise_exceptions=None, **kwargs)[source]#
Bases:
RPCClient
Proxy to a remote counters API
- backend_class#
alias of
CountersInterface
- add(collection: str, keys: Iterable[Any]) None #
Add the provided keys to the collection Only count new keys.
- check()#
Dedicated method to execute some specific check per implementation.