Skip to main content

init

Initializes the database by creating a new session with the engine and calling the init_db function.

def init() - > None

Initializes the database by establishing a session and executing the database schema setup.

Returns

TypeDescription
NoneNothing is returned; the function performs database initialization as a side effect.