Skip to content

Commit f70388c

Browse files
committed
Fixed DocumentNode import
1 parent caef47d commit f70388c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/graphql_server/runtime.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from graphql.execution import execute_sync as graphql_execute_sync
4141
from graphql.execution import subscribe as graphql_subscribe
4242
from graphql.execution.middleware import MiddlewareManager
43-
from graphql.language import OperationType
43+
from graphql.language import DocumentNode, OperationType
4444
from graphql.type import GraphQLSchema
4545
from graphql.type.directives import specified_directives
4646
from graphql.validation import validate
@@ -56,7 +56,6 @@
5656
from typing_extensions import TypeAlias
5757

5858
from graphql.execution.collect_fields import FieldGroup # type: ignore
59-
from graphql.language import DocumentNode
6059
from graphql.pyutils import Path
6160
from graphql.type import GraphQLResolveInfo
6261
from graphql.validation import ASTValidationRule

0 commit comments

Comments
 (0)