jinja environment code example
Example: python jinja2 from string
from jinja2 import Environment, BaseLoader
rtemplate = Environment(loader=BaseLoader()).from_string(myString)
data = rtemplate.render(**data)
from jinja2 import Environment, BaseLoader
rtemplate = Environment(loader=BaseLoader()).from_string(myString)
data = rtemplate.render(**data)