def METHOD_NAME(self):
    default_template = current_app.jinja_env.get_template(_DEFAULT_TEMPLATE)
    template = current_app.jinja_env.get_template(self.macros_template)
    default = default_template.module
    m = template.module
    return {
        "m_attachments": getattr(m, "m_attachments", default.m_attachments),
        "m_attachment": getattr(m, "m_attachment", default.m_attachment),
        "m_attachment_form": getattr(
            m, "m_attachment_form", default.m_attachment_form
        ),
    }