Skip to content

Commit

Permalink
docs: fix small typos (#2598)
Browse files Browse the repository at this point in the history
Co-authored-by: myslak <[email protected]>
  • Loading branch information
myslak71 and myslak authored Nov 2, 2023
1 parent 6973452 commit e5b6323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/responses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ File responses send a file:
def handle_file_download() -> File:
return File(
path=Path(Path(__file__).resolve().parent, "report").with_suffix(".pdf"),
filename="repost.pdf",
filename="report.pdf",
)
The :class:`File <.response.File>` class expects two kwargs:
Expand Down Expand Up @@ -641,7 +641,7 @@ For example:
def handle_file_download() -> File:
return File(
path=Path(Path(__file__).resolve().parent, "report").with_suffix(".pdf"),
filename="repost.pdf",
filename="report.pdf",
)
Expand Down

0 comments on commit e5b6323

Please sign in to comment.