File size: 219 Bytes
0f43f8a
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from pydantic import BaseModel

class UserCreate(BaseModel):
    username: str
    password: str

class UserUpdate(BaseModel):
    username: str
    profile: str
    tags: str

class TeamCreate(BaseModel):
    name: str