mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 01:41:17 +00:00
fix descriptions
This commit is contained in:
@@ -29,13 +29,13 @@ class CompanyNewsQueryParams(QueryParams):
|
||||
default=20, description=QUERY_DESCRIPTIONS.get("limit", "")
|
||||
)
|
||||
date: Optional[dateType] = Field(
|
||||
default=None, description="Date of the news to retrieve."
|
||||
default=None, description=QUERY_DESCRIPTIONS.get("date", "")
|
||||
)
|
||||
start_date: Optional[dateType] = Field(
|
||||
default=None, description="Start date of the news to retrieve."
|
||||
default=None, description=QUERY_DESCRIPTIONS.get("start_date", "")
|
||||
)
|
||||
end_date: Optional[dateType] = Field(
|
||||
default=None, description="End date of the news to retrieve."
|
||||
default=None, description=QUERY_DESCRIPTIONS.get("end_date", "")
|
||||
)
|
||||
|
||||
@field_validator("symbols", mode="before")
|
||||
|
||||
@@ -27,13 +27,13 @@ class WorldNewsQueryParams(QueryParams):
|
||||
+ " Here its the no. of articles to return.",
|
||||
)
|
||||
date: Optional[dateType] = Field(
|
||||
default=None, description="Date of the news to retrieve."
|
||||
default=None, description=QUERY_DESCRIPTIONS.get("date", "")
|
||||
)
|
||||
start_date: Optional[dateType] = Field(
|
||||
default=None, description="Start date of the news to retrieve."
|
||||
default=None, description=QUERY_DESCRIPTIONS.get("start_date", "")
|
||||
)
|
||||
end_date: Optional[dateType] = Field(
|
||||
default=None, description="End date of the news to retrieve."
|
||||
default=None, description=QUERY_DESCRIPTIONS.get("end_date", "")
|
||||
)
|
||||
|
||||
@field_validator("start_date", mode="before")
|
||||
|
||||
Reference in New Issue
Block a user