From 6980f7dfa22021645ab1c1dac415aeee1d71ea3e Mon Sep 17 00:00:00 2001 From: Alexandre Lavigne Date: Wed, 13 Jul 2022 22:04:56 +0200 Subject: [PATCH] Fix documentation about `oauth_from_dict` There is an extra pair of curly brackets in the code sample in the documentation about the function `oauth_from_dict`. closes #1087 --- docs/oauth2.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/oauth2.rst b/docs/oauth2.rst index 548d75363..327289f98 100644 --- a/docs/oauth2.rst +++ b/docs/oauth2.rst @@ -188,14 +188,12 @@ manager. import gspread credentials = { - { - "installed": { - "client_id": "12345678901234567890abcdefghijklmn.apps.googleusercontent.com", - "project_id": "my-project1234", - "auth_uri": "https://accounts.google.com/o/oauth2/auth", - "token_uri": "https://oauth2.googleapis.com/token", - ... - } + "installed": { + "client_id": "12345678901234567890abcdefghijklmn.apps.googleusercontent.com", + "project_id": "my-project1234", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + ... } } gc, authorized_user = gspread.oauth_from_dict(credentials)