Skip to content

Commit 39a873b

Browse files
committed
rename fields parameter in execute_fields_serially to grouped_field_set
Replicates graphql/graphql-js@5f58075
1 parent 1b6cc58 commit 39a873b

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
@@ -842,7 +842,7 @@ def execute_fields_serially(
842842
parent_type: GraphQLObjectType,
843843
source_value: Any,
844844
path: Path | None,
845-
fields: GroupedFieldSet,
845+
grouped_field_set: GroupedFieldSet,
846846
) -> AwaitableOrValue[dict[str, Any]]:
847847
"""Execute the given fields serially.
848848
@@ -875,7 +875,7 @@ async def set_result(
875875
return results
876876

877877
# noinspection PyTypeChecker
878-
return async_reduce(reducer, fields.items(), {})
878+
return async_reduce(reducer, grouped_field_set.items(), {})
879879

880880
def execute_fields(
881881
self,

0 commit comments

Comments
 (0)