tranny / App /Analytics /Schemas.py
Mbonea's picture
hello
252d749
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()