5 Commits (8c94e97c89f617ad808d8ca24da6e52a238bcee9)

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