This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 740ec71fb8c9e4198ba6800a8a1cfbb3279d3200 Author: zlhsmfj <[email protected]> AuthorDate: Thu Feb 4 19:09:51 2021 +0800 Make rbac_app's db.session use the same timezone with @provide_session (#14025) --- airflow/www_rbac/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airflow/www_rbac/app.py b/airflow/www_rbac/app.py index 49ffaf6..18a355a 100644 --- a/airflow/www_rbac/app.py +++ b/airflow/www_rbac/app.py @@ -83,6 +83,8 @@ def create_app(config=None, session=None, testing=False, app_name="Airflow"): csrf.init_app(app) db = SQLA(app) + from airflow.utils.sqlalchemy import setup_event_handlers + setup_event_handlers(db.session.get_bind()) from airflow import api api.load_auth()
