anishgirianish commented on code in PR #63491:
URL: https://github.com/apache/airflow/pull/63491#discussion_r3179117749
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/local_kubernetes_executor.py:
##########
@@ -98,7 +98,11 @@ def _task_event_logs(self, value):
@property
def queued_tasks(self) -> dict[TaskInstanceKey, Any]:
"""Return queued tasks from local and kubernetes executor."""
- return self.local_executor.queued_tasks |
self.kubernetes_executor.queued_tasks
+ queued_tasks = self.local_executor.queued_tasks.copy()
+ # TODO: fix this, there is misalignment between the types of
queued_tasks so it is likely wrong
Review Comment:
Dropped the hybrid queued_tasks entirely; updated the corresponding unit
test. thanks
--
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]