Skip to content

Commit 65e9c24

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for i18n_openapi-Python-2021-05-21-online-1960-2025_12_19_15_24_30
1 parent 4b40772 commit 65e9c24

File tree

6 files changed

+36
-10
lines changed

6 files changed

+36
-10
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.43",
3-
"meta_commit": "9e708da9a2b87da4956c10323037b820ec8007d0"
2+
"lasted": "4.0.44",
3+
"meta_commit": "463b1e49032acf6b8211ac28b2aae42e63edbd8d"
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.43"
3+
version = "4.0.44"
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.43"
6+
VERSION = "4.0.44"
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.43'
67+
self.user_agent = 'volcstack-python-sdk/4.0.44'
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.43".\
275+
"SDK Package Version: 4.0.44".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdki18nopenapi/models/task_info_for_video_project_serial_task_create_input.py

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ class TaskInfoForVideoProjectSerialTaskCreateInput(object):
3535
swagger_types = {
3636
'ai_remove_type': 'str',
3737
'asr_model': 'int',
38+
'bgm_policy': 'int',
3839
'comment': 'str',
3940
'deadline': 'int',
4041
'drama_cover_url': 'str',
4142
'drama_description': 'str',
4243
'drama_title': 'str',
43-
'is_dub': 'int',
44+
'is_dub': 'bool',
4445
'need_translate_cover': 'bool',
4546
'need_translate_desc': 'bool',
4647
'need_translate_title': 'bool',
@@ -56,6 +57,7 @@ class TaskInfoForVideoProjectSerialTaskCreateInput(object):
5657
attribute_map = {
5758
'ai_remove_type': 'aiRemoveType',
5859
'asr_model': 'asrModel',
60+
'bgm_policy': 'bgmPolicy',
5961
'comment': 'comment',
6062
'deadline': 'deadline',
6163
'drama_cover_url': 'dramaCoverUrl',
@@ -74,14 +76,15 @@ class TaskInfoForVideoProjectSerialTaskCreateInput(object):
7476
'use_mt': 'useMT'
7577
}
7678

77-
def __init__(self, ai_remove_type=None, asr_model=None, comment=None, deadline=None, drama_cover_url=None, drama_description=None, drama_title=None, is_dub=None, need_translate_cover=None, need_translate_desc=None, need_translate_title=None, need_translate_title_and_desc=None, serial_number=None, source_lang=None, target_langs=None, target_style_map=None, task_name=None, use_mt=None, _configuration=None): # noqa: E501
79+
def __init__(self, ai_remove_type=None, asr_model=None, bgm_policy=None, comment=None, deadline=None, drama_cover_url=None, drama_description=None, drama_title=None, is_dub=None, need_translate_cover=None, need_translate_desc=None, need_translate_title=None, need_translate_title_and_desc=None, serial_number=None, source_lang=None, target_langs=None, target_style_map=None, task_name=None, use_mt=None, _configuration=None): # noqa: E501
7880
"""TaskInfoForVideoProjectSerialTaskCreateInput - a model defined in Swagger""" # noqa: E501
7981
if _configuration is None:
8082
_configuration = Configuration()
8183
self._configuration = _configuration
8284

8385
self._ai_remove_type = None
8486
self._asr_model = None
87+
self._bgm_policy = None
8588
self._comment = None
8689
self._deadline = None
8790
self._drama_cover_url = None
@@ -104,6 +107,8 @@ def __init__(self, ai_remove_type=None, asr_model=None, comment=None, deadline=N
104107
self.ai_remove_type = ai_remove_type
105108
if asr_model is not None:
106109
self.asr_model = asr_model
110+
if bgm_policy is not None:
111+
self.bgm_policy = bgm_policy
107112
if comment is not None:
108113
self.comment = comment
109114
if deadline is not None:
@@ -179,6 +184,27 @@ def asr_model(self, asr_model):
179184

180185
self._asr_model = asr_model
181186

187+
@property
188+
def bgm_policy(self):
189+
"""Gets the bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
190+
191+
192+
:return: The bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
193+
:rtype: int
194+
"""
195+
return self._bgm_policy
196+
197+
@bgm_policy.setter
198+
def bgm_policy(self, bgm_policy):
199+
"""Sets the bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput.
200+
201+
202+
:param bgm_policy: The bgm_policy of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
203+
:type: int
204+
"""
205+
206+
self._bgm_policy = bgm_policy
207+
182208
@property
183209
def comment(self):
184210
"""Gets the comment of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
@@ -290,7 +316,7 @@ def is_dub(self):
290316
291317
292318
:return: The is_dub of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
293-
:rtype: int
319+
:rtype: bool
294320
"""
295321
return self._is_dub
296322

@@ -300,7 +326,7 @@ def is_dub(self, is_dub):
300326
301327
302328
:param is_dub: The is_dub of this TaskInfoForVideoProjectSerialTaskCreateInput. # noqa: E501
303-
:type: int
329+
:type: bool
304330
"""
305331

306332
self._is_dub = is_dub

0 commit comments

Comments
 (0)