(self, init_dict: MutableMapping[str, bytes] | None = None)
| 34 | |
| 35 | class DictCache(BaseCache): |
| 36 | def __init__(self, init_dict: MutableMapping[str, bytes] | None = None) -> None: |
| 37 | self.lock = Lock() |
| 38 | self.data = init_dict or {} |
| 39 | |
| 40 | def get(self, key: str) -> bytes | None: |
| 41 | return self.data.get(key, None) |
nothing calls this directly
no outgoing calls
no test coverage detected