File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,9 @@ def build(
250
250
251
251
For internal use only.
252
252
"""
253
+ # If arguments are missing or incorrect, throw an error.
254
+ assert_valid_execution_arguments (schema , document , raw_variable_values )
255
+
253
256
operation : Optional [OperationDefinitionNode ] = None
254
257
fragments : Dict [str , FragmentDefinitionNode ] = {}
255
258
middleware_manager : Optional [MiddlewareManager ] = None
@@ -988,9 +991,6 @@ def execute(
988
991
If the arguments to this function do not result in a legal execution context,
989
992
a GraphQLError will be thrown immediately explaining the invalid input.
990
993
"""
991
- # If arguments are missing or incorrect, throw an error.
992
- assert_valid_execution_arguments (schema , document , variable_values )
993
-
994
994
if execution_context_class is None :
995
995
execution_context_class = ExecutionContext
996
996
You can’t perform that action at this time.
0 commit comments