mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(nodes): add delete method to ItemStorageABC
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user