Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/genai/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def upload(
binary mode. In other words, do not use non-blocking mode or text mode.
The given stream must be seekable, that is, it must be able to call
`seek()` on 'path'.
config: Optional parameters to set `diplay_name`, `mime_type`, and `name`.
config: Optional parameters to set `display_name`, `mime_type`, and `name`.
"""
if self._api_client.vertexai:
raise ValueError(
Expand Down Expand Up @@ -1207,7 +1207,7 @@ async def upload(
binary mode. In other words, do not use non-blocking mode or text mode.
The given stream must be seekable, that is, it must be able to call
`seek()` on 'path'.
config: Optional parameters to set `diplay_name`, `mime_type`, and `name`.
config: Optional parameters to set `display_name`, `mime_type`, and `name`.
"""
if self._api_client.vertexai:
raise ValueError(
Expand Down
Loading