Skip to main content

explain_template_loading_attempts

This should help developers understand what failed

def explain_template_loading_attempts(
app: App,
template: str,
attempts: list[tuple[BaseLoader, Scaffold, tuple | None]]
) - > null

This should help developers understand what failed

Parameters

NameTypeDescription
appAppThe Flask application instance whose logger will be used to output the debug information.
templatestrThe name or path of the template that the system attempted to load.
attempts`list[tuple[BaseLoader, Scaffold, tupleNone]]`

Returns

TypeDescription
nullNothing; the output is sent directly to the application logger.