From 01879346478ab5e9dfa22e3bd5e9d28773c65f6a Mon Sep 17 00:00:00 2001 From: wuyangfan Date: Mon, 15 Jun 2026 10:08:33 +0800 Subject: [PATCH] docs: fix upload config display_name typo --- google/genai/files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/genai/files.py b/google/genai/files.py index 6057a20bd..a1fabb95e 100644 --- a/google/genai/files.py +++ b/google/genai/files.py @@ -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( @@ -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(