MCPcopy
hub / github.com/pyload/pyload / subtemplate

Method subtemplate

module/lib/bottle.py:2733–2737  ·  view source on GitHub ↗
(self, _name, _stdout, *args, **kwargs)

Source from the content-addressed store, hash-verified

2731 return '\n'.join(codebuffer) + '\n'
2732
2733 def subtemplate(self, _name, _stdout, *args, **kwargs):
2734 for dictarg in args: kwargs.update(dictarg)
2735 if _name not in self.cache:
2736 self.cache[_name] = self.__class__(name=_name, lookup=self.lookup)
2737 return self.cache[_name].execute(_stdout, kwargs)
2738
2739 def execute(self, _stdout, *args, **kwargs):
2740 for dictarg in args: kwargs.update(dictarg)

Callers 1

executeMethod · 0.95

Calls 2

executeMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected