Skip to content

Commit 4fa57a3

Browse files
jangjunhaclundin25
andauthored
doc: fix return type of get_service_account_token (#1083)
Co-authored-by: clundin25 <108372512+clundin25@users.noreply.github.com>
1 parent 6199ec2 commit 4fa57a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-auth/google/auth/compute_engine/_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def get_service_account_token(request, service_account="default", scopes=None):
246246
scopes (Optional[Union[str, List[str]]]): Optional string or list of
247247
strings with auth scopes.
248248
Returns:
249-
Union[str, datetime]: The access token and its expiration.
249+
Tuple[str, datetime]: The access token and its expiration.
250250
251251
Raises:
252252
google.auth.exceptions.TransportError: if an error occurred while

0 commit comments

Comments
 (0)