⬆️ Update Pydantic to 0.21.0 (#90)

* ⬆️ Upgrade Pydantic and others (isort), update docs after changes by isort

* 🎨 Format with newest isort, update type hints in jsonable_encoder

* 🔧 Update test script, to avoid Pydantic type errors

* ⬆️ Update pyproject.toml with latest Pydantic
This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2019-03-21 18:40:29 +04:00
1 parent f2fd948ce3
commit 108c2f3c0e
10 files changed
+67 -75

No files matched your search

@@ -1,8 +1,6 @@
from fastapi import FastAPI
app = FastAPI(
openapi_url="/api/v1/openapi.json"
)
app = FastAPI(openapi_url="/api/v1/openapi.json")
@app.get("/items/")
@@ -1,9 +1,6 @@
from fastapi import FastAPI
app = FastAPI(
docs_url="/documentation",
redoc_url=None,
)
app = FastAPI(docs_url="/documentation", redoc_url=None)
@app.get("/items/")
+1 -2
View File
@@ -1,7 +1,6 @@
from fastapi import FastAPI
from .routers import items
from .routers import users
from .routers import items, users
app = FastAPI()