fastapi/fastapi
Yurii Karabas d0573f5713
Add support for function return type annotations to declare the `response_model` (#1436)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-01-07 17:45:48 +04:00
..
dependencies Add support for function return type annotations to declare the `response_model` (#1436) 2023-01-07 17:45:48 +04:00
middleware Update internal `AsyncExitStack` to fix context for dependencies with `yield` (#4575) 2022-02-17 13:40:12 +01:00
openapi 🐛 Make sure a parameter defined as required is kept required in OpenAPI even if defined as optional in another dependency (#4319) 2022-09-03 17:12:41 +00:00
security ⬆ Upgrade Starlette to `0.21.0`, including the new [`TestClient` based on HTTPX](https://github.com/encode/starlette/releases/tag/0.21.0) (#5471) 2022-11-13 15:26:09 +01:00
__init__.py 🔖 Release version 0.88.0 2022-11-27 15:50:32 +01:00
applications.py Add support for function return type annotations to declare the `response_model` (#1436) 2023-01-07 17:45:48 +04:00
background.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
concurrency.py 🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240) 2022-09-14 20:31:19 +02:00
datastructures.py Add support for declaring `UploadFile` parameters without explicit `File()` (#4469) 2022-01-23 19:14:13 +00:00
encoders.py ⬆️ Upgrade Ruff (#5698) 2022-11-27 14:59:32 +01:00
exception_handlers.py 🐛Fix `RuntimeError` raised when `HTTPException` has a status code with no content (#5365) 2022-09-11 16:13:36 +00:00
exceptions.py Re-export Starlette's `WebSocketException` and add it to docs (#5629) 2022-11-13 17:10:54 +01:00
logger.py 🔊 Refactor logging (#781) 2019-12-09 20:02:44 +01:00
param_functions.py Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906) 2022-05-13 18:38:22 -05:00
params.py Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. (#4906) 2022-05-13 18:38:22 -05:00
py.typed add py.typed to ship typing information (#209) 2019-05-11 13:43:47 +04:00
requests.py ⬆ Require Pydantic > 1.0 (#1862) 2020-08-09 22:17:08 +02:00
responses.py Update `ORJSONResponse` to support non `str` keys and serializing Numpy arrays (#3892) 2022-09-02 10:17:31 +00:00
routing.py Add support for function return type annotations to declare the `response_model` (#1436) 2023-01-07 17:45:48 +04:00
staticfiles.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
templating.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
testclient.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
types.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
utils.py ⬆️ Upgrade Ruff (#5698) 2022-11-27 14:59:32 +01:00
websockets.py Export `WebSocketState` in `fastapi.websockets` (#4376) 2022-09-04 17:12:10 +02:00