Skip to content

Commit a745e82

Browse files
committed
Merge 'integration_2025-12-08_1091212869634' into 'master'
merge branch integration_2025-12-08_1091212869634 into master See merge request: !962
2 parents 616a657 + 7b81224 commit a745e82

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
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": "4.0.39",
3-
"meta_commit": "5a2562338054fe229d68b76792324123d044c794"
2+
"lasted": "4.0.40",
3+
"meta_commit": "0614d6a38e35f98a9278da7fd6eef5d4937bfce7"
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 = "4.0.39"
6+
VERSION = "4.0.40"
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
@@ -64,7 +64,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6464
self.default_headers[header_name] = header_value
6565
self.cookie = cookie
6666
# Set default User-Agent.
67-
self.user_agent = 'volcstack-python-sdk/4.0.39'
67+
self.user_agent = 'volcstack-python-sdk/4.0.40'
6868
self.client_side_validation = configuration.client_side_validation
6969

7070
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def to_debug_report(self):
272272
"OS: {env}\n" \
273273
"Python Version: {pyversion}\n" \
274274
"Version of the API: 0.1.0\n" \
275-
"SDK Package Version: 4.0.39".\
275+
"SDK Package Version: 4.0.40".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdkcore/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ def __init__(self, resp):
3535

3636
def getheaders(self):
3737
"""Returns a dictionary of the response headers."""
38-
return self.urllib3_response.getheaders()
38+
return self.urllib3_response.headers
3939

4040
def getheader(self, name, default=None):
4141
"""Returns a given response header."""
42-
return self.urllib3_response.getheader(name, default)
42+
return self.urllib3_response.headers.get(name, default)
4343

4444

4545
def log_request(method, url, query_params, headers, body, post_params, request_time_out):

0 commit comments

Comments
 (0)