APIRouter.include_router method should catch when its own object is passed #14251
-
First Check
Commit to Help
Example Codefrom fastapi import APIRouter
router = APIRouter(prefix='/api')
router.include_router(router) # Locks programDescriptionPassing a router's own object into the This should be resolved by checking Operating SystemWindows, macOS Operating System DetailsNo response FastAPI Version0.115.6 Pydantic Version2.10.3 Python Version3.13.3 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I opened this PR time ago: #11425 |
Beta Was this translation helpful? Give feedback.
I opened this PR time ago: #11425
And I forgot to create another one bc it was closed automatically bc I delete the repo in my profile
Opening new one