summaryrefslogtreecommitdiffstats
path: root/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py')
-rw-r--r--openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py b/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py
index 746eaacf0e3..e2aff45cb5d 100644
--- a/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py
+++ b/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py
@@ -21,8 +21,8 @@ class BalanceSheetGrowthQueryParams(QueryParams):
@field_validator("symbol", mode="before", check_fields=False)
@classmethod
- def upper_symbol(cls, v: str):
- """Convert symbol to uppercase."""
+ def to_upper(cls, v: str):
+ """Convert field to uppercase."""
return v.upper()
@@ -130,8 +130,8 @@ class BalanceSheetGrowthData(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