Spaces:
Running
on
Zero
Running
on
Zero
File size: 263 Bytes
1f074d8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from pydantic import BaseModel
class UserBase(BaseModel):
name: str
profile: str
class UserCreate(UserBase):
password: str
class UserUpdate(UserBase):
password: str
class TeamBase(BaseModel):
name: str
class TeamCreate(TeamBase):
pass |