fastapi/tests/test_tutorial
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646)
* Make compatible with pydantic v1

* Remove unused import

* Remove unused ignores

* Update pydantic version

* Fix minor formatting issue

*  Revert removing iterate_in_threadpool

*  Add backwards compatibility with Pydantic 0.32.2

with deprecation warnings

*  Update tests to not break when using Pydantic < 1.0.0

* 📝 Update docs for Pydantic version 1.0.0

* 📌 Update Pydantic range version to support from 0.32.2

* 🎨 Format test imports

*  Add support for Pydantic < 1.2 for populate_validators

*  Add backwards compatibility for Pydantic < 1.2.0 with required fields

* 📌 Relax requirement for Pydantic to < 2.0.0 🎉 🚀

* 💚 Update pragma coverage for older Pydantic versions
2019-11-27 20:32:02 +01:00
..
test_additional_responses Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_additional_status_codes Add docs about responses with additional status codes (#156) 2019-04-12 22:43:21 +04:00
test_application_configuration 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_async_sql_databases Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_background_tasks Add support for BackgroundTasks parameters (#103) 2019-03-24 23:33:35 +04:00
test_bigger_applications Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_body 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_body_multiple_params Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_body_nested_models Implement support for Pydantic's ORM mode (#322) 2019-06-20 11:31:32 +02:00
test_body_schema Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_body_updates Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_cookie_params Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_custom_request_and_route Add better support for request body access/manipulation with custom classes (#589) 2019-10-04 19:23:34 -05:00
test_custom_response 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_dependencies Add parameter dependencies to path operation decorators and include_router (#235) 2019-05-16 18:07:00 +04:00
test_events Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_extending_openapi 📝 Add documentation for self-serving static Swagger UI (#112) (#557) 2019-11-23 22:50:58 +01:00
test_extra_data_types Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_extra_models Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_first_steps 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_handling_errors Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_header_params 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_path_operation_advanced_configurations 📝 Document overriding operationId for all path operations using their function names (#642) 2019-11-24 15:00:51 +01:00
test_path_operation_configurations Upgrade docstring Markdown parsing (#163) 2019-04-16 22:49:18 +04:00
test_path_params Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_query_params Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_query_params_str_validations ⬆️ Upgrade Pydantic to 0.28 (#320) 2019-06-18 09:37:40 +02:00
test_request_files 🏗️ Fix same function names in different modules with composite bodies (#347) 2019-06-28 19:35:16 +02:00
test_request_forms 🏗️ Fix same function names in different modules with composite bodies (#347) 2019-06-28 19:35:16 +02:00
test_request_forms_and_files 🏗️ Fix same function names in different modules with composite bodies (#347) 2019-06-28 19:35:16 +02:00
test_response_change_status_code Add support for Response parameters to set headers, cookies, and status codes (#294) 2019-06-06 14:29:40 +04:00
test_response_cookies Add support for Response parameters to set headers, cookies, and status codes (#294) 2019-06-06 14:29:40 +04:00
test_response_headers Add support for Response parameters to set headers, cookies, and status codes (#294) 2019-06-06 14:29:40 +04:00
test_response_model Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_security Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_sql_databases Add support for Pydantic v1 and above 🎉 (#646) 2019-11-27 20:32:02 +01:00
test_sub_applications 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_templates Add docs and tests for Jinja2 templates (#186) 2019-04-26 18:49:15 +04:00
test_testing 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_testing_dependencies Implement dependency overrides for testing (#291) 2019-06-05 15:43:18 +04:00
test_websockets Add support for WebSockets with dependencies, params, etc #166 (#178) 2019-05-24 20:41:41 +04:00
__init__.py ♻️ Re-format tutorials, files names and tests 2018-12-18 21:59:06 +04:00