Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@dataclass(frozen=True, eq=True)
class SiteStats:
"""Reporting stats for a site."""
last_reporting_time: datetime.datetime
meter_reading_count: int
max_wh_generated: float
min_wh_generated: float
max_capacity: float
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment