From 27e0cd080e9c6c0edc8520f2607b6163db6459ad Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Sun, 7 Apr 2024 21:58:36 +0200 Subject: [PATCH] executeFields: update grouped field set variable name Replicates graphql/graphql-js@e17a0897f67305626c6090ce0174f101b7a96fc4 --- src/graphql/execution/execute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphql/execution/execute.py b/src/graphql/execution/execute.py index dba46135..6d53fd86 100644 --- a/src/graphql/execution/execute.py +++ b/src/graphql/execution/execute.py @@ -882,7 +882,7 @@ def execute_fields( parent_type: GraphQLObjectType, source_value: Any, path: Path | None, - fields: GroupedFieldSet, + grouped_field_set: GroupedFieldSet, incremental_data_record: IncrementalDataRecord | None = None, ) -> AwaitableOrValue[dict[str, Any]]: """Execute the given fields concurrently. @@ -894,7 +894,7 @@ def execute_fields( is_awaitable = self.is_awaitable awaitable_fields: list[str] = [] append_awaitable = awaitable_fields.append - for response_name, field_group in fields.items(): + for response_name, field_group in grouped_field_set.items(): field_path = Path(path, response_name, parent_type.name) result = self.execute_field( parent_type,