munch-ease-backend/users/models.py

18 lines
314 B
Python
Raw Permalink Normal View History

from typing import ClassVar, Optional
from common import ApiModel
class User(ApiModel):
KEYS: ClassVar[list[str]] = [
"id",
"email",
"display_name",
"profile_photo_url",
]
id: int = -1
email: str
display_name: str
profile_photo_url: Optional[str] = None