Skip to content

Commit 8b3be87

Browse files
yinghsienwucopybara-github
authored andcommitted
Copybara import of the project:
-- 949400f by Albert Coroleu <albert.coroleu@tempus.com>: fix: forward http_options in async_request_streamed to enable retry support COPYBARA_INTEGRATE_REVIEW=#2097 from acoroleu-tempus:acoroleu/issue-2044 326d1ad PiperOrigin-RevId: 881526639
1 parent 8b10efb commit 8b3be87

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

google/genai/_api_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,9 @@ async def async_request_streamed(
14611461
http_method, path, request_dict, http_options
14621462
)
14631463

1464-
response = await self._async_request(http_request=http_request, http_options=http_options, stream=True)
1464+
response = await self._async_request(
1465+
http_request=http_request, http_options=http_options, stream=True
1466+
)
14651467

14661468
async def async_generator(): # type: ignore[no-untyped-def]
14671469
async for chunk in response:

0 commit comments

Comments
 (0)