solarforecastarbiter.datamodel.BaseModel.to_dict

BaseModel.to_dict()[source]

Convert the dataclass into a dictionary suitable for uploading to the API. This means some types (such as pandas.Timedelta and times) are converted to strings.