enables api_db cache queries if configured with new option (#113)

This commit is contained in:
Miguel Sozinho Ramalho
2023-12-12 19:20:26 +00:00
committed by GitHub
parent 3e56ef137d
commit 6f36e92e02
8 changed files with 40 additions and 12 deletions

View File

@@ -36,6 +36,6 @@ class Database(Step, ABC):
return False
@abstractmethod
def done(self, item: Metadata) -> None:
def done(self, item: Metadata, cached: bool=False) -> None:
"""archival result ready - should be saved to DB"""
pass