Skip to content

Commit 7920eeb

Browse files
committed
Update API StartAIAnalysis: update param body.
1 parent 39672d8 commit 7920eeb

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

sysom-20231230/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-02-26 Version: 1.9.1
2+
- Update API StartAIAnalysis: update param body.
3+
4+
15
2025-02-17 Version: 1.9.0
26
- Support API GenerateCopilotStreamResponse.
37
- Support API GetAIQueryResult.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.9.0'
1+
__version__ = '1.9.1'

sysom-20231230/alibabacloud_sysom20231230/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5463,6 +5463,8 @@ def start_aianalysis_with_options(
54635463
"""
54645464
UtilClient.validate_model(request)
54655465
body = {}
5466+
if not UtilClient.is_unset(request.analysis_tool):
5467+
body['analysisTool'] = request.analysis_tool
54665468
if not UtilClient.is_unset(request.channel):
54675469
body['channel'] = request.channel
54685470
if not UtilClient.is_unset(request.comms):
@@ -5517,6 +5519,8 @@ async def start_aianalysis_with_options_async(
55175519
"""
55185520
UtilClient.validate_model(request)
55195521
body = {}
5522+
if not UtilClient.is_unset(request.analysis_tool):
5523+
body['analysisTool'] = request.analysis_tool
55205524
if not UtilClient.is_unset(request.channel):
55215525
body['channel'] = request.channel
55225526
if not UtilClient.is_unset(request.comms):

sysom-20231230/alibabacloud_sysom20231230/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8440,13 +8440,15 @@ def from_map(self, m: dict = None):
84408440
class StartAIAnalysisRequest(TeaModel):
84418441
def __init__(
84428442
self,
8443+
analysis_tool: str = None,
84438444
channel: str = None,
84448445
comms: str = None,
84458446
instance: str = None,
84468447
pids: str = None,
84478448
region: str = None,
84488449
timeout: int = None,
84498450
):
8451+
self.analysis_tool = analysis_tool
84508452
self.channel = channel
84518453
self.comms = comms
84528454
self.instance = instance
@@ -8463,6 +8465,8 @@ def to_map(self):
84638465
return _map
84648466

84658467
result = dict()
8468+
if self.analysis_tool is not None:
8469+
result['analysisTool'] = self.analysis_tool
84668470
if self.channel is not None:
84678471
result['channel'] = self.channel
84688472
if self.comms is not None:
@@ -8479,6 +8483,8 @@ def to_map(self):
84798483

84808484
def from_map(self, m: dict = None):
84818485
m = m or dict()
8486+
if m.get('analysisTool') is not None:
8487+
self.analysis_tool = m.get('analysisTool')
84828488
if m.get('channel') is not None:
84838489
self.channel = m.get('channel')
84848490
if m.get('comms') is not None:

sysom-20231230/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"""
2525
setup module for alibabacloud_sysom20231230.
2626
27-
Created on 17/02/2025
27+
Created on 26/02/2025
2828
2929
@author: Alibaba Cloud SDK
3030
"""

0 commit comments

Comments
 (0)