diff options
Diffstat (limited to 'openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py')
-rw-r--r-- | openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py index aa0387cfd70..537db364cd4 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py @@ -35,7 +35,7 @@ class TiingoCurrencyHistoricalQueryParams(CurrencyHistoricalQueryParams): "end_date": "endDate", "interval": "resampleFreq", } - __json_schema_extra__ = {"symbol": ["multiple_items_allowed"]} + __json_schema_extra__ = {"symbol": {"multiple_items_allowed": True}} interval: Literal["1m", "5m", "15m", "30m", "1h", "4h", "1d"] = Field( default="1d", description=QUERY_DESCRIPTIONS.get("interval", "") @@ -106,7 +106,7 @@ class TiingoCurrencyHistoricalFetcher( query_str = get_querystring( query.model_dump(by_alias=False), ["tickers", "resampleFreq"] ) - results = [] + results: List[dict] = [] async def callback(response: ClientResponse, _: Any) -> List[Dict]: result = await response.json() |