diff options
| author | Gustavoeklund01 <eklundgu@gmail.com> | 2025-11-04 18:52:57 -0300 |
|---|---|---|
| committer | Gustavoeklund01 <eklundgu@gmail.com> | 2025-11-04 18:52:57 -0300 |
| commit | e3b41c5c24488a48b552fb7aeffe250574b9c8a8 (patch) | |
| tree | a9529250bba5965e8b9f5981295ad75b25247771 /api/schemas/sensor.py | |
| parent | 6e845c8fc10905e51f3c0bb081bc4a09e7062883 (diff) | |
| parent | cc1b5e2f48ef62670be05ccfc6346b16b61844c8 (diff) | |
Merge branch 'master' of https://github.com/Simplesmente-O-Grupo/iot-monitoring
Diffstat (limited to 'api/schemas/sensor.py')
| -rw-r--r-- | api/schemas/sensor.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/schemas/sensor.py b/api/schemas/sensor.py index e69de29..e038378 100644 --- a/api/schemas/sensor.py +++ b/api/schemas/sensor.py @@ -0,0 +1,6 @@ +from pydantic import BaseModel + +class PostSensor(BaseModel): + name: str + installation_date: int | None = None + station_id: int
\ No newline at end of file |
