module documentation

Defines the database used by Things providing data to the gallery.

Class DirectoryViewerData The data that defines displaying a directory.
Class DZIViewerData The data that defines displaying a deep zoom image.
Class GalleryCardMessages Messages that the gallery card shows the user.
Class GalleryEntry A class to define gallery entries and their table.
Class GalleryEntryModel The data required for each entry in the gallery.
Class ImageViewerData The data that defines displaying an image.
Class OFMGalleryBase Create a base class for all ofm gallery databases.
Class OFMGalleryDBEngine A database engine that can be subclassed for different Gallery providers.
Constant GALLERY_DB_NAME Undocumented
Constant GALLERY_DB_SCHEMA_VERSION Undocumented
Constant LOGGER Undocumented
Variable ViewerData Undocumented
Variable ViewerDataModels Undocumented
Function _new_gallery_db_engine Create a new database engine with the correct schema for the Gallery.
GALLERY_DB_NAME: str = (source)

Undocumented

Value
'gallery.db'
GALLERY_DB_SCHEMA_VERSION: int = (source)

Undocumented

Value
1

Undocumented

Value
logging.getLogger(__name__)
ViewerData = (source)

Undocumented

ViewerDataModels = (source)

Undocumented

def _new_gallery_db_engine(db_file: str) -> sa.Engine: (source)

Create a new database engine with the correct schema for the Gallery.

Note that no migration yet exists as this is on the first schema.