tencentcloud-sdk-python-mps 3.1.157__py2.py3-none-any.whl → 3.1.161__py2.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.

Potentially problematic release.


This version of tencentcloud-sdk-python-mps might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.157'
17
+ __version__ = '3.1.161'
@@ -549,6 +549,8 @@ class Activity(AbstractModel):
549
549
  r"""
550
550
  :param _ActivityType: <p>原子任务类型:</p><li>input: 起始节点</li><li>output:终止节点</li><li>action-trans:转码</li><li>action-samplesnapshot:采样截图</li><li>action-AIAnalysis: 分析</li><li>action-AIRecognition:识别</li><li>action-aiReview:审核</li><li>action-animated-graphics:转动图</li><li>action-image-sprite:雪碧图</li><li>action-snapshotByTimeOffset: 时间点截图</li><li>action-adaptive-substream:自适应码流</li><li>action-AIQualityControl:媒体质检</li><li>action-SmartSubtitles:智能字幕</li><li>action-exec-rules:判断规则</li><li>action-SmartErase:智能擦除</li>
551
551
  :type ActivityType: str
552
+ :param _PredriveIndex: <p>前驱节点索引数组。<br>注意:创建和修改编排时,该参数无效,由服务端自动生成。</p>
553
+ :type PredriveIndex: list of int
552
554
  :param _ReardriveIndex: <p>后驱节点索引数组</p>
553
555
  :type ReardriveIndex: list of int
554
556
  :param _ActivityPara: <p>原子任务参数</p>
@@ -556,6 +558,7 @@ class Activity(AbstractModel):
556
558
  :type ActivityPara: :class:`tencentcloud.mps.v20190612.models.ActivityPara`
557
559
  """
558
560
  self._ActivityType = None
561
+ self._PredriveIndex = None
559
562
  self._ReardriveIndex = None
560
563
  self._ActivityPara = None
561
564
 
@@ -570,6 +573,17 @@ class Activity(AbstractModel):
570
573
  def ActivityType(self, ActivityType):
571
574
  self._ActivityType = ActivityType
572
575
 
576
+ @property
577
+ def PredriveIndex(self):
578
+ r"""<p>前驱节点索引数组。<br>注意:创建和修改编排时,该参数无效,由服务端自动生成。</p>
579
+ :rtype: list of int
580
+ """
581
+ return self._PredriveIndex
582
+
583
+ @PredriveIndex.setter
584
+ def PredriveIndex(self, PredriveIndex):
585
+ self._PredriveIndex = PredriveIndex
586
+
573
587
  @property
574
588
  def ReardriveIndex(self):
575
589
  r"""<p>后驱节点索引数组</p>
@@ -596,6 +610,7 @@ class Activity(AbstractModel):
596
610
 
597
611
  def _deserialize(self, params):
598
612
  self._ActivityType = params.get("ActivityType")
613
+ self._PredriveIndex = params.get("PredriveIndex")
599
614
  self._ReardriveIndex = params.get("ReardriveIndex")
600
615
  if params.get("ActivityPara") is not None:
601
616
  self._ActivityPara = ActivityPara()
@@ -23905,11 +23920,14 @@ class CreateImageConfig(AbstractModel):
23905
23920
  :type Resolution: str
23906
23921
  :param _AspectRatio: <p>输出图片的宽高比</p><p>枚举值:</p><ul><li>1:1: 宽高比 1:1</li><li>2:3: 宽高比 2:3</li><li>3:2: 宽高比 3:2</li><li>3:4: 宽高比 3:4</li><li>4:3: 宽高比 4:3</li><li>9:16: 宽高比 9:16</li><li>16:9: 宽高比 16:9</li></ul><p>默认值:1:1</p>
23907
23922
  :type AspectRatio: str
23923
+ :param _AdditionalParameters: <p>附加参数。</p>
23924
+ :type AdditionalParameters: str
23908
23925
  """
23909
23926
  self._Model = None
23910
23927
  self._Prompt = None
23911
23928
  self._Resolution = None
23912
23929
  self._AspectRatio = None
23930
+ self._AdditionalParameters = None
23913
23931
 
23914
23932
  @property
23915
23933
  def Model(self):
@@ -23955,12 +23973,24 @@ class CreateImageConfig(AbstractModel):
23955
23973
  def AspectRatio(self, AspectRatio):
23956
23974
  self._AspectRatio = AspectRatio
23957
23975
 
23976
+ @property
23977
+ def AdditionalParameters(self):
23978
+ r"""<p>附加参数。</p>
23979
+ :rtype: str
23980
+ """
23981
+ return self._AdditionalParameters
23982
+
23983
+ @AdditionalParameters.setter
23984
+ def AdditionalParameters(self, AdditionalParameters):
23985
+ self._AdditionalParameters = AdditionalParameters
23986
+
23958
23987
 
23959
23988
  def _deserialize(self, params):
23960
23989
  self._Model = params.get("Model")
23961
23990
  self._Prompt = params.get("Prompt")
23962
23991
  self._Resolution = params.get("Resolution")
23963
23992
  self._AspectRatio = params.get("AspectRatio")
23993
+ self._AdditionalParameters = params.get("AdditionalParameters")
23964
23994
  memeber_set = set(params.keys())
23965
23995
  for name, value in vars(self).items():
23966
23996
  property_name = name[1:]
@@ -35594,7 +35624,7 @@ class DescribeDesignTaskResponse(AbstractModel):
35594
35624
 
35595
35625
  def __init__(self):
35596
35626
  r"""
35597
- :param _ErrorCode: <p>错误码,成功时返回0</p>
35627
+ :param _ErrorCode: <p>错误码,成功时返回0,处理中返回100</p>
35598
35628
  :type ErrorCode: int
35599
35629
  :param _Msg: <p>错误信息,成功时返回success</p>
35600
35630
  :type Msg: str
@@ -35621,7 +35651,7 @@ class DescribeDesignTaskResponse(AbstractModel):
35621
35651
 
35622
35652
  @property
35623
35653
  def ErrorCode(self):
35624
- r"""<p>错误码,成功时返回0</p>
35654
+ r"""<p>错误码,成功时返回0,处理中返回100</p>
35625
35655
  :rtype: int
35626
35656
  """
35627
35657
  return self._ErrorCode
@@ -53667,6 +53697,42 @@ class ImageProcessTaskResult(AbstractModel):
53667
53697
 
53668
53698
 
53669
53699
 
53700
+ class ImageQualityConfig(AbstractModel):
53701
+ r"""图片质量评估任务。
53702
+
53703
+ """
53704
+
53705
+ def __init__(self):
53706
+ r"""
53707
+ :param _Attributes: <p>图片质量评估维度</p><p>枚举值:</p><ul><li>Brightness: 亮度评估</li><li>Contrast: 对比度评估</li><li>Sharpness: 清晰度评估</li><li>IQA: 综合质量评估</li></ul>
53708
+ :type Attributes: list of str
53709
+ """
53710
+ self._Attributes = None
53711
+
53712
+ @property
53713
+ def Attributes(self):
53714
+ r"""<p>图片质量评估维度</p><p>枚举值:</p><ul><li>Brightness: 亮度评估</li><li>Contrast: 对比度评估</li><li>Sharpness: 清晰度评估</li><li>IQA: 综合质量评估</li></ul>
53715
+ :rtype: list of str
53716
+ """
53717
+ return self._Attributes
53718
+
53719
+ @Attributes.setter
53720
+ def Attributes(self, Attributes):
53721
+ self._Attributes = Attributes
53722
+
53723
+
53724
+ def _deserialize(self, params):
53725
+ self._Attributes = params.get("Attributes")
53726
+ memeber_set = set(params.keys())
53727
+ for name, value in vars(self).items():
53728
+ property_name = name[1:]
53729
+ if property_name in memeber_set:
53730
+ memeber_set.remove(property_name)
53731
+ if len(memeber_set) > 0:
53732
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
53733
+
53734
+
53735
+
53670
53736
  class ImageQualityEnhanceConfig(AbstractModel):
53671
53737
  r"""综合增强配置
53672
53738
 
@@ -54486,6 +54552,8 @@ class ImageTaskInput(AbstractModel):
54486
54552
  :type AiStoryboardConfig: :class:`tencentcloud.mps.v20190612.models.AiStoryboardConfig`
54487
54553
  :param _UnderstandImageConfig: <p>图片理解配置</p>
54488
54554
  :type UnderstandImageConfig: :class:`tencentcloud.mps.v20190612.models.UnderstandImageConfig`
54555
+ :param _ImageQualityConfig: <p>图片质量评估配置</p>
54556
+ :type ImageQualityConfig: :class:`tencentcloud.mps.v20190612.models.ImageQualityConfig`
54489
54557
  """
54490
54558
  self._EncodeConfig = None
54491
54559
  self._EnhanceConfig = None
@@ -54500,6 +54568,7 @@ class ImageTaskInput(AbstractModel):
54500
54568
  self._AiExpansionConfig = None
54501
54569
  self._AiStoryboardConfig = None
54502
54570
  self._UnderstandImageConfig = None
54571
+ self._ImageQualityConfig = None
54503
54572
 
54504
54573
  @property
54505
54574
  def EncodeConfig(self):
@@ -54648,6 +54717,17 @@ class ImageTaskInput(AbstractModel):
54648
54717
  def UnderstandImageConfig(self, UnderstandImageConfig):
54649
54718
  self._UnderstandImageConfig = UnderstandImageConfig
54650
54719
 
54720
+ @property
54721
+ def ImageQualityConfig(self):
54722
+ r"""<p>图片质量评估配置</p>
54723
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageQualityConfig`
54724
+ """
54725
+ return self._ImageQualityConfig
54726
+
54727
+ @ImageQualityConfig.setter
54728
+ def ImageQualityConfig(self, ImageQualityConfig):
54729
+ self._ImageQualityConfig = ImageQualityConfig
54730
+
54651
54731
 
54652
54732
  def _deserialize(self, params):
54653
54733
  if params.get("EncodeConfig") is not None:
@@ -54689,6 +54769,9 @@ class ImageTaskInput(AbstractModel):
54689
54769
  if params.get("UnderstandImageConfig") is not None:
54690
54770
  self._UnderstandImageConfig = UnderstandImageConfig()
54691
54771
  self._UnderstandImageConfig._deserialize(params.get("UnderstandImageConfig"))
54772
+ if params.get("ImageQualityConfig") is not None:
54773
+ self._ImageQualityConfig = ImageQualityConfig()
54774
+ self._ImageQualityConfig._deserialize(params.get("ImageQualityConfig"))
54692
54775
  memeber_set = set(params.keys())
54693
54776
  for name, value in vars(self).items():
54694
54777
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.157
3
+ Version: 3.1.161
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.157
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.161
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=U63FkrJRP7HjC_aWhQCRC4MxxLkVCjY2rI618cSXOY0,630
1
+ tencentcloud/__init__.py,sha256=GxDUtiUi_qLj3wFnVIFl8u_WEjzTW_qPxrxeqxEvlJk,630
2
2
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/mps/v20190612/errorcodes.py,sha256=Zvf2cuaFz2ff08cGZOMYlfCLqupAtO6L19BT_EUaTLI,21704
5
- tencentcloud/mps/v20190612/models.py,sha256=3XqqimTEi5vMsvXT03JvCH_dw3UbweQp0u0shQ4QpaQ,3488710
5
+ tencentcloud/mps/v20190612/models.py,sha256=Hrx0-Fl4VVaLH2iVi61n2aBAqyQmV23z8AuXdX6jurs,3491989
6
6
  tencentcloud/mps/v20190612/mps_client.py,sha256=ODpfOgF0EKBjSfk1676luC1a82vGRxm6-UNtDpcXM2g,219812
7
7
  tencentcloud/mps/v20190612/mps_client_async.py,sha256=aiK7qymLvz4xzk29uyJzXfQNBYg8pd9qOIwIjFzHEXM,150956
8
- tencentcloud_sdk_python_mps-3.1.157.dist-info/METADATA,sha256=lSHVrC0Frir8YrNyezkyDafeglhRWUgVCyWrkjjLnIU,1497
9
- tencentcloud_sdk_python_mps-3.1.157.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_mps-3.1.157.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_mps-3.1.157.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_mps-3.1.161.dist-info/METADATA,sha256=114xRE4PkNe0cySZ_pQIDmfzTfoA-Reo1QycLYyOrOQ,1497
9
+ tencentcloud_sdk_python_mps-3.1.161.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_mps-3.1.161.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_mps-3.1.161.dist-info/RECORD,,