Embedding / App /Analytics /Schemas.py
Mbonea's picture
initial commit
95a7280
raw
history blame
308 Bytes
from typing import List, Optional
from pydantic import EmailStr, BaseModel
from datetime import date, datetime, time, timedelta
class BaseRequest(BaseModel):
user: Optional[int]
id: Optional[int]
content: Optional[str]
class editRequest(BaseRequest):
updatedAt: datetime = datetime.now()