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
19a2c3bb54
✨ Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients ( #10011 )
* ✨ Enable Pydantic's serialization mode for responses
* ✅ Update tests with new Pydantic v2 serialization mode
* ✅ Add a test for Pydantic v2's computed_field
2 years ago
..
dependencies
✨ Add support for Pydantic v2 (#9816)
2 years ago
middleware
♻️ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available (#9657)
2 years ago
openapi
✨ Add support for Pydantic v2 (#9816)
2 years ago
security
✨ Add support for Pydantic v2 (#9816)
2 years ago
__init__.py
🔖 Release version 0.100.1
2 years ago
_compat.py
🐛 Replace `MultHostUrl` to `AnyUrl` for compatibility with older versions of Pydantic v1 (#9852)
2 years ago
applications.py
✨ Add support for Pydantic v2 (#9816)
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
✨ Add support for Pydantic v2 (#9816)
2 years ago
encoders.py
🐛 Replace `MultHostUrl` to `AnyUrl` for compatibility with older versions of Pydantic v1 (#9852)
2 years ago
exception_handlers.py
✨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it) (#6030)
2 years ago
exceptions.py
✨ Add support for Pydantic v2 (#9816)
2 years ago
logger.py
🔊 Refactor logging (#781)
5 years ago
param_functions.py
✨ Add support for Pydantic v2 (#9816)
2 years ago
params.py
✨ Add support for Pydantic v2 (#9816)
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
✨ Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients (#10011)
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
✨ Add support for Pydantic v2 (#9816)
2 years ago
utils.py
✨ Add support for Pydantic v2 (#9816)
2 years ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
3 years ago