Renders query results as a YAML document, with each row represented as a numbered mapping of lowercased column names to values.
YAML — set as ReportType in def_report.
def Render(self, param1: str="", param2: str="", param3: str="") -> str:
No parameters affect the query. Iterates over self.data_list, using self.FieldNames as YAML keys (lowercased). Each row is stored under an integer key (1-based) in an OrderedDict. Cell values are passed through process_text. Returns the raw YAML string (not wrapped in HTML).
yaml.dump with default_flow_style=False and sort_keys=False to preserve column order.PyYAML to be installed.