Skip to content

Commit 09e26a9

Browse files
committed
Merge 'dev/lsx/add-region' into 'master'
feat(endpoint): add cn-beijing-selfdrive region See merge request: !691
2 parents 730fc76 + 71ee929 commit 09e26a9

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
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": "4.0.2",
2+
"lasted": "4.0.3",
33
"meta_commit": "65aa7dbcdf8ab9dbdbc3e7dd91a4f5ae1f05cbb1"
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.2"
6+
VERSION = "4.0.3"
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
@@ -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/4.0.2'
70+
self.user_agent = 'volcstack-python-sdk/4.0.3'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def to_debug_report(self):
264264
"OS: {env}\n" \
265265
"Python Version: {pyversion}\n" \
266266
"Version of the API: 0.1.0\n" \
267-
"SDK Package Version: 4.0.2".\
267+
"SDK Package Version: 4.0.3".\
268268
format(env=sys.platform, pyversion=sys.version)
269269

270270
@property

volcenginesdkcore/endpoint/providers/default_provider.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
fallback_endpoint = open_prefix + endpoint_suffix
1111
region_code_cn_beijing_auto_driving = "cn-beijing-autodriving"
1212
region_code_cn_shanghai_auto_driving = "cn-shanghai-autodriving"
13+
region_code_cn_beijing_selfdrive = "cn-beijing-selfdrive"
1314
region_code_ap_southeast2 = "ap-southeast-2"
1415
region_code_ap_southeast3 = "ap-southeast-3"
1516

@@ -460,6 +461,7 @@ def get_endpoint_for(self, region, suffix=endpoint_suffix):
460461
region_code_ap_southeast2: {},
461462
region_code_ap_southeast3: {},
462463
region_code_cn_shanghai_auto_driving: {},
464+
region_code_cn_beijing_selfdrive: {},
463465
}
464466

465467

0 commit comments

Comments
 (0)