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

Commit bf2286f

Browse files
authored
Update google/auth/transport/grpc.py
1 parent 3f8a8ef commit bf2286f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/auth/transport/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _get_authorization_headers(self, context):
7373
# Attempt to use self-signed JWTs when a service account is used.
7474
# A default host must be explicitly provided since it cannot always
7575
# be determined from the context.service_url.
76-
if isinstance(self._ service_account.Credentials):
76+
if isinstance(self._credentials, service_account.Credentials):
7777
self._credentials._create_self_signed_jwt(
7878
"https://{}/".format(self._default_host) if self._default_host else None
7979
)

0 commit comments

Comments
 (0)