feat(nodes): add delete method to ItemStorageABC

This commit is contained in:
psychedelicious 2024-01-30 19:10:57 +11:00
parent a4f892dcfb
commit 8bd32ee142

View File

@ -30,6 +30,11 @@ class ItemStorageABC(ABC, Generic[T]):
"""Sets the item"""
pass
@abstractmethod
def delete(self, item_id: str) -> None:
"""Deletes the item"""
pass
@abstractmethod
def list(self, page: int = 0, per_page: int = 10) -> PaginatedResults[T]:
"""Gets a paginated list of items"""