@@ -3,7 +3,7 @@ | |||
{{output_key}} = {{object.get('lookup_key')}} | |||
{%- endif %} | |||
{%- endmacro %} | |||
{%- macro output_list_if_set(lookup_key, output_key) %} | |||
{%- macro output_list_if_set(object, lookup_key, output_key) %} | |||
{%- for item in object.get(lookup_key, []) %} | |||
{{output_key}} = {{item}} | |||
{%- endfor %} |