tencentcloud-sdk-python-dlc 3.1.154__tar.gz → 3.1.157__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_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/dlc/v20210125/dlc_client.py +24 -1
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/dlc/v20210125/dlc_client_async.py +19 -1
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/dlc/v20210125/models.py +1140 -26
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.157/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.154/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.154 → tencentcloud_sdk_python_dlc-3.1.157}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dlc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.157
|
|
4
4
|
Summary: Tencent Cloud Dlc 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.157
|
|
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-dlc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.157,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -3203,7 +3203,7 @@ class DlcClient(AbstractClient):
|
|
|
3203
3203
|
|
|
3204
3204
|
|
|
3205
3205
|
def DescribeSaleResourceInfo(self, request):
|
|
3206
|
-
r"""
|
|
3206
|
+
r"""查询当前地域可售卖的资源规格、最大配额,以及库存情况。StatusCategory 与 DescribePartitionAvailableQuota 数据同源,将实时可新增数量映射为库存分级;当请求 Region 与资源池实际部署地域不一致,或服务 cold-start 快照尚未就绪时,StatusCategory 为 null。
|
|
3207
3207
|
|
|
3208
3208
|
:param request: Request instance for DescribeSaleResourceInfo.
|
|
3209
3209
|
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeSaleResourceInfoRequest`
|
|
@@ -5157,6 +5157,29 @@ class DlcClient(AbstractClient):
|
|
|
5157
5157
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5158
5158
|
|
|
5159
5159
|
|
|
5160
|
+
def ListImages(self, request):
|
|
5161
|
+
r"""列出所有镜像
|
|
5162
|
+
|
|
5163
|
+
:param request: Request instance for ListImages.
|
|
5164
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.ListImagesRequest`
|
|
5165
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.ListImagesResponse`
|
|
5166
|
+
|
|
5167
|
+
"""
|
|
5168
|
+
try:
|
|
5169
|
+
params = request._serialize()
|
|
5170
|
+
headers = request.headers
|
|
5171
|
+
body = self.call("ListImages", params, headers=headers)
|
|
5172
|
+
response = json.loads(body)
|
|
5173
|
+
model = models.ListImagesResponse()
|
|
5174
|
+
model._deserialize(response["Response"])
|
|
5175
|
+
return model
|
|
5176
|
+
except Exception as e:
|
|
5177
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5178
|
+
raise
|
|
5179
|
+
else:
|
|
5180
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5181
|
+
|
|
5182
|
+
|
|
5160
5183
|
def ListInferenceEngines(self, request):
|
|
5161
5184
|
r"""列出推理引擎
|
|
5162
5185
|
|
|
@@ -2517,7 +2517,7 @@ class DlcClient(AbstractClient):
|
|
|
2517
2517
|
opts: Dict = None,
|
|
2518
2518
|
) -> models.DescribeSaleResourceInfoResponse:
|
|
2519
2519
|
"""
|
|
2520
|
-
|
|
2520
|
+
查询当前地域可售卖的资源规格、最大配额,以及库存情况。StatusCategory 与 DescribePartitionAvailableQuota 数据同源,将实时可新增数量映射为库存分级;当请求 Region 与资源池实际部署地域不一致,或服务 cold-start 快照尚未就绪时,StatusCategory 为 null。
|
|
2521
2521
|
"""
|
|
2522
2522
|
|
|
2523
2523
|
kwargs = {}
|
|
@@ -4041,6 +4041,24 @@ class DlcClient(AbstractClient):
|
|
|
4041
4041
|
|
|
4042
4042
|
return await self.call_and_deserialize(**kwargs)
|
|
4043
4043
|
|
|
4044
|
+
async def ListImages(
|
|
4045
|
+
self,
|
|
4046
|
+
request: models.ListImagesRequest,
|
|
4047
|
+
opts: Dict = None,
|
|
4048
|
+
) -> models.ListImagesResponse:
|
|
4049
|
+
"""
|
|
4050
|
+
列出所有镜像
|
|
4051
|
+
"""
|
|
4052
|
+
|
|
4053
|
+
kwargs = {}
|
|
4054
|
+
kwargs["action"] = "ListImages"
|
|
4055
|
+
kwargs["params"] = request._serialize()
|
|
4056
|
+
kwargs["resp_cls"] = models.ListImagesResponse
|
|
4057
|
+
kwargs["headers"] = request.headers
|
|
4058
|
+
kwargs["opts"] = opts or {}
|
|
4059
|
+
|
|
4060
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4061
|
+
|
|
4044
4062
|
async def ListInferenceEngines(
|
|
4045
4063
|
self,
|
|
4046
4064
|
request: models.ListInferenceEnginesRequest,
|
|
@@ -353,6 +353,9 @@ INVALIDPARAMETER_INVALIDDATAENGINETIMEUNIT = 'InvalidParameter.InvalidDataEngine
|
|
|
353
353
|
# 数据源连接配置异常,请重试,或者提交工单联系我们
|
|
354
354
|
INVALIDPARAMETER_INVALIDDATASOURCECONNECTIONCONFIG = 'InvalidParameter.InvalidDatasourceConnectionConfig'
|
|
355
355
|
|
|
356
|
+
# 数据源连接名称不合法
|
|
357
|
+
INVALIDPARAMETER_INVALIDDATASOURCENAME = 'InvalidParameter.InvalidDatasourceName'
|
|
358
|
+
|
|
356
359
|
# DecimalType设置非法,Precision必须大于等于Scale,且Precision必须小于38
|
|
357
360
|
INVALIDPARAMETER_INVALIDDECIMALTYPE = 'InvalidParameter.InvalidDecimalType'
|
|
358
361
|
|