Skip to content

Commit d1de4b0

Browse files
authored
Fix a typo in a deprecation warning
The deprecation warning says : ```"variable_values has been deprecated. Please use values=... instead.",``` But, the key argument written here should be `variables` and not `values`, as it is written above at line 85 : ```if variables is None and "variable_values" in options:```
1 parent 02605b1 commit d1de4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/execution/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def execute(
8484
context = options["context_value"]
8585
if variables is None and "variable_values" in options:
8686
warnings.warn(
87-
"variable_values has been deprecated. Please use values=... instead.",
87+
"variable_values has been deprecated. Please use variables=... instead.",
8888
category=DeprecationWarning,
8989
stacklevel=2,
9090
)

0 commit comments

Comments
 (0)