Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 36c1d54

Browse files
chore: remove duplicate variable (#1375)
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?
1 parent 117e325 commit 36c1d54

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

google/auth/impersonated_credentials.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
from google.auth import jwt
3838
from google.auth import metrics
3939

40-
_DEFAULT_TOKEN_LIFETIME_SECS = 3600 # 1 hour in seconds
41-
4240
_IAM_SCOPE = ["https://www.googleapis.com/auth/iam"]
4341

4442
_IAM_ENDPOINT = (

system_tests/secrets.tar.enc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)