File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1438,7 +1438,7 @@ def __exit__(self, *args: Any) -> None:
1438
1438
def execute (
1439
1439
self ,
1440
1440
request : str | graphql .Source ,
1441
- variable_values : dict ,
1441
+ variable_values : dict [ str , Any ] ,
1442
1442
* args : Any ,
1443
1443
** kwargs : Any ,
1444
1444
) -> Any :
@@ -1680,7 +1680,11 @@ async def __aexit__(self, *args: Any) -> None:
1680
1680
await self ._http_client .aclose ()
1681
1681
1682
1682
async def execute (
1683
- self , request : str | graphql .Source , * args : Any , ** kwargs : Any
1683
+ self ,
1684
+ request : str | graphql .Source ,
1685
+ variable_values : dict [str , Any ],
1686
+ * args : Any ,
1687
+ ** kwargs : Any ,
1684
1688
) -> Any :
1685
1689
parsed_document = self ._gql (request )
1686
1690
retry = utils .Retry (
@@ -1692,7 +1696,7 @@ async def execute(
1692
1696
while True :
1693
1697
try :
1694
1698
result = await self ._client .execute_async (
1695
- parsed_document , * args , ** kwargs
1699
+ parsed_document , variable_values = variable_values , * args , ** kwargs
1696
1700
)
1697
1701
except gql .transport .exceptions .TransportServerError as e :
1698
1702
if retry .handle_retry_on_status (
You can’t perform that action at this time.
0 commit comments