nuclearpinguin commented on a change in pull request #7456: [AIRFLOW-6817] 
[WIP]  - Move airflow __init__.py imports to sub-packages
URL: https://github.com/apache/airflow/pull/7456#discussion_r382733921
 
 

 ##########
 File path: tests/operators/test_bash.py
 ##########
 @@ -24,7 +24,7 @@
 
 import mock
 
-from airflow import DAG, AirflowException
+from airflow.models.dag import DAG, AirflowException
 
 Review comment:
   ```suggestion
   from airflow.models.dag import DAG
   from airflow.exceptions import AirflowException
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to