We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a8e079 commit f558400Copy full SHA for f558400
asknews_sdk/dto/common.py
@@ -270,7 +270,7 @@ class FilterParams(BaseModel):
270
]
271
272
] = Field(None, description="Continents to filter by.")
273
- sentiment: Literal["negative", "neutral", "positive"] | None = Field(
+ sentiment: Optional[Literal["negative", "neutral", "positive"]] = Field(
274
None, description="Sentiment to filter articles by."
275
)
276
premium: bool = Field(False, description="Include premium sources.")
0 commit comments