anishgirianish commented on code in PR #63491:
URL: https://github.com/apache/airflow/pull/63491#discussion_r3179119479


##########
airflow-core/src/airflow/executors/base_executor.py:
##########
@@ -309,10 +325,11 @@ def has_task(self, task_instance: TaskInstance) -> bool:
         :param task_instance: TaskInstance
         :return: True if the task is known to this executor
         """
+        task_queue = self.executor_queues[WorkloadType.EXECUTE_TASK]

Review Comment:
   Switched read paths to .get(..., {}) in has_task and celery._send_workloads; 
k8s only uses del/.pop(). thank you



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