Skip to content

Commit

Permalink
Fix importing DirectiveLocation directly from graphql (#477)
Browse files Browse the repository at this point in the history
Should fix running gql with graphql-core 3.3.0a5
  • Loading branch information
leszekhanusz committed Apr 14, 2024
1 parent 9052403 commit ba53126
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gql/utilities/build_client_schema.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from graphql import GraphQLSchema, IntrospectionQuery
from graphql import DirectiveLocation, GraphQLSchema, IntrospectionQuery
from graphql import build_client_schema as build_client_schema_orig
from graphql.pyutils import inspect
from graphql.utilities.get_introspection_query import (
DirectiveLocation,
IntrospectionDirective,
)
from graphql.utilities.get_introspection_query import IntrospectionDirective

__all__ = ["build_client_schema"]

Expand Down

0 comments on commit ba53126

Please sign in to comment.