class {{ data.class_name }}({{ data.class_import_name }}, Mixin):
    def __init__(self,
                 {%- if data.is_resource %}
                 title, # type: str
                 template=None, # type: Template
                 validation=True, # type: bool
                 {%- else %}
                 title=None,
                 {%- endif %}
                 {%- for property in data.properties %}
                 {{ property["name"] }}={{ property["default"] }}, # type: {{ property["typehint"] }}
                 {%- endfor %}
                 **kwargs):
        processed_kwargs = preprocess_init_kwargs(
            {%- if data.is_resource %}
            title=title,
            template=template,
            validation=validation,
            {%- else %}
            title=title,
            {%- endif %}
            {%- for property in data.properties %}
            {{ property["name"] }}={{ property["name"] }},
            {%- endfor %}
        )
        super({{ data.class_name }}, self).__init__(**processed_kwargs)
