11 Commits (4f8157588e47f909276e0474f6926740a2e55b9c)

Author SHA1 Message Date
Abdullah Hashim 4f8157588e
🐛 Preserve traceback when exception is raised in sync dependency with `yield` (#5823) 4 months ago
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
ElliottLarsen 5e59acd35b
✏️ Fix typos in comments on internal code in `fastapi/concurrency.py` and `fastapi/routing.py` (#9590) 2 years ago
Ofek Lev 4267bd1f4f
🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240) 3 years ago
Adrian Garcia Badaracco f8460a8b54
🐛 Allow exit code for dependencies with `yield` to always execute, by removing capacity limiter for them, to e.g. allow closing DB connections without deadlocks (#5122) 3 years ago
Marcelo Trylesinski 33d61430cf
⬆ Upgrade Starlette from 0.17.1 to 0.18.0 (#4483) 3 years ago
Thomas Grainger 11d0a08acd
Add support for Trio via AnyIO (#3372) 4 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
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646) 5 years ago
Sebastián Ramírez 3f9f4a0f8f
Add dependencies with yield (used as context managers) (#595) 6 years ago