Skip to content

Commit

Permalink
Fix lint with 'make check'
Browse files Browse the repository at this point in the history
  • Loading branch information
leszekhanusz committed Dec 12, 2024
1 parent d7329c4 commit a78ece9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/code_examples/fastapi_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from fastapi import FastAPI, HTTPException
from fastapi.responses import HTMLResponse

from gql import Client, gql
from gql.transport.aiohttp import AIOHTTPTransport

Expand Down
2 changes: 1 addition & 1 deletion gql/transport/appsync_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class AppSyncIAMAuthentication(AppSyncAuthentication):
.. note::
There is no need for you to use this class directly, you could instead
intantiate the :class:`gql.transport.appsync_websockets.AppSyncWebsocketsTransport`
intantiate :class:`gql.transport.appsync_websockets.AppSyncWebsocketsTransport`
without an auth argument.
During initialization, this class will use botocore to attempt to
Expand Down
8 changes: 4 additions & 4 deletions gql/transport/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def __init__(
"""Initialize the transport with the given request parameters.
:param url: The GraphQL server URL.
:param headers: Dictionary of HTTP Headers to send with :meth:`requests.Session.request`
(Default: None).
:param cookies: Dict or CookieJar object to send with :meth:`requests.Session.request`
(Default: None).
:param headers: Dictionary of HTTP Headers to send with
:meth:`requests.Session.request` (Default: None).
:param cookies: Dict or CookieJar object to send with
:meth:`requests.Session.request` (Default: None).
:param auth: Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth
(Default: None).
:param use_json: Send request body as JSON instead of form-urlencoded
Expand Down

0 comments on commit a78ece9

Please sign in to comment.