from pydantic import BaseModel from typing import Optional class Task(BaseModel): category: str task_name: str status: str progress: str # e.g., "75%" or "In Progress" notes: Optional[str] = "" class ProgressReport(BaseModel): tasks: list[Task]