Iterates over all templates. If the loader does not support that it should raise a :exc:`TypeError` which is the default behavior.
(self)
| 99 | raise TemplateNotFound(template) |
| 100 | |
| 101 | def list_templates(self) -> t.List[str]: |
| 102 | """Iterates over all templates. If the loader does not support that |
| 103 | it should raise a :exc:`TypeError` which is the default behavior. |
| 104 | """ |
| 105 | raise TypeError("this loader cannot iterate over all templates") |
| 106 | |
| 107 | @internalcode |
| 108 | def load( |
no outgoing calls