mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 16:02:04 +00:00
15 lines
469 B
Python
15 lines
469 B
Python
from pydantic.dataclasses import dataclass
|
|
|
|
from openbb_terminal.core.models.credentials_model import CredentialsModel
|
|
from openbb_terminal.core.models.preferences_model import PreferencesModel
|
|
from openbb_terminal.core.models.profile_model import ProfileModel
|
|
|
|
|
|
@dataclass(config=dict(validate_assignment=True, frozen=True))
|
|
class UserModel:
|
|
"""Data model for user."""
|
|
|
|
profile: ProfileModel
|
|
credentials: CredentialsModel
|
|
preferences: PreferencesModel
|