From 9ebbc730e777a00e2fac6a6a352a67d40c10b5ae Mon Sep 17 00:00:00 2001 From: thec0sm0s Date: Sun, 4 Oct 2020 20:16:10 +0530 Subject: [PATCH] Minor fix --- async_oauthlib/oauth1_auth.py | 2 +- async_oauthlib/oauth1_session.py | 3 +-- docs/examples/outlook.rst | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/async_oauthlib/oauth1_auth.py b/async_oauthlib/oauth1_auth.py index 27bd4a3..0ef3dc6 100644 --- a/async_oauthlib/oauth1_auth.py +++ b/async_oauthlib/oauth1_auth.py @@ -66,7 +66,7 @@ def __init__( **kwargs ) - def __call__(self, r): + async def __call__(self, r): """Add OAuth parameters to the request. Parameters may be included from the body if the content-type is diff --git a/async_oauthlib/oauth1_session.py b/async_oauthlib/oauth1_session.py index 35dc986..2cd37bf 100644 --- a/async_oauthlib/oauth1_session.py +++ b/async_oauthlib/oauth1_session.py @@ -269,8 +269,7 @@ async def fetch_request_token(self, url, realm=None, **kwargs): :param url: The request token endpoint URL. :param realm: A list of realms to request access to. - :param kwargs: Optional arguments passed to ''post'' - function in ''aiohttp.ClientSession'' + :param kwargs: Optional arguments passed to ''post'' function in ''aiohttp.ClientSession'' :returns: The response in dict format. Note that a previously set callback_uri will be reset for your diff --git a/docs/examples/outlook.rst b/docs/examples/outlook.rst index e55774a..850841f 100644 --- a/docs/examples/outlook.rst +++ b/docs/examples/outlook.rst @@ -1,5 +1,5 @@ Outlook Calendar OAuth 2 Tutorial -========================== +================================= Create a new web application client in the `Microsoft Application Registration Portal`_ When you have obtained a ``client_id``, ``client_secret`` and registered