Skip to content

Commit d512d8b

Browse files
authored
chore: Remove some leftover code (#649)
1 parent c118271 commit d512d8b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openapi_python_client/templates/property_templates/union_property.py.jinja

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ if isinstance({{ source }}, {{ inner_property.get_instance_type_string() }}):
7171
{% set ns.has_if = true %}
7272
{% elif not loop.last or ns.contains_properties_without_transform %}
7373
elif isinstance({{ source }}, {{ inner_property.get_instance_type_string() }}):
74-
{% set has_first_clause = true %}
7574
{% else %}
7675
else:
7776
{% endif %}

0 commit comments

Comments
 (0)