Skip to content

Commit 22112c3

Browse files
committed
Make item_info.content_info optional per some Amazon API responses.
1 parent 4aa9c75 commit 22112c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amazon_paapi/models/item_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class ApiTradeInInfo(models.TradeInInfo):
144144
class ApiItemInfo(models.ItemInfo):
145145
by_line_info: ApiByLineInfo
146146
classifications: ApiClassifications
147-
content_info: ApiContentInfo
147+
content_info: Optional[ApiContentInfo]
148148
content_rating: ApiContentRating
149149
external_ids: ApiExternalIds
150150
features: ApiFeatures

0 commit comments

Comments
 (0)