feat: Remove old articles from database
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled

This commit is contained in:
Marty Oehme 2025-06-19 17:57:52 +02:00
parent 90a419eebe
commit 434773025b
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 50 additions and 4 deletions

View file

@ -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