airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle Executors class to avoid cyclic imports
Date Tue, 03 Dec 2019 13:41:45 GMT
potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle Executors class
to avoid cyclic imports
URL: https://github.com/apache/airflow/pull/6596#discussion_r353183617
 
 

 ##########
 File path: UPDATING.md
 ##########
 @@ -41,6 +41,30 @@ assists users migrating to a new version.
 
 ## Airflow Master
 
+### Changes to airflow package imports
+
+Importing `executor`, `hooks`, `macros`, `operators`, `sensors` packages no
+longer works indirectly via airflow package. For example this will not work:
+
+```python
+import airflow
+
+operator = airflow.operators.BashOperator(...)
 
 Review comment:
   Ah yeah. Indeed. Removed it.

----------------------------------------------------------------
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

Mime
View raw message