MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / flushdb

Method flushdb

tests/scheduler/test_splitwise_scheduler.py:188–193  ·  view source on GitHub ↗

Clear all data

(self)

Source from the content-addressed store, hash-verified

186 return deleted
187
188 def flushdb(self) -> str:
189 """Clear all data"""
190 self.storage.clear()
191 self.hashes.clear()
192 self.expirations.clear()
193 return "OK"
194
195 # Create complete redis module replacement
196 redis_mod = types.ModuleType("redis")

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected