pierrejeambrun commented on code in PR #52972:
URL: https://github.com/apache/airflow/pull/52972#discussion_r2189491154


##########
airflow-core/src/airflow/api_fastapi/app.py:
##########
@@ -93,6 +94,7 @@ def create_app(apps: str = "all") -> FastAPI:
         init_plugins(app)
         init_auth_manager(app)
         init_flask_plugins(app)
+        init_ui_plugins(app)

Review Comment:
   Init UI plugins at api server start time, this way the warning is displayed 
early. (without this it would be displayed when accessing the first time the 
plugins endpoint)
   
   Keep the factory pattern.



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