fix(typing): resolve mypy errors in api.routes.controller.images

This commit is contained in:
Mark Paronyan committed 2026-09-29 22:02:20 +03:00
1 parent 81474b4651
commit bbf4e6aa2c
2 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ image_template_map = Table(
class Image(BaseTable):
__tablename__ = "images"
image_id = Column(Integer, primary_key=True, autoincrement=True)
image_id: Mapped[int] = mapped_column(Integer, primary_key=True, autoincrement=True)
filename = Column(String, index=True)
path: Mapped[str] = mapped_column(String, unique=True, nullable=True)
image_type = Column(String)