Yurii Motov
|
73a1b8f5c2
|
Fix File model tests
|
8 months ago |
Yurii Motov
|
de7d6dfcb1
|
Fix Pydantic v1 optional schema tests and file model tests
|
8 months ago |
Yurii Motov
|
6dc8d127d4
|
Update tests after applying fix from PR14303
|
9 months ago |
Yurii Motov
|
296ab371fc
|
Add test
|
9 months ago |
pre-commit-ci[bot]
|
cf47529e19
|
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
|
9 months ago |
Yurii Motov
|
941233b7e5
|
Add tests for File with UploadFile aliases
|
9 months ago |
Yurii Motov
|
5b09c0fd22
|
Add tests for Body model aliases
|
9 months ago |
Yurii Motov
|
98f20c2b23
|
Add tests for Body field aliases
|
9 months ago |
Yurii Motov
|
f4125d685e
|
Add tests for File model aliases
|
9 months ago |
Yurii Motov
|
04c956b624
|
Add tests to `test_compat.py`
|
9 months ago |
Yurii Motov
|
5869032461
|
Update tests after applying a bugfix
|
9 months ago |
Yurii Motov
|
cb8b8432c2
|
Delete old version
|
9 months ago |
Yurii Motov
|
4eba2a1d6b
|
Remove `Annotated`
|
9 months ago |
pre-commit-ci[bot]
|
6647b5dd6a
|
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
|
9 months ago |
Yurii Motov
|
fbb6e1f862
|
Fix tests for aliases with Pydantic V2
|
9 months ago |
Yurii Motov
|
b630ac6cf4
|
Fix tests for aliases with Pydantic V1
|
9 months ago |
Yurii Motov
|
1ee3e9cacb
|
Move alias tests to folder, split tests for Pydantic V1
|
9 months ago |
Yurii Motov
|
12f2551022
|
Add tests for File field aliases
|
9 months ago |
Yurii Motov
|
3d7ffab2b9
|
Add tests for Form model aliases
|
9 months ago |
Yurii Motov
|
47a57deb5a
|
Update `test_form_field_aliases.py`
|
9 months ago |
Yurii Motov
|
ba24334086
|
Add tests for form field aliases
|
1 year ago |
Sebastián Ramírez
|
ac438b9934
|
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
9 months ago |
Motov Yurii
|
496de1816a
|
🐛 Fix security schemes in OpenAPI when added at the top level app (#14266)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
9 months ago |
Sebastián Ramírez
|
dcfb8b9dda
|
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself (#14256)
|
9 months ago |
Sebastián Ramírez
|
c144f9fbd3
|
♻️ Refactor internals of dependencies, simplify using dataclasses (#14254)
|
9 months ago |
Sebastián Ramírez
|
6a657f360d
|
🐛 Fix separation of schemas with nested models introduced in 0.119.0 (#14246)
|
9 months ago |
Sofie Van Landeghem
|
d8c691f7f0
|
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
9 months ago |
Sebastián Ramírez
|
d34918abf0
|
✨ Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
9 months ago |
Sofie Van Landeghem
|
3611c3fc5b
|
⬆️ Add support for Python 3.14 (#14165)
|
9 months ago |
François Voron
|
185cecd891
|
🐛 Fix tagged discriminated union not recognized as body field (#12942)
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Patrick Arminio <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
10 months ago |
Colin Watson
|
c970d8a735
|
👽️ Ensure compatibility with Pydantic 2.12.0 (#14036)
Co-authored-by: Sofie Van Landeghem <[email protected]>
Co-authored-by: Victorien <[email protected]>
Co-authored-by: svlandeg <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Patrick Arminio <[email protected]>
|
10 months ago |
Sebastián Ramírez
|
e329d78f86
|
🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
10 months ago |
Thomas LÉVEIL
|
44fc67632b
|
🐛 Fix validation error when `File` is declared after `Form` parameter (#11194)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
10 months ago |
vvanglro
|
f1e6f978ce
|
⚡️ Fix `default_factory` for response model field with Pydantic V1 (#9704)
Co-authored-by: Motov Yurii <[email protected]>
|
10 months ago |
Robert Hofer
|
b51ec36f2e
|
✨ Allow `None` as return type for bodiless responses (#9425)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
10 months ago |
Max McLennan
|
86e515784d
|
🐛 Fix inconsistent processing of model docstring formfeed char with Pydantic V1 (#6039)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
10 months ago |
Salim Aboubacar
|
2dc769b121
|
🐛 Fix `jsonable_encoder` alters `json_encoders` of Pydantic v1 objects (#4972)
Co-authored-by: Sebastián Ramírez <[email protected]>
Co-authored-by: Yurii Motov <[email protected]>
|
10 months ago |
sammasak
|
8ede27223e
|
✨ Allow array values for OpenAPI schema `type` field (#13639)
Co-authored-by: Lukas Rajala <[email protected]>
Co-authored-by: dlax <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
10 months ago |
rmawatson
|
9ac56c70f2
|
🐛 Reenable `allow_arbitrary_types` when only 1 argument is used on the API endpoint (#13694)
Co-authored-by: Sofie Van Landeghem <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
|
10 months ago |
Carlos Mario Toro
|
bc5013cd56
|
✨ Add OpenAPI `external_docs` parameter to `FastAPI` (#13713)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected]>
|
10 months ago |
Amogha Rao
|
5fef4d199b
|
✅ Enable test case for duplicated headers in `test_tutorial/test_header_params/test_tutorial003.py` (#13864)
Co-authored-by: amogha-rao <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
10 months ago |
山崎ヒカル
|
11d424c3dc
|
✅ Simplify tests for response_model (#14062)
|
10 months ago |
Ben Beasley
|
7563579dc8
|
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077)
Co-authored-by: svlandeg <[email protected]>
|
10 months ago |
Sebastián Ramírez
|
f5b77ff0fc
|
📝 Add documentation for Behind a Proxy - Proxy Forwarded Headers, using `--forwarded-allow-ips="*"` (#14028)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
11 months ago |
z0z0r4
|
d4ddcc5878
|
📝 Update testing events documentation (#13259)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
11 months ago |
Chih-Hsuan Yen
|
54c7c34b25
|
⬆ Update httpx requirement to >=0.23.0,<0.29.0 (#13114)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
1 year ago |
Patrick Arminio
|
9d0d8828cc
|
🐛 Fix support for unions when using `Form` (#13827)
|
1 year ago |
oogee
|
30b9dfb11c
|
🚸 Set format to password for fields `password` and `client_secret` in `OAuth2PasswordRequestForm`, make docs show password fields for passwords (#11032)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
1 year ago |
Valentyn
|
85a2eed888
|
✅ Simplify tests for `settings` (#13505)
Co-authored-by: Valentyn Druzhynin <[email protected]>
|
1 year ago |
Valentyn
|
da4605b039
|
✅ Simplify tests for `validate_response_recursive` (#13507)
Co-authored-by: Valentyn Druzhynin <[email protected]>
|
1 year ago |