backend / app /schema /base.py
Praneeth Yerrapragada
fix: fix users endpoints
d4e18c8
raw
history blame
258 Bytes
from datetime import datetime
from pydantic import BaseModel
class PydanticBaseModel(BaseModel):
pass
class BaseModel(PydanticBaseModel):
id: int
created_at: datetime
updated_at: datetime
class Config:
from_attributes = True