Skip to content

Commit

Permalink
Missing annotated types
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee authored May 19, 2024
1 parent 9427ac4 commit 38d3924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aag/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_'
Expand Down

0 comments on commit 38d3924

Please sign in to comment.