File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ def build_response(
333
333
return ExecutionResult (data , errors )
334
334
335
335
def execute_operation (
336
- self , operation : OperationDefinitionNode , root_value : Any
336
+ self , operation : OperationDefinitionNode
337
337
) -> Optional [AwaitableOrValue [Any ]]:
338
338
"""Execute an operation.
339
339
@@ -355,13 +355,11 @@ def execute_operation(
355
355
operation .selection_set ,
356
356
)
357
357
358
- path = None
359
-
360
358
return (
361
359
self .execute_fields_serially
362
360
if operation .operation == OperationType .MUTATION
363
361
else self .execute_fields
364
- )(root_type , root_value , path , root_fields )
362
+ )(root_type , self . root_value , None , root_fields )
365
363
366
364
def execute_fields_serially (
367
365
self ,
@@ -1029,7 +1027,7 @@ def execute(
1029
1027
build_response = exe_context .build_response
1030
1028
try :
1031
1029
operation = exe_context .operation
1032
- result = exe_context .execute_operation (operation , root_value )
1030
+ result = exe_context .execute_operation (operation )
1033
1031
1034
1032
if exe_context .is_awaitable (result ):
1035
1033
# noinspection PyShadowingNames
You can’t perform that action at this time.
0 commit comments