

@App.template_render(extension='.format')
def get_format_render(loader, name, original_render):
    template = loader.get(loader)

    def render(content, request):
        return original_render(template.render(**content), request)
    return render

dataset/ETHPy150Open morepath/morepath/morepath/tests/fixtures/template_override.py get_format_render/VarMisuse@30/38 `name`->`loader`