wxyz.tpl_jinja#

Isomorphic widget for rendering jinja2 templates

class wxyz.tpl_jinja.Template(**kwargs: Any)[source]#

Bases: Fn, JinjaBase

Transforms text source into text output with a given context

mode#

whether to execute transformations on the client and/or the kernel

source: any#

the source

the_function(source, context)[source]#

render a source given a context

the_observer(*_)#

Base observer that updates value and/or error

value: any#

the value produced by evaluating the function