8000 tag 2 places · PascalSun/graphql-core@0b1fa8e · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b1fa8e

Browse files
committed
tag 2 places
1 parent 9202021 commit 0b1fa8e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

graphql/execution/executors/asyncio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ def __init__(self, loop=None):
5555
def wait_until_finished(self):
5656
# type: () -> None
5757
# if there are futures to wait for
58-
while self.futures:
58+
# while self.futures:
5959
# wait for the futures to finish
60-
futures = self.futures
61-
self.futures = []
62-
self.loop.run_until_complete(wait(futures))
60+
futures = self.futures
61+
self.futures = []
62+
self.loop.run_until_complete(wait(futures))
6363

6464
def clean(self):
6565
self.futures = []

graphql/execution/executors/sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ def clean(self):
1313

1414
def execute(self, fn, *args, **kwargs):
1515
# type: (Callable, *Any, **Any) -> Any
16+
print('execute')
1617
return fn(*args, **kwargs)

0 commit comments

Comments
 (0)
0