File size: 219 Bytes
ba19a97
 
 
 
 
 
 
 
 
 
 
 
 
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