class documentation

class TemplateModule: (source)

View In Hierarchy

Represents an imported template. All the exported names of the template are available as attributes on this object. Additionally converting it into a string renders the contents.

Method __html__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Instance Variable __name__ Undocumented
Instance Variable _body_stream Undocumented
def __html__(self): (source)

Undocumented

Returns
MarkupUndocumented
def __init__(self, template, context, body_stream=None): (source)

Undocumented

Parameters
template:TemplateUndocumented
context:ContextUndocumented
body_stream:t.Optional[t.Iterable[str]]Undocumented
def __repr__(self): (source)

Undocumented

Returns
strUndocumented
def __str__(self): (source)

Undocumented

Returns
strUndocumented
__name__ = (source)

Undocumented

_body_stream = (source)

Undocumented