from typing import NamedTuple from datetime import datetime class Task(NamedTuple): id: int created_at: int modified_at: int name: str tag: str class TaskForm(NamedTuple): name: str tag: str