solarforecastarbiter.datamodel.PreprocessingResult

class solarforecastarbiter.datamodel.PreprocessingResult(name: str, count: int)[source]

Stores summary information to record preprocessing results that detail how data has been handled.

Parameters:
  • name (str) – The human readable name noting the process and data applied.
  • count (int) – The number of timestamps that were managed in the process.
__init__(name: str, count: int) → None

Methods

__init__(name, count)
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.