class documentation

class TagLoader: (source)

Implements interfaces: twisted.web.iweb.ITemplateLoader

View In Hierarchy

An ITemplateLoader that loads an existing flattenable object.

Method __init__
Instance Variable tag The object which will be loaded.
Method load Load a template suitable for rendering.
def __init__(self, tag): (source)
ParameterstagThe object which will be loaded. (type: Flattenable)

The object which will be loaded.

(type: Flattenable)
def load(self): (source)

Load a template suitable for rendering.

Returnsa list of flattenable objects, such as byte and unicode strings, twisted.web.template.Elements and IRenderable providers. (type: List[Flattenable])
API Documentation for Twisted, generated by pydoctor 21.2.2 at 2021-07-28 08:52:54.