tencentcloud-sdk-python-mps 3.1.159__tar.gz → 3.1.161__tar.gz
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.
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/mps/v20190612/models.py +55 -2
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.161/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.159/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.159 → tencentcloud_sdk_python_mps-3.1.161}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mps',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.161,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -35624,7 +35624,7 @@ class DescribeDesignTaskResponse(AbstractModel):
|
|
|
35624
35624
|
|
|
35625
35625
|
def __init__(self):
|
|
35626
35626
|
r"""
|
|
35627
|
-
:param _ErrorCode: <p>错误码,成功时返回0</p>
|
|
35627
|
+
:param _ErrorCode: <p>错误码,成功时返回0,处理中返回100</p>
|
|
35628
35628
|
:type ErrorCode: int
|
|
35629
35629
|
:param _Msg: <p>错误信息,成功时返回success</p>
|
|
35630
35630
|
:type Msg: str
|
|
@@ -35651,7 +35651,7 @@ class DescribeDesignTaskResponse(AbstractModel):
|
|
|
35651
35651
|
|
|
35652
35652
|
@property
|
|
35653
35653
|
def ErrorCode(self):
|
|
35654
|
-
r"""<p>错误码,成功时返回0</p>
|
|
35654
|
+
r"""<p>错误码,成功时返回0,处理中返回100</p>
|
|
35655
35655
|
:rtype: int
|
|
35656
35656
|
"""
|
|
35657
35657
|
return self._ErrorCode
|
|
@@ -53697,6 +53697,42 @@ class ImageProcessTaskResult(AbstractModel):
|
|
|
53697
53697
|
|
|
53698
53698
|
|
|
53699
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
|
+
|
|
53700
53736
|
class ImageQualityEnhanceConfig(AbstractModel):
|
|
53701
53737
|
r"""综合增强配置
|
|
53702
53738
|
|
|
@@ -54516,6 +54552,8 @@ class ImageTaskInput(AbstractModel):
|
|
|
54516
54552
|
:type AiStoryboardConfig: :class:`tencentcloud.mps.v20190612.models.AiStoryboardConfig`
|
|
54517
54553
|
:param _UnderstandImageConfig: <p>图片理解配置</p>
|
|
54518
54554
|
:type UnderstandImageConfig: :class:`tencentcloud.mps.v20190612.models.UnderstandImageConfig`
|
|
54555
|
+
:param _ImageQualityConfig: <p>图片质量评估配置</p>
|
|
54556
|
+
:type ImageQualityConfig: :class:`tencentcloud.mps.v20190612.models.ImageQualityConfig`
|
|
54519
54557
|
"""
|
|
54520
54558
|
self._EncodeConfig = None
|
|
54521
54559
|
self._EnhanceConfig = None
|
|
@@ -54530,6 +54568,7 @@ class ImageTaskInput(AbstractModel):
|
|
|
54530
54568
|
self._AiExpansionConfig = None
|
|
54531
54569
|
self._AiStoryboardConfig = None
|
|
54532
54570
|
self._UnderstandImageConfig = None
|
|
54571
|
+
self._ImageQualityConfig = None
|
|
54533
54572
|
|
|
54534
54573
|
@property
|
|
54535
54574
|
def EncodeConfig(self):
|
|
@@ -54678,6 +54717,17 @@ class ImageTaskInput(AbstractModel):
|
|
|
54678
54717
|
def UnderstandImageConfig(self, UnderstandImageConfig):
|
|
54679
54718
|
self._UnderstandImageConfig = UnderstandImageConfig
|
|
54680
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
|
+
|
|
54681
54731
|
|
|
54682
54732
|
def _deserialize(self, params):
|
|
54683
54733
|
if params.get("EncodeConfig") is not None:
|
|
@@ -54719,6 +54769,9 @@ class ImageTaskInput(AbstractModel):
|
|
|
54719
54769
|
if params.get("UnderstandImageConfig") is not None:
|
|
54720
54770
|
self._UnderstandImageConfig = UnderstandImageConfig()
|
|
54721
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"))
|
|
54722
54775
|
memeber_set = set(params.keys())
|
|
54723
54776
|
for name, value in vars(self).items():
|
|
54724
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.
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.159
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|