We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3371e0 commit f78dabaCopy full SHA for f78daba
python_graphql_client/graphql_client.py
@@ -1,4 +1,5 @@
1
"""Module containing graphQL client."""
2
+
3
import json
4
import logging
5
from typing import Any, Callable
@@ -60,6 +61,7 @@ async def execute_async(
60
61
variables: dict = None,
62
operation_name: str = None,
63
headers: dict = {},
64
+ **kwargs: Any,
65
):
66
"""Make asynchronous request to graphQL server."""
67
request_body = self.__request_body(
@@ -71,6 +73,7 @@ async def execute_async(
71
73
self.endpoint,
72
74
json=request_body,
75
headers={**self.headers, **headers},
76
+ **{**self.options, **kwargs},
77
) as response:
78
return await response.json()
79
0 commit comments