solarforecastarbiter.datamodel.RawReportPlots

class solarforecastarbiter.datamodel.RawReportPlots(figures: Tuple[solarforecastarbiter.datamodel.ReportFigure, ...], plotly_version: Optional[str] = None, bokeh_version: Optional[str] = None, script: Optional[str] = None)[source]

Class for storing collection of all metric plots on a raw report.

Parameters:
__init__(figures: Tuple[solarforecastarbiter.datamodel.ReportFigure, ...], plotly_version: Optional[str] = None, bokeh_version: Optional[str] = None, script: Optional[str] = None) → None

Methods

__init__(figures, …], plotly_version, …)
from_dict(input_dict[, raise_on_extra]) Construct a dataclass from the given dict, matching keys with the class fields.
replace(**kwargs) Convience wrapper for dataclasses.replace() to create a new dataclasses from the old with the given keys replaced.
to_dict() Convert the dataclass into a dictionary suitable for uploading to the API.

Attributes

bokeh_version
plotly_version
script