]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
✨ Show a clear error on attempt to include router into itself (#14258)
authorJavier Sánchez Castro <72013291+JavierSanchezCastro@users.noreply.github.com>
Tue, 10 Feb 2026 10:58:40 +0000 (11:58 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Feb 2026 10:58:40 +0000 (11:58 +0100)
commitdf950111fe97c8040e49f4600d6f563456bbdba6
treefe8095788ecf22121e19894659e33790aa42a015
parent363aced75a26a5247855ea41b2bee53481be4d52
✨ Show a clear error on attempt to include router into itself (#14258)

Co-authored-by: Javier Sánchez <javier.sanchez.castro@bookline.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
fastapi/routing.py
tests/test_router_circular_import.py [new file with mode: 0644]