Skip to content

Commit

Permalink
chore: remove duplicate variable (#1375)
Browse files Browse the repository at this point in the history
The global variable [`_DEFAULT_TOKEN_LIFETIME_SECS`](https://togithub.com/googleapis/google-auth-library-python/blob/main/google/auth/impersonated_credentials.py#L40-L61) is set twice. Can we get rid of this duplicate?
  • Loading branch information
jackwotherspoon authored Aug 31, 2023
1 parent 117e325 commit 36c1d54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions google/auth/impersonated_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
from google.auth import jwt
from google.auth import metrics

_DEFAULT_TOKEN_LIFETIME_SECS = 3600 # 1 hour in seconds

_IAM_SCOPE = ["https://www.googleapis.com/auth/iam"]

_IAM_ENDPOINT = (
Expand Down
Binary file modified system_tests/secrets.tar.enc
Binary file not shown.

0 comments on commit 36c1d54

Please sign in to comment.