Reports
Report properties attached to a ConfigurationBuilder
control how scenario outputs are exported.
ReportProperty — export-time configuration for one report.
- class ReportProperty(export_format, export_interface_key=None)[source]
Export configuration for a single report.
Register on a
ConfigurationBuilderviaadd_report_property(); chainset_*methods to customise visibility and behaviour.- Parameters:
export_format (
ReportExportFormat) –ReportExportFormat(e.g. XLSX, CSV).export_interface_key (
str|None) – Optional key identifying the export interface template; used as a fallback display name.
- set_report_data(report_data)[source]
Attach
ReportDatadescribing the rows that feed this report.- Return type:
- set_file_name_key(file_name_key)[source]
Set the key of the model parameter supplying the export file name.
- Return type:
- set_order_index(order_index)[source]
Set the position of this report in the navigator.
- Return type:
- set_export_csv(export_csv)[source]
Also export this report as CSV alongside its primary format.
- Return type:
Show this report in the side navigator.
- Return type:
- set_name(name)[source]
Set the display name; falls back to
export_interface_keywhen unset.- Return type:
Show this report in the export menu.
- Return type:
ReportData — sheet/feature prerequisites for a ReportProperty.
- class ReportData(required_sheets=None, requires_monte_carlo=False, requires_scenario_comparison=False)[source]
Sheet and feature prerequisites for one report.
- Parameters:
ReportExportFormat — file format for a ReportProperty export.