From 92121da8d2d3f1b5025441edda35f05438d4fe0c Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Sat, 24 Feb 2024 16:30:53 +0300 Subject: [PATCH] chore: remove Junior status --- src/schemas/participant.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/schemas/participant.py b/src/schemas/participant.py index 0baaca0..437abc6 100644 --- a/src/schemas/participant.py +++ b/src/schemas/participant.py @@ -6,7 +6,6 @@ class ParticipantStatus(StrEnum): FREE = "free" - JUNIOR = "junior" MIDDLE = "middle" SENIOR = "senior" LORD = "lord" @@ -14,8 +13,6 @@ class ParticipantStatus(StrEnum): def max_hours_to_book_per_day(self) -> Optional[int]: if self == ParticipantStatus.FREE: return 2 - elif self == ParticipantStatus.JUNIOR: - return 2 elif self == ParticipantStatus.MIDDLE: return 3 elif self == ParticipantStatus.SENIOR: @@ -27,8 +24,6 @@ def max_hours_to_book_per_day(self) -> Optional[int]: def max_hours_to_book_per_week(self) -> Optional[int]: if self == ParticipantStatus.FREE: return 4 - elif self == ParticipantStatus.JUNIOR: - return 5 elif self == ParticipantStatus.MIDDLE: return 8 elif self == ParticipantStatus.SENIOR: