Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Add "yearly" PeriodType (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdallaire authored Nov 6, 2020
1 parent 6679d78 commit 336f2d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pygrocy/data_models/chore.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class PeriodType(str, Enum):
DAILY = "daily"
WEEKLY = "weekly"
MONTHLY = "monthly"
YEARLY = "yearly"


class AssignmentType(str, Enum):
Expand Down Expand Up @@ -148,4 +149,4 @@ def track_count(self) -> int:

@property
def next_execution_assigned_user(self) -> User:
return self._next_execution_assigned_user
return self._next_execution_assigned_user

0 comments on commit 336f2d0

Please sign in to comment.