Skip to content
Merged
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
6 changes: 4 additions & 2 deletions google/genai/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,9 +1018,11 @@ def _maybe_set(
Returns:
The client args with the SSL context included.
"""
if not args or not args.get(verify):
args = (args or {}).copy()
args = (args or {}).copy()
if not args.get(verify):
args[verify] = ctx
if 'timeout' not in args:
args['timeout'] = None
# Drop the args that isn't used by the httpx client.
copied_args = args.copy()
for key in copied_args.copy():
Expand Down
Loading