Skip to content

Commit 88e0102

Browse files
committed
isort import fixes.
1 parent cd807c0 commit 88e0102

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

graphql/type/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .definition import (GraphQLInputObjectType, GraphQLInterfaceType,
66
GraphQLList, GraphQLNonNull, GraphQLObjectType,
77
GraphQLUnionType)
8-
from .directives import (GraphQLDirective, specified_directives)
8+
from .directives import GraphQLDirective, specified_directives
99
from .introspection import IntrospectionSchema
1010

1111

graphql/utils/build_ast_schema.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
from collections import OrderedDict
22

3+
from ..execution.values import get_argument_values
34
from ..language import ast
4-
from ..type import (GraphQLArgument, GraphQLBoolean, GraphQLDirective,
5+
from ..type import (GraphQLArgument, GraphQLBoolean,
6+
GraphQLDeprecatedDirective, GraphQLDirective,
57
GraphQLEnumType, GraphQLEnumValue, GraphQLField,
68
GraphQLFloat, GraphQLID, GraphQLIncludeDirective,
79
GraphQLInputObjectField, GraphQLInputObjectType,
810
GraphQLInt, GraphQLInterfaceType, GraphQLList,
911
GraphQLNonNull, GraphQLObjectType, GraphQLScalarType,
1012
GraphQLSchema, GraphQLSkipDirective, GraphQLString,
11-
GraphQLUnionType, GraphQLDeprecatedDirective)
13+
GraphQLUnionType)
1214
from ..type.introspection import (__Directive, __DirectiveLocation,
1315
__EnumValue, __Field, __InputValue, __Schema,
1416
__Type, __TypeKind)
1517
from ..utils.value_from_ast import value_from_ast
16-
from ..execution.values import get_argument_values
1718

1819

1920
def _build_wrapped_type(inner_type, input_type_ast):

graphql/utils/tests/test_build_ast_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from graphql import parse
22
from graphql.utils.build_ast_schema import build_ast_schema
33
from graphql.utils.schema_printer import print_schema
4-
54
from pytest import raises
65

7-
from ...type import GraphQLIncludeDirective, GraphQLSkipDirective, GraphQLDeprecatedDirective
6+
from ...type import (GraphQLDeprecatedDirective, GraphQLIncludeDirective,
7+
GraphQLSkipDirective)
88

99

1010
def cycle_output(body):

graphql/validation/rules/overlapping_fields_can_be_merged.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from collections import OrderedDict
21
import itertools
2+
from collections import OrderedDict
33

44
from ...error import GraphQLError
55
from ...language import ast

graphql/validation/tests/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
GraphQLInterfaceType, GraphQLList, GraphQLNonNull,
88
GraphQLObjectType, GraphQLSchema, GraphQLString,
99
GraphQLUnionType)
10-
from graphql.type.directives import (GraphQLDirective, GraphQLIncludeDirective,
11-
GraphQLSkipDirective, DirectiveLocation)
10+
from graphql.type.directives import (DirectiveLocation, GraphQLDirective,
11+
GraphQLIncludeDirective,
12+
GraphQLSkipDirective)
1213
from graphql.validation import validate
1314

1415
Being = GraphQLInterfaceType('Being', {

0 commit comments

Comments
 (0)