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 b279bfbfe6 - Show all commits
+3 -2
View File
@@ -6,13 +6,14 @@ from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import Boolean, DateTime, Integer, String from sqlalchemy import Boolean, DateTime, Integer, String
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
db: SQLAlchemy = SQLAlchemy()
class Base(DeclarativeBase): class Base(DeclarativeBase):
pass pass
db: SQLAlchemy = SQLAlchemy(model_class=Base)
class CameraStatus(Base): class CameraStatus(Base):
__tablename__ = "camera_status" __tablename__ = "camera_status"