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
260 B
Python

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