{% if value|length -%}
self.{{name}} = {{value}}
{% else -%}
self.{{name}} = None
{% endif -%}
