mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 21:42:22 +00:00
17 lines
562 B
Python
17 lines
562 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
|
|
from openbb_terminal.core.models.sources_model import SourcesModel
|
|
|
|
|
|
@dataclass(config=dict(validate_assignment=True, frozen=True))
|
|
class UserModel:
|
|
"""Data model for user."""
|
|
|
|
profile: ProfileModel
|
|
credentials: CredentialsModel
|
|
preferences: PreferencesModel
|
|
sources: SourcesModel
|