mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-13 19:38:34 -04:00
📝 Update docs_src/path_params_numeric_validations/tutorial006.py (#11478)
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a930128910
commit
9b35d355bf
@@ -13,4 +13,6 @@ async def read_items(
|
||||
results = {"item_id": item_id}
|
||||
if q:
|
||||
results.update({"q": q})
|
||||
if size:
|
||||
results.update({"size": size})
|
||||
return results
|
||||
|
||||
Reference in New Issue
Block a user