Added drop
This commit is contained in:
parent
a15d164d87
commit
20909e495b
1 changed files with 5 additions and 0 deletions
|
|
@ -68,3 +68,8 @@ class JsonDocStatusStorage(DocStatusStorage):
|
|||
for doc_id in doc_ids:
|
||||
self._data.pop(doc_id, None)
|
||||
await self.index_done_callback()
|
||||
|
||||
async def drop(self) -> None:
|
||||
"""Drop the storage"""
|
||||
self._data.clear()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue