MCPcopy
hub / github.com/pyload/pyload / render

Method render

module/lib/bottle.py:2755–2760  ·  view source on GitHub ↗

Render the template using keyword arguments as local variables.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2753 return env
2754
2755 def render(self, *args, **kwargs):
2756 """ Render the template using keyword arguments as local variables. """
2757 for dictarg in args: kwargs.update(dictarg)
2758 stdout = []
2759 self.execute(stdout, kwargs)
2760 return ''.join(stdout)
2761
2762
2763def template(*args, **kwargs):

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
joinMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected