]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
🐛 Fix Enum handling with their own schema definitions (#1463)
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 23 May 2020 16:56:18 +0000 (18:56 +0200)
committerGitHub <noreply@github.com>
Sat, 23 May 2020 16:56:18 +0000 (18:56 +0200)
commit5984233223777313e95a92d534ab1db711bd606a
tree80d1c5ff1ce2fd8e43adb7f5570b72fe36baca07
parent98bb9f13da4932fac8bc138f77fba38c34e553ee
🐛 Fix Enum handling with their own schema definitions (#1463)

* 🐛 Fix extra support for enum with its own schema

* ✅ Fix/update test for enum with its own schema

* 🐛 Fix type declarations

* 🔧 Update format and lint scripts to support locally installed Pydantic and Starlette

* 🐛 Add temporary type ignores while enum schemas are merged
fastapi/dependencies/utils.py
fastapi/openapi/utils.py
fastapi/utils.py
scripts/format.sh
scripts/lint.sh
tests/test_tutorial/test_path_params/test_tutorial005.py