Skip to content

Commit 64e9edf

Browse files
committed
feat: update sdk version
1 parent 0be9fec commit 64e9edf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.0.31",
2+
"lasted": "1.0.32",
33
"meta_commit": "471552d688ab22c7f4ce095db8d6ed49cd9b736f"
44
}

setup.py

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

55
NAME = "volcengine-python-sdk"
6-
VERSION = "1.0.31"
6+
VERSION = "1.0.32"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/1.0.31'
70+
self.user_agent = 'volcstack-python-sdk/1.0.32'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):
@@ -278,7 +278,7 @@ def deserialize(self, response, response_type, service):
278278
raise rest.ApiException(status=200, reason="InternalServiceError")
279279

280280
resp_model = self.__deserialize(data, response_type, service)
281-
if resp_model is None:
281+
if (resp_model is None) or (type(resp_model) is dict):
282282
return resp_model
283283

284284
# UniversalClient 直接返回

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def to_debug_report(self):
221221
"OS: {env}\n"\
222222
"Python Version: {pyversion}\n"\
223223
"Version of the API: 0.1.0\n"\
224-
"SDK Package Version: 1.0.31".\
224+
"SDK Package Version: 1.0.32".\
225225
format(env=sys.platform, pyversion=sys.version)

0 commit comments

Comments
 (0)