tencentcloud-sdk-python-dlc 3.1.108__tar.gz → 3.1.124__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.108 → tencentcloud_sdk_python_dlc-3.1.124}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/dlc/v20210125/dlc_client_async.py +18 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/dlc/v20210125/models.py +81 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.124/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.108/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.108 → tencentcloud_sdk_python_dlc-3.1.124}/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.124
|
|
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.124
|
|
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.124,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -2719,6 +2719,29 @@ class DlcClient(AbstractClient):
|
|
|
2719
2719
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2720
2720
|
|
|
2721
2721
|
|
|
2722
|
+
def DescribeTaskDetail(self, request):
|
|
2723
|
+
r"""该接口(DescribeTaskDetail)用于查询历史任务详情
|
|
2724
|
+
|
|
2725
|
+
:param request: Request instance for DescribeTaskDetail.
|
|
2726
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTaskDetailRequest`
|
|
2727
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTaskDetailResponse`
|
|
2728
|
+
|
|
2729
|
+
"""
|
|
2730
|
+
try:
|
|
2731
|
+
params = request._serialize()
|
|
2732
|
+
headers = request.headers
|
|
2733
|
+
body = self.call("DescribeTaskDetail", params, headers=headers)
|
|
2734
|
+
response = json.loads(body)
|
|
2735
|
+
model = models.DescribeTaskDetailResponse()
|
|
2736
|
+
model._deserialize(response["Response"])
|
|
2737
|
+
return model
|
|
2738
|
+
except Exception as e:
|
|
2739
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2740
|
+
raise
|
|
2741
|
+
else:
|
|
2742
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2743
|
+
|
|
2744
|
+
|
|
2722
2745
|
def DescribeTaskList(self, request):
|
|
2723
2746
|
r"""该接口(DescribleTasks)用于查询任务列表
|
|
2724
2747
|
|
|
@@ -2133,6 +2133,24 @@ class DlcClient(AbstractClient):
|
|
|
2133
2133
|
|
|
2134
2134
|
return await self.call_and_deserialize(**kwargs)
|
|
2135
2135
|
|
|
2136
|
+
async def DescribeTaskDetail(
|
|
2137
|
+
self,
|
|
2138
|
+
request: models.DescribeTaskDetailRequest,
|
|
2139
|
+
opts: Dict = None,
|
|
2140
|
+
) -> models.DescribeTaskDetailResponse:
|
|
2141
|
+
"""
|
|
2142
|
+
该接口(DescribeTaskDetail)用于查询历史任务详情
|
|
2143
|
+
"""
|
|
2144
|
+
|
|
2145
|
+
kwargs = {}
|
|
2146
|
+
kwargs["action"] = "DescribeTaskDetail"
|
|
2147
|
+
kwargs["params"] = request._serialize()
|
|
2148
|
+
kwargs["resp_cls"] = models.DescribeTaskDetailResponse
|
|
2149
|
+
kwargs["headers"] = request.headers
|
|
2150
|
+
kwargs["opts"] = opts or {}
|
|
2151
|
+
|
|
2152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2153
|
+
|
|
2136
2154
|
async def DescribeTaskList(
|
|
2137
2155
|
self,
|
|
2138
2156
|
request: models.DescribeTaskListRequest,
|
|
@@ -689,6 +689,9 @@ RESOURCENOTFOUND_TASKALREADYFAILED = 'ResourceNotFound.TaskAlreadyFailed'
|
|
|
689
689
|
# 任务已经完成
|
|
690
690
|
RESOURCENOTFOUND_TASKALREADYFINISHED = 'ResourceNotFound.TaskAlreadyFinished'
|
|
691
691
|
|
|
692
|
+
# 任务详情查询,任务不存在。
|
|
693
|
+
RESOURCENOTFOUND_TASKINFONOTFOUND = 'ResourceNotFound.TaskInfoNotFound'
|
|
694
|
+
|
|
692
695
|
# 用户不存在
|
|
693
696
|
RESOURCENOTFOUND_USERNOTEXIST = 'ResourceNotFound.UserNotExist'
|
|
694
697
|
|
|
@@ -23859,6 +23859,87 @@ class DescribeTablesResponse(AbstractModel):
|
|
|
23859
23859
|
self._RequestId = params.get("RequestId")
|
|
23860
23860
|
|
|
23861
23861
|
|
|
23862
|
+
class DescribeTaskDetailRequest(AbstractModel):
|
|
23863
|
+
r"""DescribeTaskDetail请求参数结构体
|
|
23864
|
+
|
|
23865
|
+
"""
|
|
23866
|
+
|
|
23867
|
+
def __init__(self):
|
|
23868
|
+
r"""
|
|
23869
|
+
:param _TaskInstanceId: 任务id
|
|
23870
|
+
:type TaskInstanceId: str
|
|
23871
|
+
"""
|
|
23872
|
+
self._TaskInstanceId = None
|
|
23873
|
+
|
|
23874
|
+
@property
|
|
23875
|
+
def TaskInstanceId(self):
|
|
23876
|
+
r"""任务id
|
|
23877
|
+
:rtype: str
|
|
23878
|
+
"""
|
|
23879
|
+
return self._TaskInstanceId
|
|
23880
|
+
|
|
23881
|
+
@TaskInstanceId.setter
|
|
23882
|
+
def TaskInstanceId(self, TaskInstanceId):
|
|
23883
|
+
self._TaskInstanceId = TaskInstanceId
|
|
23884
|
+
|
|
23885
|
+
|
|
23886
|
+
def _deserialize(self, params):
|
|
23887
|
+
self._TaskInstanceId = params.get("TaskInstanceId")
|
|
23888
|
+
memeber_set = set(params.keys())
|
|
23889
|
+
for name, value in vars(self).items():
|
|
23890
|
+
property_name = name[1:]
|
|
23891
|
+
if property_name in memeber_set:
|
|
23892
|
+
memeber_set.remove(property_name)
|
|
23893
|
+
if len(memeber_set) > 0:
|
|
23894
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23895
|
+
|
|
23896
|
+
|
|
23897
|
+
|
|
23898
|
+
class DescribeTaskDetailResponse(AbstractModel):
|
|
23899
|
+
r"""DescribeTaskDetail返回参数结构体
|
|
23900
|
+
|
|
23901
|
+
"""
|
|
23902
|
+
|
|
23903
|
+
def __init__(self):
|
|
23904
|
+
r"""
|
|
23905
|
+
:param _TaskDetail: 任务详情信息
|
|
23906
|
+
:type TaskDetail: :class:`tencentcloud.dlc.v20210125.models.TaskFullRespInfo`
|
|
23907
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23908
|
+
:type RequestId: str
|
|
23909
|
+
"""
|
|
23910
|
+
self._TaskDetail = None
|
|
23911
|
+
self._RequestId = None
|
|
23912
|
+
|
|
23913
|
+
@property
|
|
23914
|
+
def TaskDetail(self):
|
|
23915
|
+
r"""任务详情信息
|
|
23916
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.TaskFullRespInfo`
|
|
23917
|
+
"""
|
|
23918
|
+
return self._TaskDetail
|
|
23919
|
+
|
|
23920
|
+
@TaskDetail.setter
|
|
23921
|
+
def TaskDetail(self, TaskDetail):
|
|
23922
|
+
self._TaskDetail = TaskDetail
|
|
23923
|
+
|
|
23924
|
+
@property
|
|
23925
|
+
def RequestId(self):
|
|
23926
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23927
|
+
:rtype: str
|
|
23928
|
+
"""
|
|
23929
|
+
return self._RequestId
|
|
23930
|
+
|
|
23931
|
+
@RequestId.setter
|
|
23932
|
+
def RequestId(self, RequestId):
|
|
23933
|
+
self._RequestId = RequestId
|
|
23934
|
+
|
|
23935
|
+
|
|
23936
|
+
def _deserialize(self, params):
|
|
23937
|
+
if params.get("TaskDetail") is not None:
|
|
23938
|
+
self._TaskDetail = TaskFullRespInfo()
|
|
23939
|
+
self._TaskDetail._deserialize(params.get("TaskDetail"))
|
|
23940
|
+
self._RequestId = params.get("RequestId")
|
|
23941
|
+
|
|
23942
|
+
|
|
23862
23943
|
class DescribeTaskListRequest(AbstractModel):
|
|
23863
23944
|
r"""DescribeTaskList请求参数结构体
|
|
23864
23945
|
|
|
@@ -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.124
|
|
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.124
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|