Currently I have something like this:
from pydantic.main import BaseModel class Data(BaseModel): """Post""" id: int