Skip to content

Commit 22e2f93

Browse files
author
BitsAdmin
committed
Merge 'mcdn-Python-2022-03-01-online-2044-2026_01_14_17_49_17' into 'integration_2026-01-15_1104105318146'
feat: [development task] mcdn-2044-Python (2032455) See merge request: !1021
2 parents 7c9deba + e64f124 commit 22e2f93

File tree

6 files changed

+32
-6
lines changed

6 files changed

+32
-6
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": "5.0.5",
2+
"lasted": "5.0.6",
33
"meta_commit": "ec4dbca9418d21eee7132e93e5fca85f98a4ee7c"
44
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "volcengine-python-sdk"
3-
version = "5.0.5"
3+
version = "5.0.6"
44
authors = [
55
{name = "volc-engine", email = "volc-sdk-team@bytedance.com"},
66
]

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 = "5.0.5"
6+
VERSION = "5.0.6"
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/5.0.5'
67+
self.user_agent = 'volcstack-python-sdk/5.0.6'
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: 5.0.5".\
275+
"SDK Package Version: 5.0.6".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdkmcdn/models/submit_preload_task_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,55 @@ class SubmitPreloadTaskRequest(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'region': 'str',
3637
'urls': 'str',
3738
'vendor': 'str'
3839
}
3940

4041
attribute_map = {
42+
'region': 'Region',
4143
'urls': 'Urls',
4244
'vendor': 'Vendor'
4345
}
4446

45-
def __init__(self, urls=None, vendor=None, _configuration=None): # noqa: E501
47+
def __init__(self, region=None, urls=None, vendor=None, _configuration=None): # noqa: E501
4648
"""SubmitPreloadTaskRequest - a model defined in Swagger""" # noqa: E501
4749
if _configuration is None:
4850
_configuration = Configuration()
4951
self._configuration = _configuration
5052

53+
self._region = None
5154
self._urls = None
5255
self._vendor = None
5356
self.discriminator = None
5457

58+
if region is not None:
59+
self.region = region
5560
self.urls = urls
5661
if vendor is not None:
5762
self.vendor = vendor
5863

64+
@property
65+
def region(self):
66+
"""Gets the region of this SubmitPreloadTaskRequest. # noqa: E501
67+
68+
69+
:return: The region of this SubmitPreloadTaskRequest. # noqa: E501
70+
:rtype: str
71+
"""
72+
return self._region
73+
74+
@region.setter
75+
def region(self, region):
76+
"""Sets the region of this SubmitPreloadTaskRequest.
77+
78+
79+
:param region: The region of this SubmitPreloadTaskRequest. # noqa: E501
80+
:type: str
81+
"""
82+
83+
self._region = region
84+
5985
@property
6086
def urls(self):
6187
"""Gets the urls of this SubmitPreloadTaskRequest. # noqa: E501

0 commit comments

Comments
 (0)