Skip to content

Commit d575c0b

Browse files
committed
example update
1 parent 386a36d commit d575c0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/fastapi_usage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ async def get_user(user_id: int = Path(..., description="The ID of the user")):
6767
error_code=CustomExceptionCode.USER_NOT_FOUND,
6868
http_status_code=404,
6969
)
70+
7071
if user_id == 2:
7172
raise TypeError("Invalid type provided.")
7273
if user_id == 3:

0 commit comments

Comments
 (0)