fixml.cli.export

Classes

ExportActions

Module Contents

class fixml.cli.export.ExportActions

Bases: object

static evaluation_report(json_response_path: str, export_path: str, overwrite: bool = False) None

Exports the evaluation report from a given JSON file containing the evaluation response.

The exported format will depend on the extension name provided in output_path. Valid export formats are [“pdf”, “html”, “htm”, “qmd”, “md”].

Parameters:
  • json_response_path (str) – The path to the JSON file containing the evaluation response.

  • export_path (str) – The path to the exported file.

  • overwrite (bool, optional) – The flag to bypass overwrite protection. This is by default False.