sjyangkevin commented on code in PR #67449:
URL: https://github.com/apache/airflow/pull/67449#discussion_r3370033589
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py:
##########
@@ -232,31 +234,30 @@ def execute_async(
# try and remove it from the QUEUED state while we process it
self.last_handled[key] = time.time()
- def queue_workload(self, workload: workloads.All, session: Session | None)
-> None:
- from airflow.executors import workloads
-
- if not isinstance(workload, workloads.ExecuteTask):
- raise RuntimeError(f"{type(self)} cannot handle workloads of type
{type(workload)}")
- ti = workload.ti
- self.queued_tasks[ti.key] = workload
Review Comment:
Added back the queue_workload and guard with `AIRFLOW_V_3_3_PLUS` for
handling `ExecuteCallback`.
--
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]