From a881fc36dc4bf5626f5dffa93d2e3be24a9fc862 Mon Sep 17 00:00:00 2001 From: Shaptain Date: Thu, 4 Sep 2025 17:50:37 +0530 Subject: [PATCH] fix lint errors in tutorial002.py --- docs_src/handling_errors/tutorial002.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_src/handling_errors/tutorial002.py b/docs_src/handling_errors/tutorial002.py index e4d388e24..c7909ae69 100644 --- a/docs_src/handling_errors/tutorial002.py +++ b/docs_src/handling_errors/tutorial002.py @@ -7,7 +7,7 @@ items = {"foo": "The Foo Wrestlers"} @app.get("/items-header/{item_id}") async def read_item_header(item_id: str): - + if item_id not in items: raise HTTPException( status_code=404,