brestok's picture
init
d0e0a14
raw
history blame contribute delete
211 Bytes
from fastapi_users import schemas
class UserRead(schemas.BaseUser[int]):
id: int
class Config:
from_attributes = True
class UserCreate(schemas.BaseUserCreate):
username: str
id: int