Skip to content

Commit d324965

Browse files
committed
Merge branch 'integration_2024-07-11_325995840258' into 'master'
merge branch integration_2024-07-11_325995840258 into master See merge request iaasng/volcengine-python-sdk!343
2 parents bf9c16f + abd6147 commit d324965

File tree

215 files changed

+44460
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+44460
-124
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.0.91",
3-
"meta_commit": "626cf1a2542727d295418e7091818eb81ffaff29"
2+
"lasted": "1.0.92",
3+
"meta_commit": "90337a3c21d841236d081be8e4da3a949df3ea4f"
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.91"
6+
VERSION = "1.0.92"
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/1.0.91'
70+
self.user_agent = 'volcstack-python-sdk/1.0.92'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):

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.91".\
224+
"SDK Package Version: 1.0.92".\
225225
format(env=sys.platform, pyversion=sys.version)

volcenginesdkfwcenter/models/data_for_asset_list_output.py

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ class DataForAssetListOutput(object):
4040
'ip': 'str',
4141
'name': 'str',
4242
'region': 'str',
43-
'type': 'str',
44-
'updatetime': 'int'
43+
'type': 'str'
4544
}
4645

4746
attribute_map = {
@@ -52,11 +51,10 @@ class DataForAssetListOutput(object):
5251
'ip': 'ip',
5352
'name': 'name',
5453
'region': 'region',
55-
'type': 'type',
56-
'updatetime': 'updatetime'
54+
'type': 'type'
5755
}
5856

59-
def __init__(self, account_id=None, cluster=None, enable=None, id=None, ip=None, name=None, region=None, type=None, updatetime=None, _configuration=None): # noqa: E501
57+
def __init__(self, account_id=None, cluster=None, enable=None, id=None, ip=None, name=None, region=None, type=None, _configuration=None): # noqa: E501
6058
"""DataForAssetListOutput - a model defined in Swagger""" # noqa: E501
6159
if _configuration is None:
6260
_configuration = Configuration()
@@ -70,7 +68,6 @@ def __init__(self, account_id=None, cluster=None, enable=None, id=None, ip=None,
7068
self._name = None
7169
self._region = None
7270
self._type = None
73-
self._updatetime = None
7471
self.discriminator = None
7572

7673
if account_id is not None:
@@ -89,8 +86,6 @@ def __init__(self, account_id=None, cluster=None, enable=None, id=None, ip=None,
8986
self.region = region
9087
if type is not None:
9188
self.type = type
92-
if updatetime is not None:
93-
self.updatetime = updatetime
9489

9590
@property
9691
def account_id(self):
@@ -260,27 +255,6 @@ def type(self, type):
260255

261256
self._type = type
262257

263-
@property
264-
def updatetime(self):
265-
"""Gets the updatetime of this DataForAssetListOutput. # noqa: E501
266-
267-
268-
:return: The updatetime of this DataForAssetListOutput. # noqa: E501
269-
:rtype: int
270-
"""
271-
return self._updatetime
272-
273-
@updatetime.setter
274-
def updatetime(self, updatetime):
275-
"""Sets the updatetime of this DataForAssetListOutput.
276-
277-
278-
:param updatetime: The updatetime of this DataForAssetListOutput. # noqa: E501
279-
:type: int
280-
"""
281-
282-
self._updatetime = updatetime
283-
284258
def to_dict(self):
285259
"""Returns the model properties as a dict"""
286260
result = {}

volcenginesdkmongodb/models/create_allow_list_request.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ def __init__(self, allow_list=None, allow_list_desc=None, allow_list_name=None,
5959
self.discriminator = None
6060

6161
self.allow_list = allow_list
62-
self.allow_list_desc = allow_list_desc
62+
if allow_list_desc is not None:
63+
self.allow_list_desc = allow_list_desc
6364
self.allow_list_name = allow_list_name
64-
self.allow_list_type = allow_list_type
65+
if allow_list_type is not None:
66+
self.allow_list_type = allow_list_type
6567

6668
@property
6769
def allow_list(self):
@@ -104,8 +106,6 @@ def allow_list_desc(self, allow_list_desc):
104106
:param allow_list_desc: The allow_list_desc of this CreateAllowListRequest. # noqa: E501
105107
:type: str
106108
"""
107-
if self._configuration.client_side_validation and allow_list_desc is None:
108-
raise ValueError("Invalid value for `allow_list_desc`, must not be `None`") # noqa: E501
109109

110110
self._allow_list_desc = allow_list_desc
111111

@@ -150,8 +150,6 @@ def allow_list_type(self, allow_list_type):
150150
:param allow_list_type: The allow_list_type of this CreateAllowListRequest. # noqa: E501
151151
:type: str
152152
"""
153-
if self._configuration.client_side_validation and allow_list_type is None:
154-
raise ValueError("Invalid value for `allow_list_type`, must not be `None`") # noqa: E501
155153

156154
self._allow_list_type = allow_list_type
157155

0 commit comments

Comments
 (0)