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_r347165174
 
 

 ##########
 File path: airflow/executors/kubernetes_executor.py
 ##########
 @@ -628,6 +629,7 @@ def clear_not_launched_queued_tasks(self, session=None):
         proper support
         for State.LAUNCHED
         """
+        from airflow.models import TaskInstance
 
 Review comment:
   Import of model's Task Instance caused another cyclic import when we run 
full pylint serial check.

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