Skip to content

Commit 73cbba2

Browse files
committed
Merge 'integration_2026-01-22_1106749899266' into 'master'
merge branch integration_2026-01-22_1106749899266 into master See merge request: !1038
2 parents 98df6fb + 2fdfe8d commit 73cbba2

File tree

309 files changed

+54722
-807
lines changed

Some content is hidden

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

309 files changed

+54722
-807
lines changed

README.EN.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,4 @@ For more examples, see: [SDK Integration Guide](./SDK_Integration.md)
202202
### FAQ
203203

204204
For common issues when using the SDK, see [FAQ](FAQ.EN.md).
205+

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "5.0.6",
3-
"meta_commit": "c052315a28392795bc22f23aa97730902f8f998a"
2+
"lasted": "5.0.7",
3+
"meta_commit": "2756e1ef42b0bd3eb8a186a7be5bfd9cd4704d25"
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.6"
3+
version = "5.0.7"
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.6"
6+
VERSION = "5.0.7"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkclouddetect/__init__.py

Lines changed: 119 additions & 5 deletions
Large diffs are not rendered by default.

volcenginesdkclouddetect/api/cloud_detect_api.py

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -615,38 +615,38 @@ def list_task_with_http_info(self, body, **kwargs): # noqa: E501
615615
_request_timeout=params.get('_request_timeout'),
616616
collection_formats=collection_formats)
617617

618-
def list_task_groups(self, body, **kwargs): # noqa: E501
619-
"""list_task_groups # noqa: E501
618+
def restart_task(self, body, **kwargs): # noqa: E501
619+
"""restart_task # noqa: E501
620620
621621
This method makes a synchronous HTTP request by default. To make an
622622
asynchronous HTTP request, please pass async_req=True
623-
>>> thread = api.list_task_groups(body, async_req=True)
623+
>>> thread = api.restart_task(body, async_req=True)
624624
>>> result = thread.get()
625625
626626
:param async_req bool
627-
:param ListTaskGroupsRequest body: (required)
628-
:return: ListTaskGroupsResponse
627+
:param RestartTaskRequest body: (required)
628+
:return: RestartTaskResponse
629629
If the method is called asynchronously,
630630
returns the request thread.
631631
"""
632632
kwargs['_return_http_data_only'] = True
633633
if kwargs.get('async_req'):
634-
return self.list_task_groups_with_http_info(body, **kwargs) # noqa: E501
634+
return self.restart_task_with_http_info(body, **kwargs) # noqa: E501
635635
else:
636-
(data) = self.list_task_groups_with_http_info(body, **kwargs) # noqa: E501
636+
(data) = self.restart_task_with_http_info(body, **kwargs) # noqa: E501
637637
return data
638638

639-
def list_task_groups_with_http_info(self, body, **kwargs): # noqa: E501
640-
"""list_task_groups # noqa: E501
639+
def restart_task_with_http_info(self, body, **kwargs): # noqa: E501
640+
"""restart_task # noqa: E501
641641
642642
This method makes a synchronous HTTP request by default. To make an
643643
asynchronous HTTP request, please pass async_req=True
644-
>>> thread = api.list_task_groups_with_http_info(body, async_req=True)
644+
>>> thread = api.restart_task_with_http_info(body, async_req=True)
645645
>>> result = thread.get()
646646
647647
:param async_req bool
648-
:param ListTaskGroupsRequest body: (required)
649-
:return: ListTaskGroupsResponse
648+
:param RestartTaskRequest body: (required)
649+
:return: RestartTaskResponse
650650
If the method is called asynchronously,
651651
returns the request thread.
652652
"""
@@ -662,14 +662,14 @@ def list_task_groups_with_http_info(self, body, **kwargs): # noqa: E501
662662
if key not in all_params:
663663
raise TypeError(
664664
"Got an unexpected keyword argument '%s'"
665-
" to method list_task_groups" % key
665+
" to method restart_task" % key
666666
)
667667
params[key] = val
668668
del params['kwargs']
669669
# verify the required parameter 'body' is set
670670
if self.api_client.client_side_validation and ('body' not in params or
671671
params['body'] is None): # noqa: E501
672-
raise ValueError("Missing the required parameter `body` when calling `list_task_groups`") # noqa: E501
672+
raise ValueError("Missing the required parameter `body` when calling `restart_task`") # noqa: E501
673673

674674
collection_formats = {}
675675

@@ -697,53 +697,53 @@ def list_task_groups_with_http_info(self, body, **kwargs): # noqa: E501
697697
auth_settings = ['volcengineSign'] # noqa: E501
698698

699699
return self.api_client.call_api(
700-
'/ListTaskGroups/2023-08-31/cloud_detect/post/application_json/', 'POST',
700+
'/RestartTask/2023-08-31/cloud_detect/post/application_json/', 'POST',
701701
path_params,
702702
query_params,
703703
header_params,
704704
body=body_params,
705705
post_params=form_params,
706706
files=local_var_files,
707-
response_type='ListTaskGroupsResponse', # noqa: E501
707+
response_type='RestartTaskResponse', # noqa: E501
708708
auth_settings=auth_settings,
709709
async_req=params.get('async_req'),
710710
_return_http_data_only=params.get('_return_http_data_only'),
711711
_preload_content=params.get('_preload_content', True),
712712
_request_timeout=params.get('_request_timeout'),
713713
collection_formats=collection_formats)
714714

715-
def restart_task(self, body, **kwargs): # noqa: E501
716-
"""restart_task # noqa: E501
715+
def stop_task(self, body, **kwargs): # noqa: E501
716+
"""stop_task # noqa: E501
717717
718718
This method makes a synchronous HTTP request by default. To make an
719719
asynchronous HTTP request, please pass async_req=True
720-
>>> thread = api.restart_task(body, async_req=True)
720+
>>> thread = api.stop_task(body, async_req=True)
721721
>>> result = thread.get()
722722
723723
:param async_req bool
724-
:param RestartTaskRequest body: (required)
725-
:return: RestartTaskResponse
724+
:param StopTaskRequest body: (required)
725+
:return: StopTaskResponse
726726
If the method is called asynchronously,
727727
returns the request thread.
728728
"""
729729
kwargs['_return_http_data_only'] = True
730730
if kwargs.get('async_req'):
731-
return self.restart_task_with_http_info(body, **kwargs) # noqa: E501
731+
return self.stop_task_with_http_info(body, **kwargs) # noqa: E501
732732
else:
733-
(data) = self.restart_task_with_http_info(body, **kwargs) # noqa: E501
733+
(data) = self.stop_task_with_http_info(body, **kwargs) # noqa: E501
734734
return data
735735

736-
def restart_task_with_http_info(self, body, **kwargs): # noqa: E501
737-
"""restart_task # noqa: E501
736+
def stop_task_with_http_info(self, body, **kwargs): # noqa: E501
737+
"""stop_task # noqa: E501
738738
739739
This method makes a synchronous HTTP request by default. To make an
740740
asynchronous HTTP request, please pass async_req=True
741-
>>> thread = api.restart_task_with_http_info(body, async_req=True)
741+
>>> thread = api.stop_task_with_http_info(body, async_req=True)
742742
>>> result = thread.get()
743743
744744
:param async_req bool
745-
:param RestartTaskRequest body: (required)
746-
:return: RestartTaskResponse
745+
:param StopTaskRequest body: (required)
746+
:return: StopTaskResponse
747747
If the method is called asynchronously,
748748
returns the request thread.
749749
"""
@@ -759,14 +759,14 @@ def restart_task_with_http_info(self, body, **kwargs): # noqa: E501
759759
if key not in all_params:
760760
raise TypeError(
761761
"Got an unexpected keyword argument '%s'"
762-
" to method restart_task" % key
762+
" to method stop_task" % key
763763
)
764764
params[key] = val
765765
del params['kwargs']
766766
# verify the required parameter 'body' is set
767767
if self.api_client.client_side_validation and ('body' not in params or
768768
params['body'] is None): # noqa: E501
769-
raise ValueError("Missing the required parameter `body` when calling `restart_task`") # noqa: E501
769+
raise ValueError("Missing the required parameter `body` when calling `stop_task`") # noqa: E501
770770

771771
collection_formats = {}
772772

@@ -794,53 +794,53 @@ def restart_task_with_http_info(self, body, **kwargs): # noqa: E501
794794
auth_settings = ['volcengineSign'] # noqa: E501
795795

796796
return self.api_client.call_api(
797-
'/RestartTask/2023-08-31/cloud_detect/post/application_json/', 'POST',
797+
'/StopTask/2023-08-31/cloud_detect/post/application_json/', 'POST',
798798
path_params,
799799
query_params,
800800
header_params,
801801
body=body_params,
802802
post_params=form_params,
803803
files=local_var_files,
804-
response_type='RestartTaskResponse', # noqa: E501
804+
response_type='StopTaskResponse', # noqa: E501
805805
auth_settings=auth_settings,
806806
async_req=params.get('async_req'),
807807
_return_http_data_only=params.get('_return_http_data_only'),
808808
_preload_content=params.get('_preload_content', True),
809809
_request_timeout=params.get('_request_timeout'),
810810
collection_formats=collection_formats)
811811

812-
def stop_task(self, body, **kwargs): # noqa: E501
813-
"""stop_task # noqa: E501
812+
def update_task(self, body, **kwargs): # noqa: E501
813+
"""update_task # noqa: E501
814814
815815
This method makes a synchronous HTTP request by default. To make an
816816
asynchronous HTTP request, please pass async_req=True
817-
>>> thread = api.stop_task(body, async_req=True)
817+
>>> thread = api.update_task(body, async_req=True)
818818
>>> result = thread.get()
819819
820820
:param async_req bool
821-
:param StopTaskRequest body: (required)
822-
:return: StopTaskResponse
821+
:param UpdateTaskRequest body: (required)
822+
:return: UpdateTaskResponse
823823
If the method is called asynchronously,
824824
returns the request thread.
825825
"""
826826
kwargs['_return_http_data_only'] = True
827827
if kwargs.get('async_req'):
828-
return self.stop_task_with_http_info(body, **kwargs) # noqa: E501
828+
return self.update_task_with_http_info(body, **kwargs) # noqa: E501
829829
else:
830-
(data) = self.stop_task_with_http_info(body, **kwargs) # noqa: E501
830+
(data) = self.update_task_with_http_info(body, **kwargs) # noqa: E501
831831
return data
832832

833-
def stop_task_with_http_info(self, body, **kwargs): # noqa: E501
834-
"""stop_task # noqa: E501
833+
def update_task_with_http_info(self, body, **kwargs): # noqa: E501
834+
"""update_task # noqa: E501
835835
836836
This method makes a synchronous HTTP request by default. To make an
837837
asynchronous HTTP request, please pass async_req=True
838-
>>> thread = api.stop_task_with_http_info(body, async_req=True)
838+
>>> thread = api.update_task_with_http_info(body, async_req=True)
839839
>>> result = thread.get()
840840
841841
:param async_req bool
842-
:param StopTaskRequest body: (required)
843-
:return: StopTaskResponse
842+
:param UpdateTaskRequest body: (required)
843+
:return: UpdateTaskResponse
844844
If the method is called asynchronously,
845845
returns the request thread.
846846
"""
@@ -856,14 +856,14 @@ def stop_task_with_http_info(self, body, **kwargs): # noqa: E501
856856
if key not in all_params:
857857
raise TypeError(
858858
"Got an unexpected keyword argument '%s'"
859-
" to method stop_task" % key
859+
" to method update_task" % key
860860
)
861861
params[key] = val
862862
del params['kwargs']
863863
# verify the required parameter 'body' is set
864864
if self.api_client.client_side_validation and ('body' not in params or
865865
params['body'] is None): # noqa: E501
866-
raise ValueError("Missing the required parameter `body` when calling `stop_task`") # noqa: E501
866+
raise ValueError("Missing the required parameter `body` when calling `update_task`") # noqa: E501
867867

868868
collection_formats = {}
869869

@@ -891,14 +891,14 @@ def stop_task_with_http_info(self, body, **kwargs): # noqa: E501
891891
auth_settings = ['volcengineSign'] # noqa: E501
892892

893893
return self.api_client.call_api(
894-
'/StopTask/2023-08-31/cloud_detect/post/application_json/', 'POST',
894+
'/UpdateTask/2023-08-31/cloud_detect/post/application_json/', 'POST',
895895
path_params,
896896
query_params,
897897
header_params,
898898
body=body_params,
899899
post_params=form_params,
900900
files=local_var_files,
901-
response_type='StopTaskResponse', # noqa: E501
901+
response_type='UpdateTaskResponse', # noqa: E501
902902
auth_settings=auth_settings,
903903
async_req=params.get('async_req'),
904904
_return_http_data_only=params.get('_return_http_data_only'),

0 commit comments

Comments
 (0)