Kushal Subedi 2 days ago
committed by GitHub
parent
commit
b5279d0e40
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs_src/body_multiple_params/tutorial001.py

4
docs_src/body_multiple_params/tutorial001.py

@ -22,7 +22,7 @@ async def update_item(
):
results = {"item_id": item_id}
if q:
results.update({"q": q})
results["q"] = q
if item:
results.update({"item": item})
results["item"] = item
return results

Loading…
Cancel
Save