Skip to content

Commit ef9397f

Browse files
authored
Fix lists introduced in dropbox#226 (dropbox#228)
A list needs to have a linebreak before and after in order to be correctly rendered by readthedocs.
1 parent d634791 commit ef9397f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

dropbox/oauth.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -296,16 +296,20 @@ def __init__(self, consumer_key, consumer_secret=None, locale=None, token_access
296296
By default, the server uses "en_US".
297297
:param str token_access_type: the type of token to be requested.
298298
From the following enum:
299+
299300
* legacy - creates one long-lived token with no expiration
300301
* online - create one short-lived token with an expiration
301302
* offline - create one short-lived token with an expiration with a refresh token
303+
302304
:param list scope: list of scopes to request in base oauth flow. If left blank,
303305
will default to all scopes for app.
304306
:param str include_granted_scopes: which scopes to include from previous grants
305307
From the following enum:
308+
306309
* user - include user scopes in the grant
307310
* team - include team scopes in the grant
308311
* Note: if this user has never linked the app, include_granted_scopes must be None
312+
309313
:param bool use_pkce: Whether or not to use Sha256 based PKCE. PKCE should be only use on
310314
client apps which doesn't call your server. It is less secure than non-PKCE flow but
311315
can be used if you are unable to safely retrieve your app secret.
@@ -390,16 +394,20 @@ def __init__(self, consumer_key, redirect_uri, session,
390394
By default, the server uses "en_US".
391395
:param str token_access_type: the type of token to be requested.
392396
From the following enum:
397+
393398
* legacy - creates one long-lived token with no expiration
394399
* online - create one short-lived token with an expiration
395400
* offline - create one short-lived token with an expiration with a refresh token
401+
396402
:param list scope: list of scopes to request in base oauth flow. If left blank,
397403
will default to all scopes for app.
398404
:param str include_granted_scopes: which scopes to include from previous grants
399405
From the following enum:
406+
400407
* user - include user scopes in the grant
401408
* team - include team scopes in the grant
402-
Note: if this user has never linked the app, include_granted_scopes must be None
409+
* Note: if this user has never linked the app, include_granted_scopes must be None
410+
403411
:param bool use_pkce: Whether or not to use Sha256 based PKCE
404412
:param Optional[float] timeout: Maximum duration in seconds that
405413
client will wait for any single packet from the

0 commit comments

Comments
 (0)