<reponame>gupy-io/mentoria-python<filename>palestras-conversas/apizinha/models.py<gh_stars>1-10
from pydantic import BaseModel
from typing import List, Dict, Any, Optional
from db import OpStatus


class Todo(BaseModel):
    titulo: str
    status: Optional[OpStatus]


class TodoResponse(Todo):
    id: int
