Skip to content

Commit bdf41bb

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for vefaas-Python-2024-06-06-online-1681-2025_10_10_15_01_24
1 parent 43ed87d commit bdf41bb

File tree

11 files changed

+272
-12
lines changed

11 files changed

+272
-12
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.23",
3-
"meta_commit": "717feb7ac2ad8fbd730f027e40c62b2fd242bfd0"
2+
"lasted": "4.0.24",
3+
"meta_commit": "454c250cea9ac00203b93065c8f969a2511cb45c"
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 = "4.0.22"
3+
version = "4.0.24"
44
authors = [
55
{name = "volc-engine", email = "[email protected]"},
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 = "4.0.23"
6+
VERSION = "4.0.24"
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.23'
67+
self.user_agent = 'volcstack-python-sdk/4.0.24'
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.23".\
275+
"SDK Package Version: 4.0.24".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdkvefaas/models/create_function_request.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class CreateFunctionRequest(object):
3838
'cpu_milli': 'int',
3939
'cpu_strategy': 'str',
4040
'description': 'str',
41+
'enable_apmplus': 'bool',
4142
'envs': 'list[EnvForCreateFunctionInput]',
4243
'exclusive_mode': 'bool',
4344
'initializer_sec': 'int',
@@ -46,6 +47,7 @@ class CreateFunctionRequest(object):
4647
'memory_mb': 'int',
4748
'name': 'str',
4849
'nas_storage': 'NasStorageForCreateFunctionInput',
50+
'port': 'int',
4951
'project_name': 'str',
5052
'request_timeout': 'int',
5153
'role': 'str',
@@ -65,6 +67,7 @@ class CreateFunctionRequest(object):
6567
'cpu_milli': 'CpuMilli',
6668
'cpu_strategy': 'CpuStrategy',
6769
'description': 'Description',
70+
'enable_apmplus': 'EnableApmplus',
6871
'envs': 'Envs',
6972
'exclusive_mode': 'ExclusiveMode',
7073
'initializer_sec': 'InitializerSec',
@@ -73,6 +76,7 @@ class CreateFunctionRequest(object):
7376
'memory_mb': 'MemoryMB',
7477
'name': 'Name',
7578
'nas_storage': 'NasStorage',
79+
'port': 'Port',
7680
'project_name': 'ProjectName',
7781
'request_timeout': 'RequestTimeout',
7882
'role': 'Role',
@@ -86,7 +90,7 @@ class CreateFunctionRequest(object):
8690
'vpc_config': 'VpcConfig'
8791
}
8892

89-
def __init__(self, cell=None, command=None, cpu_milli=None, cpu_strategy=None, description=None, envs=None, exclusive_mode=None, initializer_sec=None, instance_type=None, max_concurrency=None, memory_mb=None, name=None, nas_storage=None, project_name=None, request_timeout=None, role=None, runtime=None, source=None, source_access_config=None, source_type=None, tags=None, tls_config=None, tos_mount_config=None, vpc_config=None, _configuration=None): # noqa: E501
93+
def __init__(self, cell=None, command=None, cpu_milli=None, cpu_strategy=None, description=None, enable_apmplus=None, envs=None, exclusive_mode=None, initializer_sec=None, instance_type=None, max_concurrency=None, memory_mb=None, name=None, nas_storage=None, port=None, project_name=None, request_timeout=None, role=None, runtime=None, source=None, source_access_config=None, source_type=None, tags=None, tls_config=None, tos_mount_config=None, vpc_config=None, _configuration=None): # noqa: E501
9094
"""CreateFunctionRequest - a model defined in Swagger""" # noqa: E501
9195
if _configuration is None:
9296
_configuration = Configuration()
@@ -97,6 +101,7 @@ def __init__(self, cell=None, command=None, cpu_milli=None, cpu_strategy=None, d
97101
self._cpu_milli = None
98102
self._cpu_strategy = None
99103
self._description = None
104+
self._enable_apmplus = None
100105
self._envs = None
101106
self._exclusive_mode = None
102107
self._initializer_sec = None
@@ -105,6 +110,7 @@ def __init__(self, cell=None, command=None, cpu_milli=None, cpu_strategy=None, d
105110
self._memory_mb = None
106111
self._name = None
107112
self._nas_storage = None
113+
self._port = None
108114
self._project_name = None
109115
self._request_timeout = None
110116
self._role = None
@@ -128,6 +134,8 @@ def __init__(self, cell=None, command=None, cpu_milli=None, cpu_strategy=None, d
128134
self.cpu_strategy = cpu_strategy
129135
if description is not None:
130136
self.description = description
137+
if enable_apmplus is not None:
138+
self.enable_apmplus = enable_apmplus
131139
if envs is not None:
132140
self.envs = envs
133141
if exclusive_mode is not None:
@@ -143,6 +151,8 @@ def __init__(self, cell=None, command=None, cpu_milli=None, cpu_strategy=None, d
143151
self.name = name
144152
if nas_storage is not None:
145153
self.nas_storage = nas_storage
154+
if port is not None:
155+
self.port = port
146156
if project_name is not None:
147157
self.project_name = project_name
148158
if request_timeout is not None:
@@ -270,6 +280,27 @@ def description(self, description):
270280

271281
self._description = description
272282

283+
@property
284+
def enable_apmplus(self):
285+
"""Gets the enable_apmplus of this CreateFunctionRequest. # noqa: E501
286+
287+
288+
:return: The enable_apmplus of this CreateFunctionRequest. # noqa: E501
289+
:rtype: bool
290+
"""
291+
return self._enable_apmplus
292+
293+
@enable_apmplus.setter
294+
def enable_apmplus(self, enable_apmplus):
295+
"""Sets the enable_apmplus of this CreateFunctionRequest.
296+
297+
298+
:param enable_apmplus: The enable_apmplus of this CreateFunctionRequest. # noqa: E501
299+
:type: bool
300+
"""
301+
302+
self._enable_apmplus = enable_apmplus
303+
273304
@property
274305
def envs(self):
275306
"""Gets the envs of this CreateFunctionRequest. # noqa: E501
@@ -440,6 +471,27 @@ def nas_storage(self, nas_storage):
440471

441472
self._nas_storage = nas_storage
442473

474+
@property
475+
def port(self):
476+
"""Gets the port of this CreateFunctionRequest. # noqa: E501
477+
478+
479+
:return: The port of this CreateFunctionRequest. # noqa: E501
480+
:rtype: int
481+
"""
482+
return self._port
483+
484+
@port.setter
485+
def port(self, port):
486+
"""Sets the port of this CreateFunctionRequest.
487+
488+
489+
:param port: The port of this CreateFunctionRequest. # noqa: E501
490+
:type: int
491+
"""
492+
493+
self._port = port
494+
443495
@property
444496
def project_name(self):
445497
"""Gets the project_name of this CreateFunctionRequest. # noqa: E501

volcenginesdkvefaas/models/create_function_response.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ class CreateFunctionResponse(object):
3737
'code_size': 'int',
3838
'code_size_limit': 'int',
3939
'command': 'str',
40+
'cpu': 'int',
4041
'creation_time': 'str',
4142
'description': 'str',
43+
'enable_apmplus': 'bool',
4244
'envs': 'list[EnvForCreateFunctionOutput]',
4345
'exclusive_mode': 'bool',
4446
'function_type': 'str',
@@ -69,8 +71,10 @@ class CreateFunctionResponse(object):
6971
'code_size': 'CodeSize',
7072
'code_size_limit': 'CodeSizeLimit',
7173
'command': 'Command',
74+
'cpu': 'Cpu',
7275
'creation_time': 'CreationTime',
7376
'description': 'Description',
77+
'enable_apmplus': 'EnableApmplus',
7478
'envs': 'Envs',
7579
'exclusive_mode': 'ExclusiveMode',
7680
'function_type': 'FunctionType',
@@ -96,7 +100,7 @@ class CreateFunctionResponse(object):
96100
'vpc_config': 'VpcConfig'
97101
}
98102

99-
def __init__(self, cell=None, code_size=None, code_size_limit=None, command=None, creation_time=None, description=None, envs=None, exclusive_mode=None, function_type=None, id=None, initializer_sec=None, instance_type=None, last_update_time=None, max_concurrency=None, memory_mb=None, name=None, nas_storage=None, owner=None, project_name=None, request_timeout=None, role=None, runtime=None, source_location=None, source_type=None, tags=None, tls_config=None, tos_mount_config=None, triggers_count=None, vpc_config=None, _configuration=None): # noqa: E501
103+
def __init__(self, cell=None, code_size=None, code_size_limit=None, command=None, cpu=None, creation_time=None, description=None, enable_apmplus=None, envs=None, exclusive_mode=None, function_type=None, id=None, initializer_sec=None, instance_type=None, last_update_time=None, max_concurrency=None, memory_mb=None, name=None, nas_storage=None, owner=None, project_name=None, request_timeout=None, role=None, runtime=None, source_location=None, source_type=None, tags=None, tls_config=None, tos_mount_config=None, triggers_count=None, vpc_config=None, _configuration=None): # noqa: E501
100104
"""CreateFunctionResponse - a model defined in Swagger""" # noqa: E501
101105
if _configuration is None:
102106
_configuration = Configuration()
@@ -106,8 +110,10 @@ def __init__(self, cell=None, code_size=None, code_size_limit=None, command=None
106110
self._code_size = None
107111
self._code_size_limit = None
108112
self._command = None
113+
self._cpu = None
109114
self._creation_time = None
110115
self._description = None
116+
self._enable_apmplus = None
111117
self._envs = None
112118
self._exclusive_mode = None
113119
self._function_type = None
@@ -141,10 +147,14 @@ def __init__(self, cell=None, code_size=None, code_size_limit=None, command=None
141147
self.code_size_limit = code_size_limit
142148
if command is not None:
143149
self.command = command
150+
if cpu is not None:
151+
self.cpu = cpu
144152
if creation_time is not None:
145153
self.creation_time = creation_time
146154
if description is not None:
147155
self.description = description
156+
if enable_apmplus is not None:
157+
self.enable_apmplus = enable_apmplus
148158
if envs is not None:
149159
self.envs = envs
150160
if exclusive_mode is not None:
@@ -276,6 +286,27 @@ def command(self, command):
276286

277287
self._command = command
278288

289+
@property
290+
def cpu(self):
291+
"""Gets the cpu of this CreateFunctionResponse. # noqa: E501
292+
293+
294+
:return: The cpu of this CreateFunctionResponse. # noqa: E501
295+
:rtype: int
296+
"""
297+
return self._cpu
298+
299+
@cpu.setter
300+
def cpu(self, cpu):
301+
"""Sets the cpu of this CreateFunctionResponse.
302+
303+
304+
:param cpu: The cpu of this CreateFunctionResponse. # noqa: E501
305+
:type: int
306+
"""
307+
308+
self._cpu = cpu
309+
279310
@property
280311
def creation_time(self):
281312
"""Gets the creation_time of this CreateFunctionResponse. # noqa: E501
@@ -318,6 +349,27 @@ def description(self, description):
318349

319350
self._description = description
320351

352+
@property
353+
def enable_apmplus(self):
354+
"""Gets the enable_apmplus of this CreateFunctionResponse. # noqa: E501
355+
356+
357+
:return: The enable_apmplus of this CreateFunctionResponse. # noqa: E501
358+
:rtype: bool
359+
"""
360+
return self._enable_apmplus
361+
362+
@enable_apmplus.setter
363+
def enable_apmplus(self, enable_apmplus):
364+
"""Sets the enable_apmplus of this CreateFunctionResponse.
365+
366+
367+
:param enable_apmplus: The enable_apmplus of this CreateFunctionResponse. # noqa: E501
368+
:type: bool
369+
"""
370+
371+
self._enable_apmplus = enable_apmplus
372+
321373
@property
322374
def envs(self):
323375
"""Gets the envs of this CreateFunctionResponse. # noqa: E501

0 commit comments

Comments
 (0)