render#

StatisticalGenerator.render(*, context=None, item_filter: str = '', embed_scene_data: bool = False, request=None) str#

Render the template to HTML.

Parameters:
contextdict, optional

Additional context passed to the rendering engine.

item_filterstr, optional

ADR query string used to select Item instances.

embed_scene_data: bool, optional
Whether to include full scene data for 3D visualizations in the output HTML.

This can increase the size of the output significantly, so it is disabled by default.

requestHttpRequest, optional

Django request object, if available.

Returns:
str

Rendered HTML string for the report.