Update tutorial006.py

The size parameter was not appended into the results.
This commit is contained in:
Muhammad Ashiq Ameer 2024-04-23 11:21:17 +05:30 committed by GitHub
parent 5c054fdd65
commit 4254b2cfe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

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