Commit Graph

5 Commits

Author SHA1 Message Date
pre-commit-ci-lite[bot] 99dea9aeb9
🎨 Auto format 2026-02-06 14:34:09 +00:00
Alan Potter e8381e94fb Add `default_dependency_scope` parameter to `FastAPI`
Add default_dependency_scope to allow the user to specify a default for
dependencies declared without a scope.
2026-02-06 09:33:03 -05:00
Sebastián Ramírez 1c4fc96c91
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 2025-12-17 21:25:59 +00:00
luzzodev 282f372eda
🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies (#14301) 2025-11-08 22:43:30 +01:00
Sebastián Ramírez ac438b9934
Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-03 11:12:49 +01:00