Skip to content

Commit 4007705

Browse files
committed
chore: Use union also in AlertResponse
1 parent b0c9b91 commit 4007705

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

asknews_sdk/dto/alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ class AlertResponse(BaseSchema):
652652
model: Optional[str] = None
653653
share_link: Optional[str] = None
654654
sources: Optional[List[Dict[str, Any]]] = None
655-
report: Optional[Dict[str, Any] | List[Dict[str, Any]]] = None
655+
report: Optional[Union[Dict[str, Any], List[Dict[str, Any]]]] = None
656656
triggers: List[Dict[str, Any]]
657657
always_trigger: bool = False
658658
repeat: bool = True

0 commit comments

Comments
 (0)