Fixing ruff and mypy issues #23

Merged
letteka merged 7 commits from new_fixing_sqlalchemy into main 2026-05-16 09:33:40 -07:00
Showing only changes of commit 876f3af1e9 - Show all commits
-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()
)