Skip to content

Commit

Permalink
fix: incorrect upload return type (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks authored Dec 27, 2024
1 parent dad65f0 commit eb8034f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage3/_async/file_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ async def upload(
path: str,
file: Union[BufferedReader, bytes, FileIO, str, Path],
file_options: Optional[FileOptions] = None,
) -> Response:
) -> UploadResponse:
"""
Uploads a file to an existing bucket.
Expand Down
2 changes: 1 addition & 1 deletion storage3/_sync/file_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def upload(
path: str,
file: Union[BufferedReader, bytes, FileIO, str, Path],
file_options: Optional[FileOptions] = None,
) -> Response:
) -> UploadResponse:
"""
Uploads a file to an existing bucket.
Expand Down

0 comments on commit eb8034f

Please sign in to comment.