blob: 086a84b383d45cfd9325982ca61b174e82e68e9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from typing import NamedTuple, List
from PyQt5 import QtCore
from datetime import date
class Task(NamedTuple):
id: int
created_at: int
updated_at: int
name: str
due_date: date
description: str
class ValidTaskForm(NamedTuple):
name: str
due_date: date
tags: List[int]
description: str
|