swh.counters.in_memory module# class swh.counters.in_memory.InMemory[source]# Bases: object InMemory implementation of the counters. Naive implementation using a Dict[str, Set] check()[source]# add(collection: str, keys: Iterable[Any]) → None[source]# get_count(collection: str) → int[source]# get_counts(collections: List[str]) → Dict[str, int][source]# get_counters() → Iterable[str][source]#