Skip to content

Commit bf2daa3

Browse files
committed
Fixed imports and PEP8 syntax
1 parent d02a4fe commit bf2daa3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

graphql/execution/experimental/resolver.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ def normal_map(func, iter):
1818
imap = map
1919

2020

21-
22-
23-
2421
def is_promise(value):
2522
return isinstance(value, Promise)
2623

graphql/execution/experimental/tests/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
from promise import Promise
2+
13
from graphql.execution import ExecutionResult
24
from graphql.language.parser import parse
35
from graphql.language.source import Source
46
from graphql.validation import validate
5-
from promise import Promise
67

78
from ..executor import execute
89

0 commit comments

Comments
 (0)