ashb commented on code in PR #48678:
URL: https://github.com/apache/airflow/pull/48678#discussion_r2026554205


##########
airflow-core/src/airflow/api_fastapi/core_api/app.py:
##########
@@ -106,6 +106,19 @@ def init_plugins(app: FastAPI) -> None:
         log.debug("Adding subapplication %s under prefix %s", name, url_prefix)
         app.mount(url_prefix, subapp)
 
+    for middleware_dict in cast("list", 
plugins_manager.fastapi_root_middlewares):

Review Comment:
   I know this is currently the root app, but it feels odd to install these 
here, rather than in `api_fastapi/app.py`.
   
   Could we move it?



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