Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ flush
Method
flush
redis/cache.py:298–299 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
296
return
self._cache.delete_by_redis_keys(redis_keys)
297
298
def
flush(self) -> int:
299
return
self._cache.flush()
300
301
def
is_cachable(self, key: CacheKey) -> bool:
302
return
self._cache.is_cachable(key)
Callers
4
test_flush_delegates_to_underlying_cache
Method · 0.95
disconnect
Method · 0.45
_on_invalidation_callback
Method · 0.45
run_benchmark
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_flush_delegates_to_underlying_cache
Method · 0.76