database package#

Submodules#

database.database module#

Database module

This module contains database definitions and initialisations for the application.

database.database.get_db()[source]#

Provides a session object to the API endpoints. This session is tied to the current request context.

database.database.init_db()[source]#

Initialise the database and fill in any missing tables. :return: None

Module contents#