potiuk commented on code in PR #32604:
URL: https://github.com/apache/airflow/pull/32604#discussion_r1268155992
##########
airflow/providers/celery/executors/celery_kubernetes_executor.py:
##########
@@ -55,14 +55,21 @@ class CeleryKubernetesExecutor(LoggingMixin):
callback_sink: BaseCallbackSink | None = None
- KUBERNETES_QUEUE = conf.get("celery_kubernetes_executor",
"kubernetes_queue")
+ @property
Review Comment:
Actualy it was possible to do without any problems. The method inside
config_property actually initializes providers manager and reads the
configuration before it cached, so we are absolutely ok with turning that one
into cached_property.
Fixed.
--
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]