human
Complete this python program:
def macro(name):
assistant
#Here is the Python code you requested.

    """Jinja2 macro list column formatter.
    :param name:
    Macro name in the current template
    """
    def inner(view, context, model, column):
        m = context.resolve(name)
        if (not m):
            return m
        return m(model=model, column=column)
    return inner