AuthenticationApp / app /models.py
amaye15's picture
Intial Deployment
bfe88a9
raw
history blame contribute delete
144 Bytes
from pydantic import BaseModel, EmailStr
class User(BaseModel):
id: int
email: EmailStr
class UserInDB(User):
hashed_password: str