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

Method render

21-async/mojifinder/bottle.py:3274–3281  ·  view source on GitHub ↗

Render the template with the specified local variables and return a single byte or unicode string. If it is a byte string, the encoding must match self.encoding. This method must be thread-safe! Local variables may be provided in dictionaries (args) or directly, as k

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

3272 raise NotImplementedError
3273
3274 def render(self, *args, **kwargs):
3275 """ Render the template with the specified local variables and return
3276 a single byte or unicode string. If it is a byte string, the encoding
3277 must match self.encoding. This method must be thread-safe!
3278 Local variables may be provided in dictionaries (args)
3279 or directly, as keywords (kwargs).
3280 """
3281 raise NotImplementedError
3282
3283
3284class MakoTemplate(BaseTemplate):

Callers 3

renderMethod · 0.45
renderMethod · 0.45
templateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected