We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1ec065 commit 48564b3Copy full SHA for 48564b3
packages/google-auth/google/auth/credentials.py
@@ -173,7 +173,7 @@ class ReadOnlyScoped(object):
173
174
if credentials.requires_scopes:
175
# Scoping is required.
176
- credentials = credentials.create_scoped(['one', 'two'])
+ credentials = credentials.with_scopes(scopes=['one', 'two'])
177
178
Credentials that require scopes must either be constructed with scopes::
179
0 commit comments