You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/22 14:46:28 UTC

[GitHub] [airflow] BasPH commented on issue #7456: [AIRFLOW-6817] - Move airflow __init__.py imports to sub-packages

BasPH commented on issue #7456: [AIRFLOW-6817] - Move airflow __init__.py imports to sub-packages
URL: https://github.com/apache/airflow/pull/7456#issuecomment-589962857
 
 
   I like the change but also with @ashb here, it's going to break a lot of workflows which import `from airflow import DAG`. We should at least show deprecation warnings.
   
   @ashb I don't understand your question? I know of the magic `__import__` function for changing import behaviour, but don't know if it can be applied to your question?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services