Register database functions with the Flask app. This is called by the application factory.
(app)
| 49 | |
| 50 | |
| 51 | def init_app(app): |
| 52 | """Register database functions with the Flask app. This is called by |
| 53 | the application factory. |
| 54 | """ |
| 55 | app.teardown_appcontext(close_db) |
| 56 | app.cli.add_command(init_db_command) |
nothing calls this directly
no test coverage detected