MCPcopy
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

disconnectMethod · 0.45
run_benchmarkMethod · 0.45

Calls

no outgoing calls