lenticular_cloud2/specs/api_template/property_templates/boolean_property.py.jinja
2022-02-19 10:22:21 +01:00

4 lines
131 B
Django/Jinja

{% macro transform_header(property, source, destination) %}
{{ destination }} = "true" if {{ source }} else "false"
{% endmacro %}