From 38d3924ed2b13fa23912feb3e6772589dff4fa57 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Sun, 19 May 2024 09:23:41 -1000 Subject: [PATCH] Missing annotated types --- src/aag/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aag/settings.py b/src/aag/settings.py index 5cd818b..48ae965 100644 --- a/src/aag/settings.py +++ b/src/aag/settings.py @@ -37,8 +37,8 @@ class WeatherSettings(BaseSettings): capture_delay: float = 30 # seconds num_readings: int = 10 ignore_unsafe: bool | None = None # None, otherwise can be a list, e.g. 'rain','cloud','gust','wind' - thresholds = Thresholds() - heater = Heater() + thresholds: Thresholds = Thresholds() + heater: Heater = Heater() class Config: env_prefix = 'AAG_'