Browse Source

📝 Update `docs_src/path_params_numeric_validations/tutorial006.py` (#11478)

Co-authored-by: Sofie Van Landeghem <[email protected]>
pull/12085/head
Muhammad Ashiq Ameer 7 months ago
committed by GitHub
parent
commit
9b35d355bf
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs_src/path_params_numeric_validations/tutorial006.py
  2. 2
      docs_src/path_params_numeric_validations/tutorial006_an.py
  3. 2
      docs_src/path_params_numeric_validations/tutorial006_an_py39.py

2
docs_src/path_params_numeric_validations/tutorial006.py

@ -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

2
docs_src/path_params_numeric_validations/tutorial006_an.py

@ -14,4 +14,6 @@ async def read_items(
results = {"item_id": item_id}
if q:
results.update({"q": q})
if size:
results.update({"size": size})
return results

2
docs_src/path_params_numeric_validations/tutorial006_an_py39.py

@ -15,4 +15,6 @@ async def read_items(
results = {"item_id": item_id}
if q:
results.update({"q": q})
if size:
results.update({"size": size})
return results

Loading…
Cancel
Save