s1ngledoge's picture
upd
1c8d1ba
Raw
History Blame Contribute Delete
302 Bytes
from __future__ import annotations
from typing import TypedDict
GalleryItem = tuple[str, str]
class ResultState(TypedDict):
id: str
path: str
filename: str
category: str
score: float
choice_label: str
class FavoriteState(ResultState, total=False):
favorite_path: str