MCPcopy Create free account
hub / github.com/EasyIME/PIME / load_generate

Method load_generate

python/python3/tornado/test/template_test.py:235–237  ·  view source on GitHub ↗
(path, **kwargs)

Source from the content-addressed store, hash-verified

233 loader = None # type: typing.Optional[DictLoader]
234
235 def load_generate(path, **kwargs):
236 assert loader is not None
237 return loader.load(path).generate(**kwargs)
238
239 loader = DictLoader(
240 {"base.html": "{% module Template('sub.html') %}", "sub.html": "{{1/0}}"},

Callers

nothing calls this directly

Calls 2

generateMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected