Skip to content

Commit 56621c5

Browse files
author
infobip-ci
committed
Update to version 3.0.2
1 parent 2268b15 commit 56621c5

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to the library will be documented in this file.
55
The format of the file is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this library adheres to [Semantic Versioning](http://semver.org/) as mentioned in [README.md][readme] file.
77

8+
## [ [3.0.2](https://github.com/infobip/infobip-api-python-client/releases/tag/3.0.2) ] - 2023-07-03
9+
10+
### Fixed
11+
- ApiAttributeError when deserializing response that contains unknown fields
12+
813
## [ [3.0.0](https://github.com/infobip/infobip-api-python-client/releases/tag/3.0.0) ] - 2021-07-14
914

1015
🎉 **NEW Major Version of `infobip_api_client`.**

infobip_api_client/model_utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,7 @@ def set_attribute(self, name, value):
113113
if name in self.openapi_types:
114114
required_types_mixed = self.openapi_types[name]
115115
elif self.additional_properties_type is None:
116-
raise ApiAttributeError(
117-
"{0} has no attribute '{1}'".format(type(self).__name__, name),
118-
path_to_item,
119-
)
116+
return
120117
elif self.additional_properties_type is not None:
121118
required_types_mixed = self.additional_properties_type
122119

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
python_dateutil >= 2.5.3
22
setuptools >= 21.0.0
3-
urllib3 >= 1.25.3
3+
urllib3 >= 1.25.3, <1.27.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from setuptools import setup, find_packages # noqa: H301
1313

1414
NAME = "infobip-api-python-client"
15-
VERSION = "3.0.1"
15+
VERSION = "3.0.2"
1616
# To install the library, run the following
1717
#
1818
# python setup.py install

test-requirements.txt

190 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)