From 7f4e29c19aa42431ec12a2abd6533d337bef3130 Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Sun, 7 Aug 2022 18:37:27 -0600 Subject: [PATCH] chore: Remove some leftover code --- .../templates/property_templates/union_property.py.jinja | 1 - 1 file changed, 1 deletion(-) diff --git a/openapi_python_client/templates/property_templates/union_property.py.jinja b/openapi_python_client/templates/property_templates/union_property.py.jinja index 039709369..4d43fafc0 100644 --- a/openapi_python_client/templates/property_templates/union_property.py.jinja +++ b/openapi_python_client/templates/property_templates/union_property.py.jinja @@ -71,7 +71,6 @@ if isinstance({{ source }}, {{ inner_property.get_instance_type_string() }}): {% set ns.has_if = true %} {% elif not loop.last or ns.contains_properties_without_transform %} elif isinstance({{ source }}, {{ inner_property.get_instance_type_string() }}): - {% set has_first_clause = true %} {% else %} else: {% endif %}