* use default values for non-required properties if a default is specified * generate client * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
25 lines
423 B
Python
25 lines
423 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: str = ""
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|