Skip to content

Commit 18fc300

Browse files
author
PureCloud Jenkins
committed
57.0.2
1 parent 8797757 commit 18fc300

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def __call_api(self, resource_path, method,
187187
header_params['Cookie'] = self.cookie
188188
if header_params:
189189
header_params = self.sanitize_for_serialization(header_params)
190-
header_params['purecloud-sdk'] = '57.0.1'
190+
header_params['purecloud-sdk'] = '57.0.2'
191191

192192
# path parameters
193193
if path_params:
@@ -345,6 +345,9 @@ def __deserialize(self, data, klass):
345345
if klass in ['int', 'float', 'str', 'bool',
346346
"date", 'datetime', "object"]:
347347
klass = eval(klass)
348+
# for LocalDateTime special case, use datetime in Python
349+
elif klass == 'LocalDateTime':
350+
klass = eval('datetime')
348351
# for model types
349352
else:
350353
klass = eval('models.' + klass)
@@ -652,4 +655,4 @@ def __deserialize_model(self, data, klass):
652655
value = data[instance.attribute_map[attr]]
653656
setattr(instance, attr, self.__deserialize(value, attr_type))
654657

655-
return instance
658+
return instance

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,5 +249,5 @@ def to_debug_report(self):
249249
"OS: {env}\n"\
250250
"Python Version: {pyversion}\n"\
251251
"Version of the API: v2\n"\
252-
"SDK Package Version: 57.0.1".\
252+
"SDK Package Version: 57.0.2".\
253253
format(env=sys.platform, pyversion=sys.version)

build/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import setup, find_packages
55

66
NAME = "PureCloudPlatformClientV2"
7-
VERSION = "57.0.1"
7+
VERSION = "57.0.2"
88

99

1010

@@ -19,7 +19,7 @@
1919

2020
setup(
2121
name="PureCloudPlatformClientV2",
22-
version="57.0.1",
22+
version="57.0.2",
2323
description="PureCloud Platform API SDK",
2424
author="Genesys Developer Evangelists",
2525
author_email="DeveloperEvangelists@Genesys.com",

version.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"major": 57,
33
"minor": 0,
4-
"point": 1,
4+
"point": 2,
55
"prerelease": "",
66
"apiVersion": 0,
7-
"display": "57.0.1",
8-
"displayFull": "57.0.1"
7+
"display": "57.0.2",
8+
"displayFull": "57.0.2"
99
}

0 commit comments

Comments
 (0)