Skip to content

Commit ab26a04

Browse files
committed
Remove unnecessary code in execute_fields_serially
1 parent 4bb0add commit ab26a04

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/graphql/execution/execute.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,6 @@ async def set_result(
408408
)
409409
else:
410410
cast(Dict[str, Any], results)[response_name] = result
411-
if is_awaitable(results):
412-
# noinspection PyShadowingNames
413-
async def get_results() -> Any:
414-
return await cast(Awaitable, results)
415-
416-
return get_results()
417411
return results
418412

419413
def execute_fields(

0 commit comments

Comments
 (0)