fastapi/tests/test_tutorial/test_path_operation_advance...
Sebastián Ramírez bc935e08b6
⬆️ Upgrade compatibility with Pydantic v2.4, new renamed functions and JSON Schema input/output models with default values (#10344)
* 🚚 Refactor deprecated import general_plain_validator_function to with_info_plain_validator_function

* 🚚 Rename deprecated FieldValidationInfo to ValidationInfo

*  Update tests with new defaults for JSON Schema for default values

* ♻️ Add Pydantic v1 version of with_info_plain_validator_function

* 👷 Invalidate cache

*  Fix tests for Pydantic v1

*  Tweak tests coverage for older Pydantic v2 versions
2023-09-27 23:14:40 -05:00
..
__init__.py ⬆️ Add tests, fix issues and update Pydantic 2018-12-28 16:10:29 +04:00
test_tutorial001.py Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_tutorial002.py Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_tutorial003.py Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_tutorial004.py ⬆️ Upgrade compatibility with Pydantic v2.4, new renamed functions and JSON Schema input/output models with default values (#10344) 2023-09-27 23:14:40 -05:00
test_tutorial005.py Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_tutorial006.py Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_tutorial007.py Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
test_tutorial007_pv1.py Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00