Skip to content

Commit ec5dfe1

Browse files
committed
Add async_helpers to mypyc build configuration
- Add graphql/execution/async_helpers.py to MYPYC_MODULES - Fix import to use direct module import to avoid mypyc name collision
1 parent d48924d commit ec5dfe1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build_mypyc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"graphql/execution/collect_fields.py",
3939
"graphql/execution/values.py",
4040
"graphql/execution/execute_sync.py",
41+
"graphql/execution/async_helpers.py",
4142
]
4243

4344

src/graphql/execution/async_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from typing import TYPE_CHECKING, Any, Awaitable, Sequence
1111

12-
from ..pyutils import gather_with_cancel
12+
from ..pyutils.gather_with_cancel import gather_with_cancel
1313

1414
if TYPE_CHECKING:
1515
from .types import ExecutionResult, ExperimentalIncrementalExecutionResults

0 commit comments

Comments
 (0)