SemanticDiff fastapi
✨ Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks
#10831
Merged

✨ Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks #10831

tiangolo
tiangolo ♻️ Refactor dependency AsyncExitStack logic, exit dependencies after …
65c6c668
tiangolo ✅ Update tests for dependencies exit, check they are finished before …
dfb537a8
tiangolo 🔥 Remove ExitAsyncStackMiddleware as it's no longer needed
7225579f
tiangolo 📝 Update docs for dependencies with yield
6524d0fe
tiangolo 📝 Update release notes
8e9f7cd3
tiangolo 📝 Add source examples for new dependencies with yield raising
ed831a2f
tiangolo ✅ Add tests for new dependencies raising after yield
01b1fe02
tiangolo tiangolo added feature
tiangolo
tiangolo 📝 Update release notes
c239211d
tiangolo
tiangolo tiangolo marked this pull request as ready for review 270 days ago
tiangolo tiangolo merged a4aa79e0 into master 270 days ago
tiangolo tiangolo deleted the dependencies-refactor-end-before-response branch 270 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone