Skip to content

Commit 1aa4d5d

Browse files
committed
Remove bad comma in endpoint_macros.pyi
1 parent 849be6e commit 1aa4d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_python_client/templates/endpoint_macros.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if {{ property.python_name }} is not None:
6161
{% else %}
6262
) -> Union[
6363
{% for response in endpoint.responses %}
64-
{{ response.return_string() }},
64+
{{ response.return_string() }}{{ "," if not loop.last }}
6565
{% endfor %}
6666
]:
6767
{% endif %}

0 commit comments

Comments
 (0)