File size: 308 Bytes
95a7280
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()