MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / render

Method render

21-async/mojifinder/bottle.py:3296–3300  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

3294 self.tpl = Template(uri=self.name, filename=self.filename, lookup=lookup, **options)
3295
3296 def render(self, *args, **kwargs):
3297 for dictarg in args: kwargs.update(dictarg)
3298 _defaults = self.defaults.copy()
3299 _defaults.update(kwargs)
3300 return self.tpl.render(**_defaults)
3301
3302
3303class CheetahTemplate(BaseTemplate):

Callers

nothing calls this directly

Calls 3

updateMethod · 0.45
copyMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected