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


##########
providers/amazon/src/airflow/providers/amazon/aws/executors/aws_lambda/lambda_executor.py:
##########
@@ -224,7 +209,12 @@ def _process_workloads(self, workloads: 
Sequence[workloads.All]) -> None:
             queue = w.ti.queue
             executor_config = w.ti.executor_config or {}
 
-            del self.queued_tasks[key]
+            if AIRFLOW_V_3_3_PLUS:
+                from airflow.executors.workloads.base import WorkloadType

Review Comment:
   Moved under a single `if AIRFLOW_V_3_3_PLUS:` guard in lambda, batch, ecs, 
and k8s. 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