Skip to content

Commit f558400

Browse files
committed
fix: Typing fixes
1 parent 6a8e079 commit f558400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asknews_sdk/dto/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class FilterParams(BaseModel):
270270
]
271271
]
272272
] = Field(None, description="Continents to filter by.")
273-
sentiment: Literal["negative", "neutral", "positive"] | None = Field(
273+
sentiment: Optional[Literal["negative", "neutral", "positive"]] = Field(
274274
None, description="Sentiment to filter articles by."
275275
)
276276
premium: bool = Field(False, description="Include premium sources.")

0 commit comments

Comments
 (0)