Skip to content

Commit 0e0525b

Browse files
committed
Fix indentation in union property template
When calling out to the template of an inner property
1 parent c858ee9 commit 0e0525b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_python_client/templates/property_templates/union_property.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ else:
4545
{% endif %}
4646
{% if inner_property.template %}
4747
{% from "property_templates/" + inner_property.template import transform %}
48-
{{ transform(inner_property, source, destination) | indent(8) }}
48+
{{ transform(inner_property, source, destination) | indent(4) }}
4949
{% else %}
5050
{{ destination }} = {{ source }}
5151
{% endif %}

0 commit comments

Comments
 (0)