Partial fix for mypy issues

This commit is contained in:
Ian Renton
2026-09-20 20:42:16 +01:00
parent 93ea27510f
commit 203758fa2d
25 changed files with 244 additions and 147 deletions
@@ -28,6 +28,7 @@ class APISolarConditionsHandler(tornado.web.RequestHandler):
def get(self) -> None:
try:
assert self._solar_conditions is not None, "initialize() must be called before get()"
self.write(self._solar_conditions.to_json())
self.set_status(200)
self.set_header("Cache-Control", "no-store")