interface documentation

class ITemplateLoader(Interface): (source)

Known implementations: twisted.web.template.TagLoader, twisted.web.template.XMLFile, twisted.web.template.XMLString

View In Hierarchy

A loader for templates; something usable as a value for twisted.web.template.Element's loader attribute.

Method load Load a template suitable for rendering.
def load(): (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.