fastapi/fastapi
Sebastián Ramírez bd407cc4ed
Refactor param extraction using Pydantic Field (#278)
*  Refactor parameter dependency using Pydantic Field

* ⬆️ Upgrade required Pydantic version with latest Shape values

*  Add tutorials and code for using Enum and Optional

*  Add tests for tutorials with new types and extra cases

* ♻️ Format, clean, and add annotations to dependencies.utils

* 📝 Update tutorial for query parameters with list defaults

*  Add tests for query param with list default
2019-05-30 17:40:43 +04:00
..
dependencies Refactor param extraction using Pydantic Field (#278) 2019-05-30 17:40:43 +04:00
openapi Refactor param extraction using Pydantic Field (#278) 2019-05-30 17:40:43 +04:00
security Use 401 with WWW-Authenticate for OAuth2 and add scope_str (#188) 2019-04-27 17:00:56 +04:00
__init__.py 🔖 Release version 0.26.0 2019-05-29 19:29:44 +04:00
applications.py Separate Pydantic's ValidationError handler and improve docs for error handling (#273) 2019-05-29 16:27:55 +04:00
datastructures.py Add support for UploadFile class annotations (#63) 2019-03-03 20:52:37 +04:00
encoders.py Add include, exclude, and by_alias to path operation methods (#264) 2019-05-27 16:08:13 +04:00
exception_handlers.py Separate Pydantic's ValidationError handler and improve docs for error handling (#273) 2019-05-29 16:27:55 +04:00
exceptions.py Separate Pydantic's ValidationError handler and improve docs for error handling (#273) 2019-05-29 16:27:55 +04:00
param_functions.py Add param functions, to override types, to make mypy happy (#226) 2019-05-15 21:25:11 +04:00
params.py 🐛 Fix Form and File params must always be embeded 2018-12-22 08:24:48 +04:00
py.typed add py.typed to ship typing information (#209) 2019-05-11 13:43:47 +04:00
routing.py Separate Pydantic's ValidationError handler and improve docs for error handling (#273) 2019-05-29 16:27:55 +04:00
utils.py ♻️ Update Pydantic usage, types, values, minor structure changes (#164) 2019-04-16 23:26:09 +04:00