alibabacloud-aimiaobi20230801 1.8.0__py3-none-any.whl → 1.8.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- __version__ = '1.8.0'
1
+ __version__ = '1.8.2'
@@ -7288,17 +7288,27 @@ class GetTopicSelectionPerspectiveAnalysisTaskResponseBodyDataFreshViewPointsRes
7288
7288
  class GetTopicSelectionPerspectiveAnalysisTaskResponseBodyDataHotViewPointsResultAttitudesNews(TeaModel):
7289
7289
  def __init__(
7290
7290
  self,
7291
+ content: str = None,
7291
7292
  doc_id: str = None,
7292
7293
  doc_uuid: str = None,
7293
7294
  image_urls: List[str] = None,
7295
+ source: str = None,
7296
+ summary: str = None,
7294
7297
  tags: List[str] = None,
7298
+ title: str = None,
7295
7299
  topic: str = None,
7300
+ url: str = None,
7296
7301
  ):
7302
+ self.content = content
7297
7303
  self.doc_id = doc_id
7298
7304
  self.doc_uuid = doc_uuid
7299
7305
  self.image_urls = image_urls
7306
+ self.source = source
7307
+ self.summary = summary
7300
7308
  self.tags = tags
7309
+ self.title = title
7301
7310
  self.topic = topic
7311
+ self.url = url
7302
7312
 
7303
7313
  def validate(self):
7304
7314
  pass
@@ -7309,30 +7319,50 @@ class GetTopicSelectionPerspectiveAnalysisTaskResponseBodyDataHotViewPointsResul
7309
7319
  return _map
7310
7320
 
7311
7321
  result = dict()
7322
+ if self.content is not None:
7323
+ result['Content'] = self.content
7312
7324
  if self.doc_id is not None:
7313
7325
  result['DocId'] = self.doc_id
7314
7326
  if self.doc_uuid is not None:
7315
7327
  result['DocUuid'] = self.doc_uuid
7316
7328
  if self.image_urls is not None:
7317
7329
  result['ImageUrls'] = self.image_urls
7330
+ if self.source is not None:
7331
+ result['Source'] = self.source
7332
+ if self.summary is not None:
7333
+ result['Summary'] = self.summary
7318
7334
  if self.tags is not None:
7319
7335
  result['Tags'] = self.tags
7336
+ if self.title is not None:
7337
+ result['Title'] = self.title
7320
7338
  if self.topic is not None:
7321
7339
  result['Topic'] = self.topic
7340
+ if self.url is not None:
7341
+ result['Url'] = self.url
7322
7342
  return result
7323
7343
 
7324
7344
  def from_map(self, m: dict = None):
7325
7345
  m = m or dict()
7346
+ if m.get('Content') is not None:
7347
+ self.content = m.get('Content')
7326
7348
  if m.get('DocId') is not None:
7327
7349
  self.doc_id = m.get('DocId')
7328
7350
  if m.get('DocUuid') is not None:
7329
7351
  self.doc_uuid = m.get('DocUuid')
7330
7352
  if m.get('ImageUrls') is not None:
7331
7353
  self.image_urls = m.get('ImageUrls')
7354
+ if m.get('Source') is not None:
7355
+ self.source = m.get('Source')
7356
+ if m.get('Summary') is not None:
7357
+ self.summary = m.get('Summary')
7332
7358
  if m.get('Tags') is not None:
7333
7359
  self.tags = m.get('Tags')
7360
+ if m.get('Title') is not None:
7361
+ self.title = m.get('Title')
7334
7362
  if m.get('Topic') is not None:
7335
7363
  self.topic = m.get('Topic')
7364
+ if m.get('Url') is not None:
7365
+ self.url = m.get('Url')
7336
7366
  return self
7337
7367
 
7338
7368
 
@@ -23809,10 +23839,44 @@ class SubmitDocClusterTaskResponse(TeaModel):
23809
23839
  return self
23810
23840
 
23811
23841
 
23842
+ class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocumentsComments(TeaModel):
23843
+ def __init__(
23844
+ self,
23845
+ text: str = None,
23846
+ username: str = None,
23847
+ ):
23848
+ self.text = text
23849
+ self.username = username
23850
+
23851
+ def validate(self):
23852
+ pass
23853
+
23854
+ def to_map(self):
23855
+ _map = super().to_map()
23856
+ if _map is not None:
23857
+ return _map
23858
+
23859
+ result = dict()
23860
+ if self.text is not None:
23861
+ result['Text'] = self.text
23862
+ if self.username is not None:
23863
+ result['Username'] = self.username
23864
+ return result
23865
+
23866
+ def from_map(self, m: dict = None):
23867
+ m = m or dict()
23868
+ if m.get('Text') is not None:
23869
+ self.text = m.get('Text')
23870
+ if m.get('Username') is not None:
23871
+ self.username = m.get('Username')
23872
+ return self
23873
+
23874
+
23812
23875
  class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocuments(TeaModel):
23813
23876
  def __init__(
23814
23877
  self,
23815
23878
  author: str = None,
23879
+ comments: List[SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocumentsComments] = None,
23816
23880
  content: str = None,
23817
23881
  pub_time: str = None,
23818
23882
  source: str = None,
@@ -23821,6 +23885,7 @@ class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocuments(TeaModel):
23821
23885
  url: str = None,
23822
23886
  ):
23823
23887
  self.author = author
23888
+ self.comments = comments
23824
23889
  # This parameter is required.
23825
23890
  self.content = content
23826
23891
  self.pub_time = pub_time
@@ -23830,7 +23895,10 @@ class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocuments(TeaModel):
23830
23895
  self.url = url
23831
23896
 
23832
23897
  def validate(self):
23833
- pass
23898
+ if self.comments:
23899
+ for k in self.comments:
23900
+ if k:
23901
+ k.validate()
23834
23902
 
23835
23903
  def to_map(self):
23836
23904
  _map = super().to_map()
@@ -23840,6 +23908,10 @@ class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocuments(TeaModel):
23840
23908
  result = dict()
23841
23909
  if self.author is not None:
23842
23910
  result['Author'] = self.author
23911
+ result['Comments'] = []
23912
+ if self.comments is not None:
23913
+ for k in self.comments:
23914
+ result['Comments'].append(k.to_map() if k else None)
23843
23915
  if self.content is not None:
23844
23916
  result['Content'] = self.content
23845
23917
  if self.pub_time is not None:
@@ -23858,6 +23930,11 @@ class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocuments(TeaModel):
23858
23930
  m = m or dict()
23859
23931
  if m.get('Author') is not None:
23860
23932
  self.author = m.get('Author')
23933
+ self.comments = []
23934
+ if m.get('Comments') is not None:
23935
+ for k in m.get('Comments'):
23936
+ temp_model = SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocumentsComments()
23937
+ self.comments.append(temp_model.from_map(k))
23861
23938
  if m.get('Content') is not None:
23862
23939
  self.content = m.get('Content')
23863
23940
  if m.get('PubTime') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-aimiaobi20230801
3
- Version: 1.8.0
3
+ Version: 1.8.2
4
4
  Summary: Alibaba Cloud AiMiaoBi (20230801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.3)
25
25
  Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.1)
26
- Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.11)
26
+ Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.12)
27
27
  Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
28
28
 
29
29
  English | [简体中文](README-CN.md)
@@ -33,7 +33,7 @@ English | [简体中文](README-CN.md)
33
33
 
34
34
  ## Requirements
35
35
 
36
- - Python >= 3.6
36
+ - Python >= 3.7
37
37
 
38
38
  ## Installation
39
39
 
@@ -0,0 +1,8 @@
1
+ alibabacloud_aimiaobi20230801/__init__.py,sha256=rC5r8a57tNS8iEsH9-9wBJhgkqTnEUlOLtqdDToxtfM,21
2
+ alibabacloud_aimiaobi20230801/client.py,sha256=SIK3IOcZOAmbgsAET8mtSuFPu71hLEz8Ue17zQQhasY,395512
3
+ alibabacloud_aimiaobi20230801/models.py,sha256=stoz_xqWGsFUAASr-jHiEFLrrBJmqeRLGtmEdNzfGTs,796578
4
+ alibabacloud_aimiaobi20230801-1.8.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_aimiaobi20230801-1.8.2.dist-info/METADATA,sha256=0qZgtNzxM0ErC1aAQZ-X7OUT55K7xKDeDKEES3ydeC0,2347
6
+ alibabacloud_aimiaobi20230801-1.8.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_aimiaobi20230801-1.8.2.dist-info/top_level.txt,sha256=8_10N8zQLrK-NI6L5TUyufvojDqjPl1Q-dHKwoC_b5Q,30
8
+ alibabacloud_aimiaobi20230801-1.8.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_aimiaobi20230801/__init__.py,sha256=xuQIDWcR8IgFZlyRjAXziglSj4bv_gjPpNiRgJlQSGc,21
2
- alibabacloud_aimiaobi20230801/client.py,sha256=SIK3IOcZOAmbgsAET8mtSuFPu71hLEz8Ue17zQQhasY,395512
3
- alibabacloud_aimiaobi20230801/models.py,sha256=osvXdCMU-x-4W-8umAXEm9cgb_9kiWRhsVPVGseVy0A,793985
4
- alibabacloud_aimiaobi20230801-1.8.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_aimiaobi20230801-1.8.0.dist-info/METADATA,sha256=6cd7B3G-wyw3ucj8VKk_aOrhakgTgT3SbsTI9NyfBmA,2347
6
- alibabacloud_aimiaobi20230801-1.8.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_aimiaobi20230801-1.8.0.dist-info/top_level.txt,sha256=8_10N8zQLrK-NI6L5TUyufvojDqjPl1Q-dHKwoC_b5Q,30
8
- alibabacloud_aimiaobi20230801-1.8.0.dist-info/RECORD,,