diff options
Diffstat (limited to 'openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py')
-rw-r--r-- | openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py b/openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py index 509ecfbb272..77dd5d5ef86 100644 --- a/openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py @@ -21,8 +21,8 @@ class CashFlowStatementGrowthQueryParams(QueryParams): @field_validator("symbol", mode="before", check_fields=False) @classmethod - def upper_symbol(cls, v: str) -> str: - """Convert symbol to uppercase.""" + def to_upper(cls, v: str) -> str: + """Convert field to uppercase.""" return v.upper() @@ -117,8 +117,8 @@ class CashFlowStatementGrowthData(Data): @field_validator("symbol", mode="before", check_fields=False) @classmethod - def upper_symbol(cls, v: Union[str, List[str], Set[str]]): - """Convert symbol to uppercase.""" + def to_upper(cls, v: Union[str, List[str], Set[str]]): + """Convert field to uppercase.""" if isinstance(v, str): return v.upper() return ",".join([symbol.upper() for symbol in list(v)]) if v else None |