diff --git a/docs/src/query_params/tutorial001.py b/docs/src/query_params/tutorial001.py index 2aa61ebfb..74e1a1760 100644 --- a/docs/src/query_params/tutorial001.py +++ b/docs/src/query_params/tutorial001.py @@ -6,5 +6,5 @@ fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz" @app.get("/items/") -async def read_item(skip: int = 0, limit: int = 100): +async def read_item(skip: int = 0, limit: int = 10): return fake_items_db[skip : skip + limit]