initial prototype for autokanban

This commit is contained in:
Aron Petau 2025-10-20 22:41:13 +02:00
commit e03b3014fe
5647 changed files with 345269 additions and 0 deletions

14
app/models.py Normal file
View file

@ -0,0 +1,14 @@
from pydantic import BaseModel
from typing import List
import uuid
class Task(BaseModel):
id: str
content: str
user: str
priority: int # 1 (low) to 5 (high)
status: str # pending, approved, printed
@staticmethod
def create(content: str, user: str, priority: int):
return Task(id=str(uuid.uuid4()), content=content, user=user, priority=priority, status="pending")