Skip to content

Commit

Permalink
Remove unnecessary code in execute_fields_serially
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Feb 3, 2022
1 parent 4bb0add commit ab26a04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/graphql/execution/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,6 @@ async def set_result(
)
else:
cast(Dict[str, Any], results)[response_name] = result
if is_awaitable(results):
# noinspection PyShadowingNames
async def get_results() -> Any:
return await cast(Awaitable, results)

return get_results()
return results

def execute_fields(
Expand Down

0 comments on commit ab26a04

Please sign in to comment.