Skip to content

Commit

Permalink
executeFields: update grouped field set variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 7, 2024
1 parent 0402948 commit 27e0cd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphql/execution/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down

0 comments on commit 27e0cd0

Please sign in to comment.