Skip to content

Commit 6613782

Browse files
authored
Merge pull request #108 from YPCrumble/feature/optional-content-info
Make item_info.content_info optional per some Amazon API responses.
2 parents 4aa9c75 + 8d0582a commit 6613782

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name='python-amazon-paapi',
8-
version='4.3.1',
8+
version='4.3.2',
99
author='Sergio Abad',
1010
author_email='sergio.abad@bytelix.com',
1111
description='Amazon Product Advertising API 5.0 wrapper for Python',

0 commit comments

Comments
 (0)