class documentation

class SimpleTemplate(BaseTemplate):

View In Hierarchy

Undocumented

Method render Render the template using keyword arguments as local variables.
Method ​_include Undocumented
Method ​_rebase Undocumented
Method execute Undocumented
Method prepare Run preparations (parsing, caching, ...). It should be possible to call this again to refresh a template or to update settings.
Instance Variable ​_escape Undocumented
Instance Variable ​_str Undocumented
Instance Variable cache Undocumented
Instance Variable syntax Undocumented
Property co Undocumented
Property code Undocumented

Inherited from BaseTemplate:

Class Method global​_config This reads or sets the global settings stored in class.settings.
Class Method search Search name in all directories specified in lookup. First without, then with common extensions. Return first hit.
Method __init__ No summary
Class Variable defaults Undocumented
Class Variable extensions Undocumented
Instance Variable encoding Undocumented
Instance Variable filename Undocumented
Instance Variable lookup Undocumented
Instance Variable name Undocumented
Instance Variable settings Undocumented
Instance Variable source Undocumented
def render(self, *args, **kwargs):
Render the template using keyword arguments as local variables.
def _include(self, _env, _name=None, **kwargs):

Undocumented

def _rebase(self, _env, _name=None, **kwargs):

Undocumented

def execute(self, _stdout, kwargs):

Undocumented

def prepare(self, escape_func=html_escape, noescape=False, syntax=None, **ka):
Run preparations (parsing, caching, ...). It should be possible to call this again to refresh a template or to update settings.
_escape =

Undocumented

_str =

Undocumented

cache: dict =

Undocumented

syntax =

Undocumented

Undocumented

@cached_property
code =

Undocumented