Files
kittycad.py/kittycad/models/update_user.py
Jess Frazelle 2b44cdfb96 updates
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-07-28 15:21:51 -07:00

25 lines
435 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
last_name: Optional[str] = None
phone: Optional[str] = None
model_config = ConfigDict(protected_namespaces=())