swingmusic/app/models/folder.py
geoffrey45 e3ec9db989 add method and route to search across tracks, albums and artists.
+ break models into separate files
+ same for the utils and setup
2023-03-09 13:08:50 +03:00

11 lines
184 B
Python

from dataclasses import dataclass
@dataclass(slots=True, frozen=True)
class Folder:
name: str
path: str
has_tracks: bool
is_sym: bool = False
path_hash: str = ""