🎨 Lint and format tutorial src files

This commit is contained in:
Sebastián Ramírez committed 2018-12-13 21:48:37 +04:00
1 parent d9fbead646
commit b0d62b3410
60 files changed
+166 -234

No files matched your search

+2 -3
View File
@@ -1,12 +1,11 @@
from fastapi import FastAPI, Query, Path
from fastapi import FastAPI, Path
app = FastAPI()
@app.get("/items/{item_id}")
async def read_items(
q: str,
item_id: int = Path(..., title="The ID of the item to get"),
q: str, item_id: int = Path(..., title="The ID of the item to get")
):
results = {"item_id": item_id}
if q: