Skip to content

Commit

Permalink
Merge pull request #108 from YPCrumble/feature/optional-content-info
Browse files Browse the repository at this point in the history
Make item_info.content_info optional per some Amazon API responses.
  • Loading branch information
sergioteula authored Sep 23, 2022
2 parents 4aa9c75 + 8d0582a commit 6613782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion amazon_paapi/models/item_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class ApiTradeInInfo(models.TradeInInfo):
class ApiItemInfo(models.ItemInfo):
by_line_info: ApiByLineInfo
classifications: ApiClassifications
content_info: ApiContentInfo
content_info: Optional[ApiContentInfo]
content_rating: ApiContentRating
external_ids: ApiExternalIds
features: ApiFeatures
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='python-amazon-paapi',
version='4.3.1',
version='4.3.2',
author='Sergio Abad',
author_email='[email protected]',
description='Amazon Product Advertising API 5.0 wrapper for Python',
Expand Down

0 comments on commit 6613782

Please sign in to comment.