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

Method delete

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

Source from the content-addressed store, hash-verified

35 self.conn.setex(key, expires, value)
36
37 def delete(self, key: str) -> None:
38 self.conn.delete(key)
39
40 def clear(self) -> None:
41 """Helper for clearing all the keys in a database. Use with

Callers 1

clearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected