From 490d7317f2a21db9acea18ce86ebfabfd501fc8e Mon Sep 17 00:00:00 2001 From: hjoaquim Date: Tue, 23 Jan 2024 10:28:15 +0000 Subject: [PATCH] adding the right type --- .../core/openbb_core/provider/standard_models/world_news.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbb_platform/core/openbb_core/provider/standard_models/world_news.py b/openbb_platform/core/openbb_core/provider/standard_models/world_news.py index 88834ea21aa..87110f1cc05 100644 --- a/openbb_platform/core/openbb_core/provider/standard_models/world_news.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/world_news.py @@ -26,13 +26,13 @@ class WorldNewsQueryParams(QueryParams): description=QUERY_DESCRIPTIONS.get("limit", "") + " Here its the no. of articles to return.", ) - date: Optional[str] = Field( + date: Optional[dateType] = Field( default=None, description="Date of the news to retrieve." ) - start_date: Optional[str] = Field( + start_date: Optional[dateType] = Field( default=None, description="Start date of the news to retrieve." ) - end_date: Optional[str] = Field( + end_date: Optional[dateType] = Field( default=None, description="End date of the news to retrieve." )