Skip to content

Commit 47f0781

Browse files
committed
fix: Add bias to Article model
1 parent d9e758b commit 47f0781

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

asknews_sdk/dto/base.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,29 @@ class Article(BaseModel):
106106
] = None
107107
assets: Optional[Assets] = None
108108
social_embeds: Optional[SocialEmbeds] = None
109+
bias: Optional[
110+
Literal[
111+
"Political",
112+
"Gender",
113+
"Cultural",
114+
"Age",
115+
"Religious",
116+
"Statement",
117+
"Illogical Claims",
118+
"Slant",
119+
"Source Selection",
120+
"Omission of Source Attribution",
121+
"Spin",
122+
"Sensationalism",
123+
"Negativity",
124+
"Subjective Adjectives",
125+
"Ad Hominem",
126+
"Mind Reading",
127+
"Opinion-as-Fact",
128+
"None",
129+
"Unknown",
130+
]
131+
] = None
109132

110133

111134
class PingResponse(BaseSchema):

0 commit comments

Comments
 (0)