Skip to content

Commit 27e0cd0

Browse files
committed
executeFields: update grouped field set variable name
Replicates graphql/graphql-js@e17a089
1 parent 0402948 commit 27e0cd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graphql/execution/execute.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ def execute_fields(
882882
parent_type: GraphQLObjectType,
883883
source_value: Any,
884884
path: Path | None,
885-
fields: GroupedFieldSet,
885+
grouped_field_set: GroupedFieldSet,
886886
incremental_data_record: IncrementalDataRecord | None = None,
887887
) -> AwaitableOrValue[dict[str, Any]]:
888888
"""Execute the given fields concurrently.
@@ -894,7 +894,7 @@ def execute_fields(
894894
is_awaitable = self.is_awaitable
895895
awaitable_fields: list[str] = []
896896
append_awaitable = awaitable_fields.append
897-
for response_name, field_group in fields.items():
897+
for response_name, field_group in grouped_field_set.items():
898898
field_path = Path(path, response_name, parent_type.name)
899899
result = self.execute_field(
900900
parent_type,

0 commit comments

Comments
 (0)