5 Commits (6384f730f7e672d4cea8c951dfa9c9e8bb3481f9)

Author SHA1 Message Date
Sebastián Ramírez a4aa79e0b4
Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 1 year ago
Sebastián Ramírez 17e49bc9f7
♻️ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available (#9657) 2 years ago
Sebastián Ramírez 9d56a3cb59
Update internal `AsyncExitStack` to fix context for dependencies with `yield` (#4575) 3 years ago
Sebastián Ramírez fdb6c9ccc5
Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 4 years ago
Sebastián Ramírez 0ac9b3ee5c
Re-export utils from Starlette (#1064) 5 years ago