Helper jinja2 maccro to implement callbacks for python