pir_pipeline.dashboard.db.close_db

pir_pipeline.dashboard.db.close_db(e=None)

Release the per-request database reference.

Runs on every app-context teardown but intentionally does NOT dispose the shared engine, which is reused across requests. The pooled engine lives for the lifetime of the application; use dispose_db() to tear it down.