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_r382734250
 
 

 ##########
 File path: tests/operators/test_latest_only_operator.py
 ##########
 @@ -21,8 +21,8 @@
 
 from freezegun import freeze_time
 
-from airflow import DAG, settings
 from airflow.models import DagRun, TaskInstance
+from airflow.models.dag import DAG, settings
 
 Review comment:
   ```suggestion
   from airflow.models.dag import DAG
   from airflow import settings
   ```

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