Skip to content

Commit

Permalink
Merge pull request #1503 from ikmals/master
Browse files Browse the repository at this point in the history
Fix comment to reflect correct google-auth package version requirement
  • Loading branch information
lavigne958 authored Aug 10, 2024
2 parents 5bde86e + 654394c commit 60bc77f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gspread/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ def api_key(token: str, http_client: HTTPClientType = HTTPClient) -> Client:
"""
if GOOGLE_AUTH_API_KEY_AVAILABLE is False:
raise NotImplementedError(
"api_key is only available with package google.auth>=2.4.0."
'Install it with "pip install google-auth>=2.4.0".'
"api_key is only available with package google.auth>=2.15.0. "
'Install it with "pip install google-auth>=2.15.0".'
)
creds = APIKeyCredentials(token)
return Client(auth=creds, http_client=http_client)

0 comments on commit 60bc77f

Please sign in to comment.