10 lines
139 B
Python

from pydantic import BaseModel
class StatusRead(BaseModel):
id: int
title: str
class Config:
from_attributes = True