diff options
Diffstat (limited to 'openbb_platform/core/openbb_core/provider/standard_models/price_target.py')
-rw-r--r-- | openbb_platform/core/openbb_core/provider/standard_models/price_target.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbb_platform/core/openbb_core/provider/standard_models/price_target.py b/openbb_platform/core/openbb_core/provider/standard_models/price_target.py index 5481ec9ba5b..c8706a1d343 100644 --- a/openbb_platform/core/openbb_core/provider/standard_models/price_target.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/price_target.py @@ -29,8 +29,8 @@ class PriceTargetQueryParams(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() if v else None |