Skip to content

Commit 9852c46

Browse files
committed
build(version): bump version
1 parent 7232175 commit 9852c46

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.1.1",
3-
"meta_commit": "eb656d5036a263d4e68911ee390d36802e05547b"
2+
"lasted": "1.1.2",
3+
"meta_commit": "eb656d5036a263d4e68911ee390d36802e05547b"
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.1.1"
6+
VERSION = "1.1.2"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6363
self.default_headers[header_name] = header_value
6464
self.cookie = cookie
6565
# Set default User-Agent.
66-
self.user_agent = 'volcstack-python-sdk/1.1.1'
66+
self.user_agent = 'volcstack-python-sdk/1.1.2'
6767
self.client_side_validation = configuration.client_side_validation
6868

6969
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,5 @@ def to_debug_report(self):
250250
"OS: {env}\n" \
251251
"Python Version: {pyversion}\n" \
252252
"Version of the API: 0.1.0\n" \
253-
"SDK Package Version: 1.1.1". \
253+
"SDK Package Version: 1.1.2". \
254254
format(env=sys.platform, pyversion=sys.version)

volcenginesdkcore/rest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ def request(self, method, url, query_params=None, headers=None,
232232

233233
def GET(self, url, headers=None, query_params=None, _preload_content=True,
234234
_request_timeout=None):
235+
for i in range(len(query_params)):
236+
if isinstance(query_params[i], tuple) and len(query_params[i]) == 2 and isinstance(query_params[i][1],
237+
bool):
238+
l = list(query_params[i])
239+
l[1] = l[1].__str__().lower()
240+
query_params[i] = tuple(l)
235241
return self.request("GET", url,
236242
headers=headers,
237243
_preload_content=_preload_content,

0 commit comments

Comments
 (0)