pankajkoti commented on code in PR #31204:
URL: https://github.com/apache/airflow/pull/31204#discussion_r1191061365


##########
airflow/executors/kubernetes_executor.py:
##########
@@ -46,14 +46,14 @@
 from airflow.kubernetes.kube_config import KubeConfig
 from airflow.kubernetes.kubernetes_helper_functions import annotations_to_key, 
create_pod_id
 from airflow.kubernetes.pod_generator import PodGenerator
-from airflow.models.taskinstance import TaskInstance

Review Comment:
   Do we need a local import of this in the 
[_change_state](https://github.com/apache/airflow/blob/d4dc73416a652a895ada6484d67879a1aad5f0bb/airflow/executors/kubernetes_executor.py#L746)
 method for the 
[line](https://github.com/apache/airflow/blob/d4dc73416a652a895ada6484d67879a1aad5f0bb/airflow/executors/kubernetes_executor.py#L776)
 ?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to