* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
26 lines
463 B
Python
26 lines
463 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class UpdateUser(BaseModel):
|
|
"""The user-modifiable parts of a User."""
|
|
|
|
company: Optional[str] = None
|
|
|
|
discord: Optional[str] = None
|
|
|
|
first_name: Optional[str] = None
|
|
|
|
github: Optional[str] = None
|
|
|
|
image: str
|
|
|
|
is_onboarded: Optional[bool] = None
|
|
|
|
last_name: Optional[str] = None
|
|
|
|
phone: str = ""
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|