mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 09:52:13 +00:00
adding the right type
This commit is contained in:
@@ -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."
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user