Docstring fix for has_scopes() and with_scopes(). (#228)
diff --git a/google/auth/credentials.py b/google/auth/credentials.py index db2869c..64b3338 100644 --- a/google/auth/credentials.py +++ b/google/auth/credentials.py
@@ -209,6 +209,9 @@ .. warning: This method is not guaranteed to be accurate if the credentials are :attr:`~Credentials.invalid`. + Args: + scopes (Sequence[str]): The list of scopes to check. + Returns: bool: True if the credentials have the given scopes. """ @@ -248,7 +251,8 @@ """Create a copy of these credentials with the specified scopes. Args: - scopes (Sequence[str]): The list of scopes to request. + scopes (Sequence[str]): The list of scopes to attach to the + current credentials. Raises: NotImplementedError: If the credentials' scopes can not be changed.