tests/models.py

11 lines
172 B
Python
Raw Normal View History

2024-05-31 14:58:46 +03:00
from dataclasses import dataclass
from typing import Any
@dataclass
class SensorData:
mac: str
value: Any
time: int | None = None
name: str | None = None