Allow macro assignment to context variables
E
Extraordinary Mockingbird
This doesn't work when assigning to a context variable and I would like it to:
{%- macro mymacro(testarg) -%}
Arg: {{ testarg }}
{%- endmacro -%}
{{- mymacro -}}
End goal is for me to be able to call {{ CTX.mymacro(arghere) }} later in my workflow without having to define it on every step.
Looks like this will need a JSON serializer written for macros in order for it to work.
Log In