console_db.console_db#

Module Contents#

class console_db.console_db.ConsoleDb#

Bases: auto_archiver.core.Database

Outputs results to the console

started(item: auto_archiver.core.Metadata) None#

signals the DB that the given item archival has started

failed(item: auto_archiver.core.Metadata, reason: str) None#

update DB accordingly for failure

aborted(item: auto_archiver.core.Metadata) None#

abort notification if user cancelled after start

done(item: auto_archiver.core.Metadata, cached: bool = False) None#

archival result ready - should be saved to DB