ci: fix lint/type errors - missing electrical icons, unused vars, mypy issues

This commit is contained in:
Pranjal Joshi
2026-05-31 14:53:38 +05:30
parent 3a57d809a4
commit d5e35a885d
5 changed files with 45 additions and 29 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ async def load_canvas(
@router.post("/save")
async def save_canvas(
body: CanvasSaveRequest, db: AsyncSession = Depends(get_db), _: str = Depends(get_current_user)
) -> dict[str, bool]:
) -> dict[str, bool | str]:
design_id = body.design_id
if design_id is None:
first = (await db.execute(select(Design).order_by(Design.created_at).limit(1))).scalar()