pir_pipeline.dashboard.dbΒΆ

Manage database connections

Functions

close_db([e])

Release the per-request database reference.

dispose_db([app])

Dispose of the shared SQLAlchemy engine for app.

get_db()

Return a shared SQLAlchemyUtils object.

init_app(app)

Add close_db to the operations performed when tearing down