20 Commits (d1ceaa7a73ada62c46a81516a75d8cc65ff14b1c)

Author SHA1 Message Date
Nir Schulman c4860bfb7c Added tests for dependency overrides and websockets. Fixed bugs related to the deprecated startup and shutdown events. Fixed bugs related to dependency duplcatation within the same router scope. Made more specific dependency related exceptions. Fixed some linting and mypy related issues. 9 months ago
Aleksei Kotenko 9c80842cea
♻️ Update mypy (#11049) 1 year ago
Sebastián Ramírez 05ca41cfd1
Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 2 years ago
Sebastián Ramírez 5e8f7f13d7
Add `ResponseValidationError` printable details, to show up in server error logs (#10078) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez 6dd8e567cc
🐛 Fix `HTTPException` header type annotations (#9648) 2 years ago
Sebastián Ramírez d537ee93d7
Re-export Starlette's `WebSocketException` and add it to docs (#5629) 3 years ago
Marcelo Trylesinski f396912043
⬆ Upgrade Starlette from 0.19.0 to 0.19.1 (#4819) 3 years ago
Marcelo Trylesinski 86fa3cb24f
⬆ Upgrade Starlette from 0.18.0 to 0.19.0 (#4488) 3 years ago
Sebastián Ramírez 4d208b2b90
🎨 Add newly required type annotations for mypy (#2882) 4 years ago
Sebastián Ramírez e1758d107e
⬆ Require Pydantic > 1.0 (#1862) 5 years ago
Nima Mashhadi M. Reza 3223de5598
🎨 Add typing.Optional to variables that accept None as value (#1731) 5 years ago
Patrick McKenna afad59dfbb
🐛 Admit valid types for Pydantic fields as responses models (#1017) 6 years ago
Aviram Hassan 5db99a27cf add body to RequestValidationError for easier debugging (#853) 6 years ago
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646) 6 years ago
Kamal Gill 4642f63a1e 🐛 Use proper import for Request -- fixes #492 (#493) 6 years ago
dmontagu fc7d123347 ⬆️ Upgrade support to Pydantic version 0.32.2 (breaking change) (#463) 6 years ago
Sebastián Ramírez 3ed112e8a9
🐛 Fix type declaration of HTTPException (#279) 6 years ago
Sebastián Ramírez 62af6e0eeb
Separate Pydantic's ValidationError handler and improve docs for error handling (#273) 6 years ago
Sebastián Ramírez 8772e2f2ee
Add HTTPException with custom headers (#35) 7 years ago