feat: Remove old articles from database
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
This commit is contained in:
parent
90a419eebe
commit
434773025b
3 changed files with 50 additions and 4 deletions
|
|
@ -19,3 +19,11 @@ class IImprovementRepo(Protocol):
|
|||
|
||||
def get_all(self) -> list[Improvement]:
|
||||
raise NotImplementedError
|
||||
|
||||
def remove(self, id: str) -> Improvement:
|
||||
"""Returns single deleted improvement"""
|
||||
raise NotImplementedError
|
||||
|
||||
def remove_all(self, ids: list[str]) -> list[Improvement]:
|
||||
"""Returns list of deleted improvements"""
|
||||
raise NotImplementedError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue