Skip to content

Commit ba53126

Browse files
authored
Fix importing DirectiveLocation directly from graphql (#477)
Should fix running gql with graphql-core 3.3.0a5
1 parent 9052403 commit ba53126

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: gql/utilities/build_client_schema.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
from graphql import GraphQLSchema, IntrospectionQuery
1+
from graphql import DirectiveLocation, GraphQLSchema, IntrospectionQuery
22
from graphql import build_client_schema as build_client_schema_orig
33
from graphql.pyutils import inspect
4-
from graphql.utilities.get_introspection_query import (
5-
DirectiveLocation,
6-
IntrospectionDirective,
7-
)
4+
from graphql.utilities.get_introspection_query import IntrospectionDirective
85

96
__all__ = ["build_client_schema"]
107

0 commit comments

Comments
 (0)