Skip to content

Commit

Permalink
chore: remove Junior status
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Feb 24, 2024
1 parent 7070aee commit 92121da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/schemas/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@

class ParticipantStatus(StrEnum):
FREE = "free"
JUNIOR = "junior"
MIDDLE = "middle"
SENIOR = "senior"
LORD = "lord"

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:
Expand All @@ -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:
Expand Down

0 comments on commit 92121da

Please sign in to comment.