Report¶
- class Report(report_id=None, name=None, position_source_id=None, position_source_type=None, report_type=None, parameters=None, earliest_start_date=None, latest_end_date=None, latest_execution_time=None, status=ReportStatus.new, percentage_complete=None)[source]¶
General report class
Methods
- __init__(report_id=None, name=None, position_source_id=None, position_source_type=None, report_type=None, parameters=None, earliest_start_date=None, latest_end_date=None, latest_execution_time=None, status=ReportStatus.new, percentage_complete=None)[source]¶
- run(start_date=None, end_date=None, backcast=False, is_async=True)[source]¶
Run a report with the given date range
- Parameters:
start_date (
Optional
[date
]) – start date (optional)end_date (
Optional
[date
]) – end date (optional)backcast (
bool
) – set to true if the report should be backcasted; defaults to falseis_async (
bool
) – return immediately (true) or wait for results (false); defaults to true