This repository has been archived on 2023-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
MirrorTea/mirrortea/models/user.py

16 lines
264 B
Python

from typing import Optional
from pydantic import BaseModel
class User(BaseModel):
"""
Bridge user from platform source
"""
first_name: str
last_name: Optional[str]
user_id: str
username: Optional[str]
avatar_hash: Optional[str]