summaryrefslogtreecommitdiffstats
path: root/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py')
-rw-r--r--openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py b/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py
index 0ddab78db54..266de2e79e2 100644
--- a/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py
+++ b/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py
@@ -24,8 +24,8 @@ class FuturesCurveQueryParams(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()