diff --git a/GTG/core/base_store.py b/GTG/core/base_store.py index 36e27ee8c..b3b0c91ae 100644 --- a/GTG/core/base_store.py +++ b/GTG/core/base_store.py @@ -136,8 +136,8 @@ def remove(self, item_id: UUID) -> None: self.emit('removed', str(item_id)) - def batch_remove(self,item_ids: List[UUID]): - """Remove multiple items and their descendants at the same time. """ + def batch_remove(self,item_ids: List[UUID]) -> None: + """Remove multiple items, ensuring nothing gets deleted twice""" for key in item_ids: if key in self.lookup: self.remove(key)