Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iyad-f committed Jan 9, 2025
1 parent 4c7166a commit 625fbc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async def provide_str() -> str:

@get("/", dependencies={"injected": Provide(provide_str)}, sync_to_thread=False)
def hello_world(injected: int) -> Dict[str, Any]:
"""Handler expects and `int`, but we've provided a `str`."""
"""Handler expects an `int`, but we've provided a `str`."""
return {"hello": injected}


Expand Down

0 comments on commit 625fbc5

Please sign in to comment.