Skip to content

Commit

Permalink
Define Detail.min_age as Optional[int]. Some title ids like 111254113…
Browse files Browse the repository at this point in the history
…7 have no min age
  • Loading branch information
sanzc committed Mar 1, 2024
1 parent 0e108b9 commit e0ad261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbox/webapi/api/provider/titlehub/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Detail(CamelCaseModel):
developer_name: str
genres: Optional[List[str]] = None
publisher_name: str
min_age: int
min_age: Optional[int] = None
release_date: Optional[datetime] = None
short_description: Optional[str] = None
vui_display_name: Optional[str] = None
Expand Down

0 comments on commit e0ad261

Please sign in to comment.