From fa7a1b51be5a3cf21bf1f606c100bfc8c98346da Mon Sep 17 00:00:00 2001 From: shiying Date: Tue, 21 Jan 2025 18:51:53 +0000 Subject: [PATCH] Unfreeze applicant class --- src/shortlister/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shortlister/model.py b/src/shortlister/model.py index 2a96e10..bbd8ff9 100644 --- a/src/shortlister/model.py +++ b/src/shortlister/model.py @@ -26,11 +26,11 @@ def __repr__(self) -> str: return self.name -@dataclass(frozen=True) +@dataclass class Applicant: """A property of Shortlist - contained within the attribute applicants(list of Applicant objects).""" - name: str = field(compare=True) + name: str cv: Path email: str phone: str