Files
OpenBB/openbb_terminal/core/models/user_model.py
montezdesousa 8113c66ddc Speed up integration tests workflow (#4784)
* 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
2023-04-14 16:52:14 +00:00

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