potiuk commented on a change in pull request #6601: [AIRFLOW-6010] Remove 
cyclic imports and pylint disables
URL: https://github.com/apache/airflow/pull/6601#discussion_r348556704
 
 

 ##########
 File path: airflow/models/dag.py
 ##########
 @@ -55,9 +55,6 @@
 from airflow.utils.sqlalchemy import Interval, UtcDateTime
 from airflow.utils.state import State
 
-if TYPE_CHECKING:
 
 Review comment:
   Well - it will be loaded sooner or later anyway - DAG won't run without 
BaseOperator loaded. So it's just one extra dictionary lookup here.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to