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.
valbort
40e2198b15
⚡ Cache pydantic.v1 import to minimize compatibility overhead
Moving the import of pydantic.v1 and the warnings filter to the module level avoids executing them on every single object serialization in jsonable_encoder, significantly boosting performance for Pydantic v1 backward compatibility checks.
2 weeks ago
..
.agents/skills/ fastapi
📝 Update Skill, optimize context, trim and refactor into references (#15031)
3 months ago
_compat
⚡ Cache pydantic.v1 import to minimize compatibility overhead
2 weeks ago
dependencies
✨ Optimize request parameter validation via synthetic models
2 weeks ago
middleware
📝 Use `WSGIMiddleware` from `a2wsgi` instead of deprecated `fastapi.middleware.wsgi.WSGIMiddleware` (#14756)
4 months ago
openapi
⬆ Bump ty from 0.0.21 to 0.0.34 (#15443)
4 weeks ago
security
✏️ Fix typo for `client_secret` in OAuth2 form docstrings (#14946)
2 months ago
__init__.py
🔖 Release version 0.136.1
1 month ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
applications.py
⬆ Bump ty from 0.0.21 to 0.0.34 (#15443)
4 weeks ago
background.py
🎨 Update internal types for Python 3.10 (#14898)
4 months ago
cli.py
⬆ Bump ty from 0.0.21 to 0.0.34 (#15443)
4 weeks ago
concurrency.py
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
6 months ago
datastructures.py
👷 Add `ty` to precommit (#15091)
3 months ago
encoders.py
✨ Optimize response serialization using Pydantic v2 TypeAdapter
2 weeks ago
exception_handlers.py
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077)
9 months ago
exceptions.py
🎨 Update internal types for Python 3.10 (#14898)
4 months ago
logger.py
🔊 Refactor logging (#781)
7 years ago
param_functions.py
👷 Add `ty` to precommit (#15091)
3 months ago
params.py
⬆ Bump ty from 0.0.21 to 0.0.34 (#15443)
4 weeks ago
py.typed
✨ add py.typed to ship typing information (#209)
7 years ago
requests.py
⬆ Require Pydantic > 1.0 (#1862)
6 years ago
responses.py
⬆ Bump ty from 0.0.21 to 0.0.34 (#15443)
4 weeks ago
routing.py
✨ Optimize response serialization using Pydantic v2 TypeAdapter
2 weeks ago
sse.py
✨ Add support for Server Sent Events (#15030)
3 months ago
staticfiles.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
templating.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
testclient.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
types.py
🎨 Update internal types for Python 3.10 (#14898)
4 months ago
utils.py
Optimize JSON parsing by using Pydantic V2 validate_json directly from request body bytes. - Add FastAPIOptimizedJsonBytes helper to mark bytes for optimized parsing. - Implement validate_json in ModelField to leverage pydantic-core's native JSON parsing. - Update get_request_handler to pass raw body bytes wrapped in FastAPIOptimizedJsonBytes when applicable. - Update _validate_value_with_model_field to use validate_json when receiving optimized bytes, avoiding redundant Python dict conversion.
3 weeks ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
4 years ago