emu-rag / src /api /schemas /user.py
Sarp Bilgiç
chat history ready for frontend integration, me endpoint
ad84a49
raw
history blame contribute delete
169 Bytes
from pydantic import BaseModel, EmailStr
class UserRead(BaseModel):
id: int
username: str
email: EmailStr
class Config:
from_attributes = True