summaryrefslogtreecommitdiff
path: root/api/schemas/sensor.py
blob: e03837802cef696b17bc3fc4736a9b2903594f38 (plain)
1
2
3
4
5
6
from pydantic import BaseModel

class PostSensor(BaseModel):
    name: str
    installation_date: int | None = None
    station_id: int