hussein-awala commented on code in PR #29929:
URL: https://github.com/apache/airflow/pull/29929#discussion_r1197508917


##########
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:
   @uranusjr what about:
   ```python
       @cached_property
       def logs_task_metadata(self) -> bool:
           return conf.getboolean("kubernetes_executor", "logs_task_metadata", 
fallback=False)
   ```



-- 
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