ashb commented on code in PR #48678:
URL: https://github.com/apache/airflow/pull/48678#discussion_r2026728062
##########
airflow-core/src/airflow/plugins_manager.py:
##########
@@ -406,21 +409,24 @@ def initialize_fastapi_plugins():
"""Collect extension points for the API."""
global plugins
global fastapi_apps
+ global fastapi_root_middlewares
- if fastapi_apps:
+ if fastapi_apps and fastapi_root_middlewares:
Review Comment:
```suggestion
if fastapi_apps or fastapi_root_middlewares:
```
I think?
--
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]