tencentcloud-sdk-python-dlc 3.1.134__tar.gz → 3.1.137__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.134 → tencentcloud_sdk_python_dlc-3.1.137}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/dlc/v20210125/dlc_client_async.py +36 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/dlc/v20210125/models.py +68 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.137/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.134/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.134 → tencentcloud_sdk_python_dlc-3.1.137}/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.137
|
|
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.137
|
|
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.137,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -2075,6 +2075,52 @@ class DlcClient(AbstractClient):
|
|
|
2075
2075
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2076
2076
|
|
|
2077
2077
|
|
|
2078
|
+
def DescribeMCPTask(self, request):
|
|
2079
|
+
r"""该接口(DescribeTasks)用于查询任务列表
|
|
2080
|
+
|
|
2081
|
+
:param request: Request instance for DescribeMCPTask.
|
|
2082
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeMCPTaskRequest`
|
|
2083
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeMCPTaskResponse`
|
|
2084
|
+
|
|
2085
|
+
"""
|
|
2086
|
+
try:
|
|
2087
|
+
params = request._serialize()
|
|
2088
|
+
headers = request.headers
|
|
2089
|
+
body = self.call("DescribeMCPTask", params, headers=headers)
|
|
2090
|
+
response = json.loads(body)
|
|
2091
|
+
model = models.DescribeMCPTaskResponse()
|
|
2092
|
+
model._deserialize(response["Response"])
|
|
2093
|
+
return model
|
|
2094
|
+
except Exception as e:
|
|
2095
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2096
|
+
raise
|
|
2097
|
+
else:
|
|
2098
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
def DescribeMCPTaskResult(self, request):
|
|
2102
|
+
r"""获取任务结果查询
|
|
2103
|
+
|
|
2104
|
+
:param request: Request instance for DescribeMCPTaskResult.
|
|
2105
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeMCPTaskResultRequest`
|
|
2106
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeMCPTaskResultResponse`
|
|
2107
|
+
|
|
2108
|
+
"""
|
|
2109
|
+
try:
|
|
2110
|
+
params = request._serialize()
|
|
2111
|
+
headers = request.headers
|
|
2112
|
+
body = self.call("DescribeMCPTaskResult", params, headers=headers)
|
|
2113
|
+
response = json.loads(body)
|
|
2114
|
+
model = models.DescribeMCPTaskResultResponse()
|
|
2115
|
+
model._deserialize(response["Response"])
|
|
2116
|
+
return model
|
|
2117
|
+
except Exception as e:
|
|
2118
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2119
|
+
raise
|
|
2120
|
+
else:
|
|
2121
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2122
|
+
|
|
2123
|
+
|
|
2078
2124
|
def DescribeNativeSparkSessions(self, request):
|
|
2079
2125
|
r"""根据资源组获取spark session列表
|
|
2080
2126
|
|
|
@@ -1629,6 +1629,42 @@ class DlcClient(AbstractClient):
|
|
|
1629
1629
|
|
|
1630
1630
|
return await self.call_and_deserialize(**kwargs)
|
|
1631
1631
|
|
|
1632
|
+
async def DescribeMCPTask(
|
|
1633
|
+
self,
|
|
1634
|
+
request: models.DescribeMCPTaskRequest,
|
|
1635
|
+
opts: Dict = None,
|
|
1636
|
+
) -> models.DescribeMCPTaskResponse:
|
|
1637
|
+
"""
|
|
1638
|
+
该接口(DescribeTasks)用于查询任务列表
|
|
1639
|
+
"""
|
|
1640
|
+
|
|
1641
|
+
kwargs = {}
|
|
1642
|
+
kwargs["action"] = "DescribeMCPTask"
|
|
1643
|
+
kwargs["params"] = request._serialize()
|
|
1644
|
+
kwargs["resp_cls"] = models.DescribeMCPTaskResponse
|
|
1645
|
+
kwargs["headers"] = request.headers
|
|
1646
|
+
kwargs["opts"] = opts or {}
|
|
1647
|
+
|
|
1648
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1649
|
+
|
|
1650
|
+
async def DescribeMCPTaskResult(
|
|
1651
|
+
self,
|
|
1652
|
+
request: models.DescribeMCPTaskResultRequest,
|
|
1653
|
+
opts: Dict = None,
|
|
1654
|
+
) -> models.DescribeMCPTaskResultResponse:
|
|
1655
|
+
"""
|
|
1656
|
+
获取任务结果查询
|
|
1657
|
+
"""
|
|
1658
|
+
|
|
1659
|
+
kwargs = {}
|
|
1660
|
+
kwargs["action"] = "DescribeMCPTaskResult"
|
|
1661
|
+
kwargs["params"] = request._serialize()
|
|
1662
|
+
kwargs["resp_cls"] = models.DescribeMCPTaskResultResponse
|
|
1663
|
+
kwargs["headers"] = request.headers
|
|
1664
|
+
kwargs["opts"] = opts or {}
|
|
1665
|
+
|
|
1666
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1667
|
+
|
|
1632
1668
|
async def DescribeNativeSparkSessions(
|
|
1633
1669
|
self,
|
|
1634
1670
|
request: models.DescribeNativeSparkSessionsRequest,
|
|
@@ -131,6 +131,9 @@ FAILEDOPERATION_REVOKEPOLICYFAILED = 'FailedOperation.RevokePolicyFailed'
|
|
|
131
131
|
# 语法解析失败,请校验后重试
|
|
132
132
|
FAILEDOPERATION_SQLTASKPARSEFAILED = 'FailedOperation.SQLTaskParseFailed'
|
|
133
133
|
|
|
134
|
+
# SQL任务结果超出限制
|
|
135
|
+
FAILEDOPERATION_SQLTASKRESULTOVERSIZE = 'FailedOperation.SQLTaskResultOversize'
|
|
136
|
+
|
|
134
137
|
# 资源已经绑定了同名标签键。
|
|
135
138
|
FAILEDOPERATION_TAGALREADYATTACHED = 'FailedOperation.TagAlreadyAttached'
|
|
136
139
|
|
|
@@ -19873,6 +19873,74 @@ class DescribeLakeFsTaskResultResponse(AbstractModel):
|
|
|
19873
19873
|
self._RequestId = params.get("RequestId")
|
|
19874
19874
|
|
|
19875
19875
|
|
|
19876
|
+
class DescribeMCPTaskRequest(AbstractModel):
|
|
19877
|
+
r"""DescribeMCPTask请求参数结构体
|
|
19878
|
+
|
|
19879
|
+
"""
|
|
19880
|
+
|
|
19881
|
+
|
|
19882
|
+
class DescribeMCPTaskResponse(AbstractModel):
|
|
19883
|
+
r"""DescribeMCPTask返回参数结构体
|
|
19884
|
+
|
|
19885
|
+
"""
|
|
19886
|
+
|
|
19887
|
+
def __init__(self):
|
|
19888
|
+
r"""
|
|
19889
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19890
|
+
:type RequestId: str
|
|
19891
|
+
"""
|
|
19892
|
+
self._RequestId = None
|
|
19893
|
+
|
|
19894
|
+
@property
|
|
19895
|
+
def RequestId(self):
|
|
19896
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19897
|
+
:rtype: str
|
|
19898
|
+
"""
|
|
19899
|
+
return self._RequestId
|
|
19900
|
+
|
|
19901
|
+
@RequestId.setter
|
|
19902
|
+
def RequestId(self, RequestId):
|
|
19903
|
+
self._RequestId = RequestId
|
|
19904
|
+
|
|
19905
|
+
|
|
19906
|
+
def _deserialize(self, params):
|
|
19907
|
+
self._RequestId = params.get("RequestId")
|
|
19908
|
+
|
|
19909
|
+
|
|
19910
|
+
class DescribeMCPTaskResultRequest(AbstractModel):
|
|
19911
|
+
r"""DescribeMCPTaskResult请求参数结构体
|
|
19912
|
+
|
|
19913
|
+
"""
|
|
19914
|
+
|
|
19915
|
+
|
|
19916
|
+
class DescribeMCPTaskResultResponse(AbstractModel):
|
|
19917
|
+
r"""DescribeMCPTaskResult返回参数结构体
|
|
19918
|
+
|
|
19919
|
+
"""
|
|
19920
|
+
|
|
19921
|
+
def __init__(self):
|
|
19922
|
+
r"""
|
|
19923
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19924
|
+
:type RequestId: str
|
|
19925
|
+
"""
|
|
19926
|
+
self._RequestId = None
|
|
19927
|
+
|
|
19928
|
+
@property
|
|
19929
|
+
def RequestId(self):
|
|
19930
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19931
|
+
:rtype: str
|
|
19932
|
+
"""
|
|
19933
|
+
return self._RequestId
|
|
19934
|
+
|
|
19935
|
+
@RequestId.setter
|
|
19936
|
+
def RequestId(self, RequestId):
|
|
19937
|
+
self._RequestId = RequestId
|
|
19938
|
+
|
|
19939
|
+
|
|
19940
|
+
def _deserialize(self, params):
|
|
19941
|
+
self._RequestId = params.get("RequestId")
|
|
19942
|
+
|
|
19943
|
+
|
|
19876
19944
|
class DescribeNativeSparkSessionsRequest(AbstractModel):
|
|
19877
19945
|
r"""DescribeNativeSparkSessions请求参数结构体
|
|
19878
19946
|
|
|
@@ -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.137
|
|
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.137
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.137
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|