Skip to content

Commit 75372f1

Browse files
authored
Fixed incomplete MR
1 parent 9ee05c8 commit 75372f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ariadne_codegen/client_generators/custom_arguments.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
GraphQLEnumType,
66
GraphQLInputObjectType,
77
GraphQLInterfaceType,
8+
GraphQLList,
89
GraphQLNonNull,
910
GraphQLObjectType,
1011
GraphQLScalarType,
@@ -93,7 +94,7 @@ def generate_arguments(
9394
return_arguments_values,
9495
arg_name,
9596
name,
96-
final_type,
97+
arg_value.type,
9798
used_custom_scalar,
9899
)
99100

@@ -124,7 +125,7 @@ def _accumulate_return_arguments(
124125
return_arguments_values: List[ast.expr],
125126
arg_name: str,
126127
name: str,
127-
final_type: Union[GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType]
128+
complete_type: Union[GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType],
128129
used_custom_scalar: Optional[str],
129130
) -> None:
130131
"""Accumulates return arguments."""

0 commit comments

Comments
 (0)