]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
✨ Update internal `AsyncExitStack` to fix context for dependencies with `yield` ...
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 17 Feb 2022 12:40:12 +0000 (13:40 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Feb 2022 12:40:12 +0000 (13:40 +0100)
commit9d56a3cb59d59896bc38293b9fa54ae69b7cd36c
tree33468ef4bb61b7a782ef6e658f8ec83eab43aaab
parent78b07cb809e97f400e196ff3d89862b9d5bd5dc2
✨ Update internal `AsyncExitStack` to fix context for dependencies with `yield` (#4575)
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
fastapi/applications.py
fastapi/middleware/asyncexitstack.py [new file with mode: 0644]
tests/test_dependency_contextmanager.py
tests/test_dependency_contextvars.py [new file with mode: 0644]
tests/test_dependency_normal_exceptions.py [new file with mode: 0644]
tests/test_exception_handlers.py