mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 21:12:16 +00:00
forgot to add all to_ methods to preference
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user