Skip to content

Commit d156ef4

Browse files
committed
update secret
1 parent 32cc7a0 commit d156ef4

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

google/auth/_default.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,6 @@
9494
# The subject token type used for AWS external_account credentials.
9595
_AWS_SUBJECT_TOKEN_TYPE = "urn:ietf:params:aws:token-type:aws4_request"
9696

97-
98-
class GenericLoadMethodWarning(DeprecationWarning): # pragma: NO COVER
99-
"""
100-
Deprecation warning raised when a generic load method is used.
101-
"""
102-
103-
pass
104-
105-
10697
def _warn_about_problematic_credentials(credentials):
10798
"""Determines if the credentials are problematic.
10899
@@ -129,7 +120,7 @@ def _warn_about_generic_load_method(method_name): # pragma: NO COVER
129120

130121
warnings.warn(
131122
_GENERIC_LOAD_METHOD_WARNING.format(method_name),
132-
GenericLoadMethodWarning,
123+
DeprecationWarning,
133124
)
134125

135126

system_tests/secrets.tar.enc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)