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.
essentiaMarco
9fb0fc8120
refactor(lifespan): align with reviewer feedback, add coverage tests
- Fix _collect_lifespan_dependants: handle route-level flat.computed_scope
and iterate flat.dependencies (was incorrectly iterating flat)
- No pragmas on noop_receive/noop_send; covered by test that uses
Request.receive/send in a lifespan dependency
- Add test_collect_lifespan_dependants_route_level_scope for route-level
lifespan branch
- Add test_lifespan_dependency_synthetic_request_receive_send for
noop_receive/noop_send coverage
- Add test_lifespan_dependency_nested for dependency_cache hit (utils)
- Add test_lifespan_dependency_cannot_depend_on_request_scope and
test_lifespan_dependency_not_initialized_raises for edge cases
Made-with: Cursor
3 months ago
..
.agents/skills/ fastapi
📝 Update Skill, optimize context, trim and refactor into references (#15031)
3 months ago
_compat
✨ Serialize JSON response with Pydantic (in Rust), when there's a Pydantic return type or response model (#14962)
3 months ago
dependencies
✨ Add support for streaming JSON Lines and binary data with `yield` (#15022)
3 months ago
middleware
📝 Use `WSGIMiddleware` from `a2wsgi` instead of deprecated `fastapi.middleware.wsgi.WSGIMiddleware` (#14756)
4 months ago
openapi
✨ Add support for Server Sent Events (#15030)
3 months ago
security
🎨 Update internal types for Python 3.10 (#14898)
4 months ago
__init__.py
🔖 Release version 0.135.1
3 months ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
applications.py
♻️ Refactor logic to handle OpenAPI and Swagger UI escaping data (#14986)
3 months ago
background.py
🎨 Update internal types for Python 3.10 (#14898)
4 months ago
cli.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
concurrency.py
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
6 months ago
datastructures.py
🐛 Fix JSON Schema for files, use `contentMediaType` instead of `format: binary` (#14953)
4 months ago
encoders.py
🎨 Update internal types for Python 3.10 (#14898)
4 months 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
📝 Fix doctrings for `max_digits` and `decimal_places` (#14944)
3 months ago
params.py
🎨 Update internal types for Python 3.10 (#14898)
4 months 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
✨ Add support for Server Sent Events (#15030)
3 months ago
routing.py
refactor(lifespan): align with reviewer feedback, add coverage tests
3 months 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
🎨 Update internal types for Python 3.10 (#14898)
4 months ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
4 years ago