Skip to content

Commit 031b75b

Browse files
committed
fix formatting issues
1 parent 333acfa commit 031b75b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

python_graphql_client/graphql_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ async def execute_async(
6969

7070
async with aiohttp.ClientSession() as session:
7171
async with session.post(
72-
self.endpoint, json=request_body, headers={**self.headers, **headers},
72+
self.endpoint,
73+
json=request_body,
74+
headers={**self.headers, **headers},
7375
) as response:
7476
return await response.json()
7577

tests/test_graphql_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def test_execute_query_with_options(self, post_mock):
104104
"""Sends a graphql POST request with headers."""
105105
auth = HTTPBasicAuth("fake@example.com", "not_a_real_password")
106106
client = GraphqlClient(
107-
endpoint="http://www.test-api.com/", options={"auth": auth},
107+
endpoint="http://www.test-api.com/",
108+
options={"auth": auth},
108109
)
109110
query = ""
110111
client.execute(query=query, options={"verify": False})

0 commit comments

Comments
 (0)