From 2aeb694ef390b0dd6229ebb9dcfe1ae3de383517 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Wed, 27 Sep 2023 13:12:35 +0100 Subject: [PATCH] forgot to add all to_ methods to preference --- openbb_sdk/sdk/core/openbb_core/app/model/preferences.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbb_sdk/sdk/core/openbb_core/app/model/preferences.py b/openbb_sdk/sdk/core/openbb_core/app/model/preferences.py index 53815ebef6c..b884b23dc9c 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/model/preferences.py +++ b/openbb_sdk/sdk/core/openbb_core/app/model/preferences.py @@ -19,9 +19,9 @@ class Preferences(BaseModel): table_style: Literal["dark", "light"] = "dark" request_timeout: PositiveInt = 15 metadata: bool = True - obbject_method: Optional[Literal["to_df", "to_dict"]] = Field( - default=None, description="Method to apply to OBBject by default." - ) + obbject_method: Optional[ + Literal["to_dataframe", "to_df", "to_polars", "to_numpy", "to_dict", "to_chart"] + ] = Field(default=None, description="Method to apply to OBBject by default.") model_config = ConfigDict(validate_assignment=True)