Introduce core library model

This commit is contained in:
Philip Guzman
2026-06-30 10:10:14 -07:00
parent 508eecd0bd
commit 09167e44c7
9 changed files with 108 additions and 32 deletions
+13
View File
@@ -0,0 +1,13 @@
from dataclasses import dataclass
from pathlib import Path
from typing import Tuple
from serato_doctor.models.reference import TrackReference
@dataclass(frozen=True)
class Crate:
"""A Serato crate and the track references parsed from it."""
path: Path
references: Tuple[TrackReference, ...]