Skip to content

Commit 48564b3

Browse files
xmedekoJon Wayne Parrott
authored andcommitted
Fix ReadOnlyScoped doc with_scopes (#219)
1 parent d1ec065 commit 48564b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-auth/google/auth/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class ReadOnlyScoped(object):
173173
174174
if credentials.requires_scopes:
175175
# Scoping is required.
176-
credentials = credentials.create_scoped(['one', 'two'])
176+
credentials = credentials.with_scopes(scopes=['one', 'two'])
177177
178178
Credentials that require scopes must either be constructed with scopes::
179179

0 commit comments

Comments
 (0)