Start showing images in gallery (requires tidy)

This commit is contained in:
Julian Stirling 2026-06-04 17:30:28 +01:00
parent 1e12900506
commit 5a07721fc2
6 changed files with 123 additions and 29 deletions

View file

@ -8,7 +8,7 @@ import shutil
import threading
import zipfile
from datetime import datetime, timedelta
from typing import Any, Mapping, Optional, Self
from typing import Any, Literal, Mapping, Optional, Self
from pydantic import (
BaseModel,
@ -55,6 +55,8 @@ class ScanInfo(BaseModel):
number_of_images: int
stitch_available: bool
dzi: Optional[str]
thing: str = "smart_scan"
card_type: Literal["Scan"] = "Scan"
class BaseScanData(BaseModel):