21 Commits (74cf1c97025b3afe2c77baeba18620ac2b496d03)

Author SHA1 Message Date
s111d f43fc82267
✏️ Fix typos in `docs/en/docs/alternatives.md` and `docs/en/docs/tutorial/dependencies/index.md` (#10906) 2 years ago
Dmitry Volodin f226040d28
✏️ Fix typos in `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#10834) 2 years 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) 2 years ago
Sebastián Ramírez 2ba7586ff3
⬆️ Drop support for Python 3.7, require Python 3.8 or above (#10442) 2 years ago
Ragul K 4e93f8e0bc
✏️ Fix typo in `docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md` (#10172) 2 years ago
Sebastián Ramírez 51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file (#9737) 2 years ago
Geoff Dworkin 8df86309c8
📝 Add notification message warning about old versions of FastAPI not supporting `Annotated` (#9298) 2 years ago
Sebastián Ramírez 0bc87ec77c
📝 Tweak tip recommending `Annotated` in docs (#9270) 2 years ago
Sebastián Ramírez 69673548bc
📝 Update order of examples, latest Python version first, and simplify version tab names (#9269) 2 years ago
Sebastián Ramírez 9eaed2eb37
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268) 2 years ago
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 3 years ago
Sebastián Ramírez 3d0f130ff3
🔧 Add pre-commit with first config and first formatting pass (#4888) 3 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 d08a062ee2
Add docs and tests for Python 3.9 and Python 3.10 (#3712) 4 years ago
weekwith.me 0a61a6c865
📝 Update `docs/tutorial/dependencies/classes-as-dependencies`: Add type of query parameters in a description of `Classes as dependencies` (#4015) 4 years ago
Thomas Grainger 11d0a08acd
Add support for Trio via AnyIO (#3372) 4 years ago
Sebastián Ramírez 313bbe802f
Add support for shared/top-level parameters (dependencies, tags, etc) (#2434) 5 years ago
Brock Friedrich be669059fb
🎨 Simplify docs hl_lines ranges and standardize 2 spaces between each range (#1863) 5 years ago
Nils Lindemann 9840d9e59d
✏ Fix typos in docs for dependencies (#1675) 5 years ago
Sebastián Ramírez 1f01ce9615
📝 Use Optional in docs (#1644) 5 years ago
Sebastián Ramírez 6205935323
Add support for docs translations (#1168) 5 years ago