This commit is contained in:
montezdesousa
2024-02-12 13:32:03 +00:00
parent 4ca3dc4d7c
commit 8a9e8e0788

View File

@@ -24,6 +24,7 @@ class HistoricalDividendsQueryParams(QueryParams):
)
@field_validator("symbol", mode="before", check_fields=False)
@classmethod
def upper_symbol(cls, v: str) -> str:
"""Convert symbol to uppercase."""
return v.upper()