commit | f682cb29ac0dc14e1e1e39d4224e4656ac36f02c | [log] [tgz] |
---|---|---|
author | Ondrej Medek <xmedeko@gmail.com> | Mon Nov 27 18:33:46 2017 +0100 |
committer | Jon Wayne Parrott <jonwayne@google.com> | Mon Nov 27 09:33:46 2017 -0800 |
tree | c51490420f7e671265262deba7d882e0c8e25d70 | |
parent | 2857265d946875dca97eec706e6eb9ed1412d677 [diff] |
Fix ReadOnlyScoped doc with_scopes (#219)
diff --git a/google/auth/credentials.py b/google/auth/credentials.py index 1fb5dec..db2869c 100644 --- a/google/auth/credentials.py +++ b/google/auth/credentials.py
@@ -173,7 +173,7 @@ if credentials.requires_scopes: # Scoping is required. - credentials = credentials.create_scoped(['one', 'two']) + credentials = credentials.with_scopes(scopes=['one', 'two']) Credentials that require scopes must either be constructed with scopes::