potiuk commented on code in PR #34782:
URL: https://github.com/apache/airflow/pull/34782#discussion_r1356050515
##########
airflow/providers/celery/executors/celery_executor_utils.py:
##########
@@ -60,16 +60,26 @@
TaskInstanceInCelery = Tuple[TaskInstanceKey, CommandType, Optional[str],
Task]
+
+def _get_celery_configuration():
Review Comment:
As @uranusjr proposed, can you extract `_get_celery_app` method instead.
Also instead of running provider configuration manually, just decorate the
method with `@provider_configuration_loaded` decorator similarly to `worker`
celery command.
--
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]