atul-astronomer opened a new issue, #55140: URL: https://github.com/apache/airflow/issues/55140
### Apache Airflow version main (development) ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? User is able to register multiple FastAPI plugins using same name On UI, only 1 plugin is visible <img width="1728" height="1117" alt="Image" src="https://github.com/user-attachments/assets/1c61ea8f-b9a3-4bb7-86f8-b745500cd1f2" /> ### What you think should happen instead? _No response_ ### How to reproduce Register 2 FastAPI plugins using same name and see no error is coming but on UI, only 1 plugin is listed ```python from airflow.plugins_manager import AirflowPlugin from fastapi import FastAPI my_app = FastAPI() @my_app.get("/ping") async def ping(): return {"message": "pong"} class MyFastAPIPlugin(AirflowPlugin): name = "my_fastapi_plugin" fastapi_apps = [ { "name": "example_api", "app": my_app, "url_prefix": "/example" } ] @my_app.get("/hello") async def ping(): return {"message": "Hello"} class MyFastAPIPlugin2(AirflowPlugin): name = "my_fastapi_plugin" fastapi_apps = [ { "name": "example_api", "app": my_app, "url_prefix": "/example" } ] ``` ### Operating System Linux ### Versions of Apache Airflow Providers _No response_ ### Deployment Other ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
