🚚 Re-sort tutorial example files

This commit is contained in:
Sebastián Ramírez committed 2018-12-13 21:25:45 +04:00
1 parent 8eaae72b76
commit a47243d915
71 files changed
+656 -656

No files matched your search

+1 -2
View File
@@ -5,9 +5,8 @@ app = FastAPI()
@app.get("/items/{item_id}")
async def read_items(
*,
item_id: int = Path(..., title="The ID of the item to get", gt=0, le=1000),
q: str,
item_id: int = Path(..., title="The ID of the item to get"),
):
results = {"item_id": item_id}
if q: