def get_template_attribute(self, filename, attribute):
        template = self.environment.get_template(filename)
        return getattr(template.module, attribute)
Loads a macro (or variable) a template exports.  This can be used to
dataset/ETHPy150Open moraes/tipfy/tipfyext/jinja2/__init__.py/Jinja2.get_template_attribute