You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/03/09 23:39:28 UTC

[airflow] branch v1-10-test updated (740ec71 -> bfa85d8)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a change to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git.


 discard 740ec71  Make rbac_app's db.session use the same timezone with @provide_session (#14025)
     add 577c82d  Fill DagBag from dag_folder setting for upgrade rules (#14588)
     add c990931  Fix webserver exiting when gunicorn master crashes (#13470)
     add e5b8ebf  Release upgrade_check 1.3.0
     new bfa85d8  Make rbac_app's db.session use the same timezone with @provide_session (#14025)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (740ec71)
            \
             N -- N -- N   refs/heads/v1-10-test (bfa85d8)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 airflow/bin/cli.py                                      |  6 +++---
 airflow/upgrade/README.md                               | 10 ++++++++++
 airflow/upgrade/rules/custom_operator_metaclass_rule.py |  3 ++-
 airflow/upgrade/version.py                              |  2 +-
 4 files changed, 16 insertions(+), 5 deletions(-)


[airflow] 01/01: Make rbac_app's db.session use the same timezone with @provide_session (#14025)

Posted by ka...@apache.org.
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 bfa85d85ba2bf8c4937b01fde35111c73914fa05
Author: zlhsmfj <zl...@gmail.com>
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()