o-nikolas commented on code in PR #30727:
URL: https://github.com/apache/airflow/pull/30727#discussion_r1181954784
##########
airflow/executors/kubernetes_executor.py:
##########
@@ -621,6 +223,8 @@ def execute_async(
self.log.info("Add task %s with command %s", key, command)
try:
+ from airflow.kubernetes.pod_generator import PodGenerator
Review Comment:
Sure, I tried to generally go with the philosophy of moving the imports as
close to the usage as possible. Though, I can see/understand folks having lots
of different personal preferences and pros/cons. Moving to the top of the
method in this case is fine with me as long as we settle with that.
--
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]