summaryrefslogtreecommitdiffstats
path: root/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py')
-rw-r--r--openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py b/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py
index 01cd187bb3f..be56f8c31fe 100644
--- a/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py
+++ b/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py
@@ -20,8 +20,8 @@ class InstitutionalOwnershipQueryParams(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()
@@ -37,8 +37,8 @@ class InstitutionalOwnershipData(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)])