MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / get

Method get

apps/output/test_streaming_chunk_cache.py:32–34  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

30 self._expires_at.pop(key, None)
31
32 def get(self, key):
33 self._purge_expired()
34 return self._strings.get(key)
35
36 def set(self, key, value, nx=False, ex=None):
37 self._purge_expired()

Calls 1

_purge_expiredMethod · 0.95

Tested by

no test coverage detected