Fixing ruff and mypy issues #20

Merged
letteka merged 3 commits from ruff_mypy_issues into main 2026-05-12 16:42:03 -07:00
-2
View File
@@ -66,7 +66,6 @@ class CameraEvent(Base):
@staticmethod
def recent(limit: int = 50) -> list[CameraEvent]:
return list(
db.session.execute(
db.select(CameraEvent)
.order_by(CameraEvent.timestamp.desc())
@@ -74,5 +73,4 @@ class CameraEvent(Base):
)
.scalars()
.all()
)