You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sebastián Ramírez
cfb00b2119
♻️ Refactor internals for test coverage and performance ( #9691 )
* ♻️ Tweak import of Annotated from typing_extensions, they are installed anyway
* ♻️ Refactor _compat to define functions for Pydantic v1 or v2 once instead of checking inside
* ✅ Add test for UploadFile for Pydantic v2
* ♻️ Refactor types and remove logic for impossible cases
* ✅ Add missing tests from test refactor for path params
* ✅ Add tests for new decimal encoder
* 💡 Add TODO comment for decimals in encoders
* 🔥 Remove unneeded dummy function
* 🔥 Remove section of code in field_annotation_is_scalar covered by sub-call to field_annotation_is_complex
* ♻️ Refactor and tweak variables and types in _compat
* ✅ Add tests for corner cases and compat with Pydantic v1 and v2
* ♻️ Refactor type annotations
2 years ago
..
dependencies
♻️ Refactor internals for test coverage and performance (#9691)
2 years ago
middleware
♻️ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available (#9657)
2 years ago
openapi
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
security
♻️ Refactor internals for test coverage and performance (#9691)
2 years ago
__init__.py
🔖 Release version 0.97.0
2 years ago
_compat.py
♻️ Refactor internals for test coverage and performance (#9691)
2 years ago
applications.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
background.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
4 years ago
concurrency.py
🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240)
3 years ago
datastructures.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
encoders.py
♻️ Refactor internals for test coverage and performance (#9691)
2 years ago
exception_handlers.py
✨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it) (#6030)
2 years ago
exceptions.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
logger.py
🔊 Refactor logging (#781)
5 years ago
param_functions.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
params.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
py.typed
✨ add py.typed to ship typing information (#209)
6 years ago
requests.py
⬆ Require Pydantic > 1.0 (#1862)
5 years ago
responses.py
♻ Remove `media_type` from `ORJSONResponse` as it's inherited from the parent class (#5805)
2 years ago
routing.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
staticfiles.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
4 years ago
templating.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
4 years ago
testclient.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
4 years ago
types.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
utils.py
✨ Pydantic v2 migration, initial implementation (#9500)
2 years ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
3 years ago