From 6e6f42ebeecb658c3c2635a392c2064c3715cc2d Mon Sep 17 00:00:00 2001 From: Kaituo Huang Date: Fri, 19 Dec 2025 21:26:50 -0800 Subject: [PATCH] chore: update api reference examples PiperOrigin-RevId: 846981925 --- google/genai/_interactions/_base_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/genai/_interactions/_base_client.py b/google/genai/_interactions/_base_client.py index a11e3a92b..c507c560c 100644 --- a/google/genai/_interactions/_base_client.py +++ b/google/genai/_interactions/_base_client.py @@ -1798,7 +1798,7 @@ async def patch( options: RequestOptions = {}, ) -> ResponseT: opts = FinalRequestOptions.construct( - method="patch", url=path, json_data=body, files=to_httpx_files(files), **options + method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options ) return await self.request(cast_to, opts)