fallback default drops

This commit is contained in:
Yannick Stephan
2025-02-18 08:43:23 +01:00
parent 6eed29b1cb
commit fc4b830036
3 changed files with 16 additions and 0 deletions

View File

@@ -50,3 +50,6 @@ class JsonKVStorage(BaseKVStorage):
for doc_id in ids:
self._data.pop(doc_id, None)
await self.index_done_callback()
async def drop(self) -> None:
self._data = {}