MCPcopy Create free account
hub / github.com/psf/cachecontrol / get

Method get

cachecontrol/caches/redis_cache.py:20–21  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

18 self.conn = conn
19
20 def get(self, key: str) -> bytes | None:
21 return self.conn.get(key)
22
23 def set(
24 self, key: str, value: bytes, expires: int | datetime | None = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected