uranusjr commented on code in PR #29929:
URL: https://github.com/apache/airflow/pull/29929#discussion_r1197442386
##########
airflow/executors/kubernetes_executor.py:
##########
@@ -68,6 +72,8 @@
ALL_NAMESPACES = "ALL_NAMESPACES"
POD_EXECUTOR_DONE_KEY = "airflow_executor_done"
+logs_task_metadata = conf.get("kubernetes_executor", "logs_task_metadata",
fallback="False") == "True"
Review Comment:
The general direction is to reduce _import time_ effects. If you must make
it somewhat global, wrap the call in a function and use `@cache`.
--
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]