Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion google/genai/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ async def connect(
if requests is None:
raise ValueError('The requests module is required to refresh google-auth credentials. Please install with `pip install google-auth[requests]`')
auth_req = requests.Request() # type: ignore
creds.refresh(auth_req)
creds.refresh(auth_req) # type: ignore[no-untyped-call]
bearer_token = creds.token

original_headers = self._api_client._http_options.headers
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
]
dependencies = [
"anyio>=4.8.0, <5.0.0",
"google-auth[requests]>=2.46.0, <3.0.0",
"google-auth[requests]>=2.47.0, <3.0.0",
"httpx>=0.28.1, <1.0.0",
"pydantic>=2.9.0, <3.0.0",
"requests>=2.28.1, <3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ charset-normalizer==3.4.0
coverage==7.6.9
distro==1.9.0
httpx==0.28.1
google-auth==2.45.0
google-auth==2.47.0
idna==3.10
iniconfig==2.0.0
packaging==24.2
Expand Down