console_db
==========

.. py:module:: console_db


Submodules
----------

.. toctree::
   :maxdepth: 1

   /autoapi/console_db/console_db/index




Package Contents
----------------

.. py:class:: ConsoleDb

   Bases: :py:obj:`auto_archiver.core.Database`


   Outputs results to the console


   .. py:method:: started(item: auto_archiver.core.Metadata) -> None

      signals the DB that the given item archival has started



   .. py:method:: failed(item: auto_archiver.core.Metadata, reason: str) -> None

      update DB accordingly for failure



   .. py:method:: aborted(item: auto_archiver.core.Metadata) -> None

      abort notification if user cancelled after start



   .. py:method:: done(item: auto_archiver.core.Metadata, cached: bool = False) -> None

      archival result ready - should be saved to DB



