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 a75005a commit 7b9ded2Copy full SHA for 7b9ded2
tests/execution/test_lists.py
@@ -1,6 +1,6 @@
1
from pytest import mark # type: ignore
2
3
-from graphql.execution import execute, ExecutionResult
+from graphql.execution import execute, execute_sync, ExecutionResult
4
from graphql.language import parse
5
from graphql.utilities import build_schema
6
@@ -16,7 +16,7 @@ async def get_async(value):
16
17
def describe_execute_accepts_any_iterable_as_list_value():
18
def _complete(list_field):
19
- return execute(
+ return execute_sync(
20
build_schema("type Query { listField: [String] }"),
21
parse("{ listField }"),
22
Data(list_field),
0 commit comments