Skip to content

Commit 26d03c1

Browse files
committed
Fixed errors
1 parent f62eddc commit 26d03c1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

graphql/pyutils/contain_subset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
obj = (dict, list, tuple)
22

3+
34
def contain_subset(expected, actual):
45
t_actual = type(actual)
56
t_expected = type(expected)
@@ -21,4 +22,4 @@ def contain_subset(expected, actual):
2122
continue
2223
if ao != eo:
2324
return False
24-
return True
25+
return True

graphql/type/schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from collections import OrderedDict
2+
from functools import reduce
23

34
from ..utils.type_comparators import is_equal_type, is_type_sub_type_of
45
from .definition import (GraphQLInputObjectType, GraphQLInterfaceType,

0 commit comments

Comments
 (0)