MCPcopy Index your code
hub / github.com/nodejs/node / list_templates

Method list_templates

tools/inspector_protocol/jinja2/loaders.py:93–97  ·  view source on GitHub ↗

Iterates over all templates. If the loader does not support that it should raise a :exc:`TypeError` which is the default behavior.

(self)

Source from the content-addressed store, hash-verified

91 raise TemplateNotFound(template)
92
93 def list_templates(self):
94 """Iterates over all templates. If the loader does not support that
95 it should raise a :exc:`TypeError` which is the default behavior.
96 """
97 raise TypeError('this loader cannot iterate over all templates')
98
99 @internalcode
100 def load(self, environment, name, globals=None):

Callers 2

list_templatesMethod · 0.45
list_templatesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected