Sebastián Ramírez
|
121ed23ad1
|
🐛 Fix typing import
|
10 months ago |
Sebastián Ramírez
|
90685513e4
|
✅ Add tests for examples for migrating from Pydantic v1 to v2
|
10 months ago |
Sebastián Ramírez
|
f547473d9f
|
✅ Update tests with new location
|
10 months ago |
Sebastián Ramírez
|
f2e5568308
|
✅ Update tests for Pydantic v1 and v2, and Python 3.14
|
10 months ago |
Sebastián Ramírez
|
1e32fe0e64
|
✅ Run Pydantic v1 tests only on Python < 3.14
|
10 months ago |
Sebastián Ramírez
|
17377b78c0
|
✅ Update tests with skip flag for Pydantic v1 in Python 3.14
|
10 months ago |
Sebastián Ramírez
|
f863d90de3
|
✅ Tweak tests for compatibility with Pydantic v1 and v2
|
10 months ago |
Sofie Van Landeghem
|
3611c3fc5b
|
⬆️ Add support for Python 3.14 (#14165)
|
10 months ago |
Sebastián Ramírez
|
fda1c44a80
|
✅ Update tests
|
10 months ago |
Sebastián Ramírez
|
25b51f22b6
|
✅ Refactor test for compatibility with Pydantic v1 and v2
|
10 months ago |
Sebastián Ramírez
|
9a0dabcec2
|
✅ Add tests for duplicate models
|
10 months ago |
Sebastián Ramírez
|
79e0375398
|
🎨 Tweak types
|
10 months ago |
Sebastián Ramírez
|
4400390983
|
🎨 Tweak imports for Python 3.8
|
10 months ago |
Sebastián Ramírez
|
aaad3c88fe
|
✅ Tweak tests for OpenAPI schema, for compatibility with Pydantic v1 and v2
|
10 months ago |
Sebastián Ramírez
|
901c751dbb
|
✅ Add extra tests for Pydantic v1
|
10 months ago |
Sebastián Ramírez
|
ddad019c43
|
✅ Add tests for Pydantic v1 parameters
|
10 months ago |
pre-commit-ci[bot]
|
1a9e9a18ac
|
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
|
10 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
|
0a212826b9
|
✅ Remove unnecessary test
|
10 months ago |
Sebastián Ramírez
|
803ca5f735
|
✅ Update snapshots for Pydantic v1 and v2
|
10 months ago |
Sebastián Ramírez
|
e1eedaf1ab
|
✅ Update tests, separate schemas for models with the same name in different files for v1 and v2
|
10 months ago |
Sebastián Ramírez
|
9030eed198
|
✅ Add tests for models with multiple paths
|
10 months ago |
Sebastián Ramírez
|
aa584829a0
|
♻️ Tweak implementation and tests for coverage
|
10 months ago |
Sebastián Ramírez
|
ab242c6e34
|
✅ Add snapshots for Pydantic v2 tests
|
10 months ago |
Sebastián Ramírez
|
f5998c55d1
|
✅ Add snapshots for tests in Pydantic v1
|
10 months ago |
Sebastián Ramírez
|
c0863b2e56
|
✅ Fix test using _compat
|
10 months ago |
Sebastián Ramírez
|
f9b5c484b8
|
✅ Add tests for Noneable fields
|
10 months ago |
Sebastián Ramírez
|
79601300df
|
✅ Update tests for mixing Pydantic v1 and v2 models
|
10 months ago |
Sebastián Ramírez
|
db96db4bd3
|
✅ Add tests for Pydantic v1 lists
|
10 months ago |
Sebastián Ramírez
|
fc5932ec58
|
✅ Update tests and URL paths
|
10 months ago |
Sebastián Ramírez
|
bd660ead49
|
✅ Extend test for Pydantic v1 with submodels
|
10 months ago |
Sebastián Ramírez
|
0b2faed237
|
✅ Add first tests for Pydantic v1 in v2
|
10 months ago |
Sebastián Ramírez
|
cb28e5dbc4
|
✅ Update tests for compat
|
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]>
|
11 months ago |
vvanglro
|
f1e6f978ce
|
⚡️ Fix `default_factory` for response model field with Pydantic V1 (#9704)
Co-authored-by: Motov Yurii <[email protected]>
|
11 months ago |
Robert Hofer
|
b51ec36f2e
|
✨ Allow `None` as return type for bodiless responses (#9425)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
11 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]>
|
11 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]>
|
11 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]>
|
11 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]>
|
11 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]>
|
11 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>
|
11 months ago |
山崎ヒカル
|
11d424c3dc
|
✅ Simplify tests for response_model (#14062)
|
11 months ago |
Ben Beasley
|
7563579dc8
|
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077)
Co-authored-by: svlandeg <[email protected]>
|
11 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 |