aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/_auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/grpcio/grpc/_auth.py')
-rw-r--r--src/python/grpcio/grpc/_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/_auth.py b/src/python/grpcio/grpc/_auth.py
index c17824563d..9b990f490d 100644
--- a/src/python/grpcio/grpc/_auth.py
+++ b/src/python/grpcio/grpc/_auth.py
@@ -46,7 +46,7 @@ class GoogleCallCredentials(grpc.AuthMetadataPlugin):
# Hack to determine if these are JWT creds and we need to pass
# additional_claims when getting a token
- self._is_jwt = 'additional_claims' in inspect.getargspec(
+ self._is_jwt = 'additional_claims' in inspect.getargspec( # pylint: disable=deprecated-method
credentials.get_access_token).args
def __call__(self, context, callback):