dstandish opened a new pull request #20529:
URL: https://github.com/apache/airflow/pull/20529


   These utilities exist to patch airflow config. In some cases, such as the 
default timezone, importing a module such a airflow.settings resolves the 
airflow config before it can be patched by the context manager.  This change 
imports locally, as late as possible, to reduce the likelihood of problems like 
this.  In the case of the `env_vars` patcher, we no longer import airflow at 
all, so using this patcher will always work.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to