mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
* Update macos-build.yml * Update macos-build.yml * Update macos-build.yml * Update macos-build.yml * Update macos-build.yml * Update macos-build.yml * Update macos-build.yml * Update test_stocks_disc.openbb * comment heatmap * reduce workflow to test * revert, doesnt run without this * run tests sequentially * Update macos-build.yml * Update test_stocks_disc.openbb * Update integration_controller.py * Update integration_controller.py * Update test_stocks_disc.openbb * juan magic * Update test_account.openbb * pass user and system to test with multiprocessing * ruff * Update macos-build.yml * comment * update readme * pipe tee instead of > cat * mypy * import from models * update account script for guest user
18 lines
634 B
Python
18 lines
634 B
Python
from pydantic.dataclasses import dataclass
|
|
|
|
from openbb_terminal.core.models.base_model import BaseModel
|
|
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(BaseModel):
|
|
"""Data model for user."""
|
|
|
|
profile: ProfileModel
|
|
credentials: CredentialsModel
|
|
preferences: PreferencesModel
|
|
sources: SourcesModel
|