MCPcopy Index your code
hub / github.com/webpy/webpy / frender

Function frender

web/template.py:1186–1188  ·  view source on GitHub ↗

Creates a template from the given file path.

(path, **keywords)

Source from the content-addressed store, hash-verified

1184
1185
1186def frender(path, **keywords):
1187 """Creates a template from the given file path."""
1188 return Template(open(path, encoding="utf-8").read(), filename=path, **keywords)
1189
1190
1191def compile_templates(root):

Callers

nothing calls this directly

Calls 1

TemplateClass · 0.85

Tested by

no test coverage detected