diff options
Diffstat (limited to 'src/model/task.py')
-rw-r--r-- | src/model/task.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/model/task.py b/src/model/task.py deleted file mode 100644 index 69f9807..0000000 --- a/src/model/task.py +++ /dev/null @@ -1,22 +0,0 @@ -from typing import NamedTuple, List - -from model.difficulty import Difficulty -from model.priority import Priority - -class Task(NamedTuple): - id: int - created_at: int - updated_at: int - name: str - duration: int - difficulty: Difficulty - priority: Priority - description: str - -class ValidTaskForm(NamedTuple): - name: str - duration: int - difficulty: Difficulty - priority: Priority - tags: List[int] - description: str |