Skip to content

Commit 9b24fe8

Browse files
committed
fix: add continent to return value for article
1 parent 7075026 commit 9b24fe8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

asknews_sdk/dto/base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ class Article(BaseModel):
8686
geo_coordinates: Annotated[
8787
Optional[Dict[str, GeoCoordinate]], Field(None, title="Geo Coordinates")
8888
] = None
89+
continent: Optional[
90+
Literal[
91+
"Africa", "Asia", "Europe", "Middle East", "North America", "South America", "Oceania"
92+
]
93+
] = None
8994

9095

9196
class PingResponse(BaseSchema):

0 commit comments

Comments
 (0)