File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 10
10
11
11
from fastapi import FastAPI , HTTPException
12
12
from fastapi .responses import HTMLResponse
13
+
13
14
from gql import Client , gql
14
15
from gql .transport .aiohttp import AIOHTTPTransport
15
16
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class AppSyncIAMAuthentication(AppSyncAuthentication):
91
91
92
92
.. note::
93
93
There is no need for you to use this class directly, you could instead
94
- intantiate the :class:`gql.transport.appsync_websockets.AppSyncWebsocketsTransport`
94
+ intantiate :class:`gql.transport.appsync_websockets.AppSyncWebsocketsTransport`
95
95
without an auth argument.
96
96
97
97
During initialization, this class will use botocore to attempt to
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ def __init__(
54
54
"""Initialize the transport with the given request parameters.
55
55
56
56
:param url: The GraphQL server URL.
57
- :param headers: Dictionary of HTTP Headers to send with :meth:`requests.Session.request`
58
- (Default: None).
59
- :param cookies: Dict or CookieJar object to send with :meth:`requests.Session.request`
60
- (Default: None).
57
+ :param headers: Dictionary of HTTP Headers to send with
58
+ :meth:`requests.Session.request` (Default: None).
59
+ :param cookies: Dict or CookieJar object to send with
60
+ :meth:`requests.Session.request` (Default: None).
61
61
:param auth: Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth
62
62
(Default: None).
63
63
:param use_json: Send request body as JSON instead of form-urlencoded
You can’t perform that action at this time.
0 commit comments