uranusjr commented on code in PR #68713:
URL: https://github.com/apache/airflow/pull/68713#discussion_r3490531595
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py:
##########
@@ -225,8 +279,35 @@ def execute_async(
pod_template_file = executor_config.get("pod_template_file", None)
else:
pod_template_file = None
+
+ coordinator_kube_image: str | None = None
+ if (coordinator_extra := self._coordinator_extra(queue)) is not None:
+ # A coordinator-level pod_template wins (e.g. a JVM image for
JavaCoordinator)
+ if (
+ coordinator_pod_template_file :=
self._coordinator_pod_template_file(coordinator_extra)
+ ) is not None:
Review Comment:
Better to split the `=` into a separate statement since the line is so long
it breaks anyway
--
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]