{{ vars.parent_record_marshmallow|generate_import }}
{% if "additional-fields" in vars %}
{% for field in vars.additional_fields.values() %}
{{ field|code_imports }}
{% endfor %}
{% endif %}
class {{ vars.parent_record_marshmallow|class_header }}:
   """"""
   {% if "additional-fields" in vars %}
   {% for field_name, field in vars.additional_fields.items() %}
   {{ field_name }} = {{ field|extra_code }}
   {% endfor %}
   {% endif %}
