Renders a timeline view of all SQL calculations in a given calculation group, showing each step's SQL with syntax highlighting and its output variable name.
Calculation — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — the CalculationGroup value used to filter def_calculations. Only active calculations (active='Y') in this group are shown, ordered by rank.
Returns an HTML <ul class="timeline"> fragment. Each list item shows the step number, optional description, available upstream variables, and the formatted SQL. Steps that produce a result (HasResult='Y') are highlighted with a red database icon, and their output is listed as $calculationname$ for downstream steps.
sqlparse to reindent SQL for display.highlight.js (loaded via CDN) for code block colouring; hljs.highlightAll() is called at the end of the output.def_calculations.