I can't seem to figure out how to use a Python function as a macro. I've tried using a function like: def if_cond(arg, caller=None): called as: {% call ... ... <看更多>
Cylc has built in support for the Jinja2 template processor in suite ... A custom global, filter or test is a single Python function in a ... ... <看更多>