tencentcloud-sdk-python-dlc 3.0.1031__tar.gz → 3.0.1035__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.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/setup.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud/dlc/v20210125/models.py +209 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dlc-3.0.1035/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dlc-3.0.1031/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/README.rst +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1031 → tencentcloud-sdk-python-dlc-3.0.1035}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1035"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dlc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1820,6 +1820,29 @@ class DlcClient(AbstractClient):
|
|
|
1820
1820
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1821
1821
|
|
|
1822
1822
|
|
|
1823
|
+
def DescribeTablesName(self, request):
|
|
1824
|
+
"""本接口(DescribeTables)用于查询数据表名称列表
|
|
1825
|
+
|
|
1826
|
+
:param request: Request instance for DescribeTablesName.
|
|
1827
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTablesNameRequest`
|
|
1828
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTablesNameResponse`
|
|
1829
|
+
|
|
1830
|
+
"""
|
|
1831
|
+
try:
|
|
1832
|
+
params = request._serialize()
|
|
1833
|
+
headers = request.headers
|
|
1834
|
+
body = self.call("DescribeTablesName", params, headers=headers)
|
|
1835
|
+
response = json.loads(body)
|
|
1836
|
+
model = models.DescribeTablesNameResponse()
|
|
1837
|
+
model._deserialize(response["Response"])
|
|
1838
|
+
return model
|
|
1839
|
+
except Exception as e:
|
|
1840
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1841
|
+
raise
|
|
1842
|
+
else:
|
|
1843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1844
|
+
|
|
1845
|
+
|
|
1823
1846
|
def DescribeTaskResult(self, request):
|
|
1824
1847
|
"""查询任务结果
|
|
1825
1848
|
|
|
@@ -13038,6 +13038,215 @@ class DescribeTableResponse(AbstractModel):
|
|
|
13038
13038
|
self._RequestId = params.get("RequestId")
|
|
13039
13039
|
|
|
13040
13040
|
|
|
13041
|
+
class DescribeTablesNameRequest(AbstractModel):
|
|
13042
|
+
"""DescribeTablesName请求参数结构体
|
|
13043
|
+
|
|
13044
|
+
"""
|
|
13045
|
+
|
|
13046
|
+
def __init__(self):
|
|
13047
|
+
r"""
|
|
13048
|
+
:param _DatabaseName: 列出该数据库下所属数据表。
|
|
13049
|
+
:type DatabaseName: str
|
|
13050
|
+
:param _Limit: 返回数量,默认为10,最大值为100。
|
|
13051
|
+
:type Limit: int
|
|
13052
|
+
:param _Offset: 数据偏移量,从0开始,默认为0。
|
|
13053
|
+
:type Offset: int
|
|
13054
|
+
:param _Filters: 过滤条件,如下支持的过滤类型,传参Name应为其一
|
|
13055
|
+
table-name - String - (过滤条件)数据表名称,形如:table-001。
|
|
13056
|
+
table-id - String - (过滤条件)table id形如:12342。
|
|
13057
|
+
:type Filters: list of Filter
|
|
13058
|
+
:param _DatasourceConnectionName: 指定查询的数据源名称,默认为DataLakeCatalog
|
|
13059
|
+
:type DatasourceConnectionName: str
|
|
13060
|
+
:param _StartTime: 起始时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
|
|
13061
|
+
:type StartTime: str
|
|
13062
|
+
:param _EndTime: 终止时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
|
|
13063
|
+
:type EndTime: str
|
|
13064
|
+
:param _Sort: 排序字段,支持:CreateTime(创建时间)、UpdateTime(更新时间)、StorageSize(存储空间)、RecordCount(行数)、Name(表名称)(不传则默认按name升序)
|
|
13065
|
+
:type Sort: str
|
|
13066
|
+
:param _Asc: 排序字段,false:降序(默认);true:升序
|
|
13067
|
+
:type Asc: bool
|
|
13068
|
+
:param _TableType: table type,表类型查询,可用值:EXTERNAL_TABLE,INDEX_TABLE,MANAGED_TABLE,MATERIALIZED_VIEW,TABLE,VIEW,VIRTUAL_VIEW
|
|
13069
|
+
:type TableType: str
|
|
13070
|
+
:param _TableFormat: 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它;
|
|
13071
|
+
:type TableFormat: str
|
|
13072
|
+
"""
|
|
13073
|
+
self._DatabaseName = None
|
|
13074
|
+
self._Limit = None
|
|
13075
|
+
self._Offset = None
|
|
13076
|
+
self._Filters = None
|
|
13077
|
+
self._DatasourceConnectionName = None
|
|
13078
|
+
self._StartTime = None
|
|
13079
|
+
self._EndTime = None
|
|
13080
|
+
self._Sort = None
|
|
13081
|
+
self._Asc = None
|
|
13082
|
+
self._TableType = None
|
|
13083
|
+
self._TableFormat = None
|
|
13084
|
+
|
|
13085
|
+
@property
|
|
13086
|
+
def DatabaseName(self):
|
|
13087
|
+
return self._DatabaseName
|
|
13088
|
+
|
|
13089
|
+
@DatabaseName.setter
|
|
13090
|
+
def DatabaseName(self, DatabaseName):
|
|
13091
|
+
self._DatabaseName = DatabaseName
|
|
13092
|
+
|
|
13093
|
+
@property
|
|
13094
|
+
def Limit(self):
|
|
13095
|
+
return self._Limit
|
|
13096
|
+
|
|
13097
|
+
@Limit.setter
|
|
13098
|
+
def Limit(self, Limit):
|
|
13099
|
+
self._Limit = Limit
|
|
13100
|
+
|
|
13101
|
+
@property
|
|
13102
|
+
def Offset(self):
|
|
13103
|
+
return self._Offset
|
|
13104
|
+
|
|
13105
|
+
@Offset.setter
|
|
13106
|
+
def Offset(self, Offset):
|
|
13107
|
+
self._Offset = Offset
|
|
13108
|
+
|
|
13109
|
+
@property
|
|
13110
|
+
def Filters(self):
|
|
13111
|
+
return self._Filters
|
|
13112
|
+
|
|
13113
|
+
@Filters.setter
|
|
13114
|
+
def Filters(self, Filters):
|
|
13115
|
+
self._Filters = Filters
|
|
13116
|
+
|
|
13117
|
+
@property
|
|
13118
|
+
def DatasourceConnectionName(self):
|
|
13119
|
+
return self._DatasourceConnectionName
|
|
13120
|
+
|
|
13121
|
+
@DatasourceConnectionName.setter
|
|
13122
|
+
def DatasourceConnectionName(self, DatasourceConnectionName):
|
|
13123
|
+
self._DatasourceConnectionName = DatasourceConnectionName
|
|
13124
|
+
|
|
13125
|
+
@property
|
|
13126
|
+
def StartTime(self):
|
|
13127
|
+
return self._StartTime
|
|
13128
|
+
|
|
13129
|
+
@StartTime.setter
|
|
13130
|
+
def StartTime(self, StartTime):
|
|
13131
|
+
self._StartTime = StartTime
|
|
13132
|
+
|
|
13133
|
+
@property
|
|
13134
|
+
def EndTime(self):
|
|
13135
|
+
return self._EndTime
|
|
13136
|
+
|
|
13137
|
+
@EndTime.setter
|
|
13138
|
+
def EndTime(self, EndTime):
|
|
13139
|
+
self._EndTime = EndTime
|
|
13140
|
+
|
|
13141
|
+
@property
|
|
13142
|
+
def Sort(self):
|
|
13143
|
+
return self._Sort
|
|
13144
|
+
|
|
13145
|
+
@Sort.setter
|
|
13146
|
+
def Sort(self, Sort):
|
|
13147
|
+
self._Sort = Sort
|
|
13148
|
+
|
|
13149
|
+
@property
|
|
13150
|
+
def Asc(self):
|
|
13151
|
+
return self._Asc
|
|
13152
|
+
|
|
13153
|
+
@Asc.setter
|
|
13154
|
+
def Asc(self, Asc):
|
|
13155
|
+
self._Asc = Asc
|
|
13156
|
+
|
|
13157
|
+
@property
|
|
13158
|
+
def TableType(self):
|
|
13159
|
+
return self._TableType
|
|
13160
|
+
|
|
13161
|
+
@TableType.setter
|
|
13162
|
+
def TableType(self, TableType):
|
|
13163
|
+
self._TableType = TableType
|
|
13164
|
+
|
|
13165
|
+
@property
|
|
13166
|
+
def TableFormat(self):
|
|
13167
|
+
return self._TableFormat
|
|
13168
|
+
|
|
13169
|
+
@TableFormat.setter
|
|
13170
|
+
def TableFormat(self, TableFormat):
|
|
13171
|
+
self._TableFormat = TableFormat
|
|
13172
|
+
|
|
13173
|
+
|
|
13174
|
+
def _deserialize(self, params):
|
|
13175
|
+
self._DatabaseName = params.get("DatabaseName")
|
|
13176
|
+
self._Limit = params.get("Limit")
|
|
13177
|
+
self._Offset = params.get("Offset")
|
|
13178
|
+
if params.get("Filters") is not None:
|
|
13179
|
+
self._Filters = []
|
|
13180
|
+
for item in params.get("Filters"):
|
|
13181
|
+
obj = Filter()
|
|
13182
|
+
obj._deserialize(item)
|
|
13183
|
+
self._Filters.append(obj)
|
|
13184
|
+
self._DatasourceConnectionName = params.get("DatasourceConnectionName")
|
|
13185
|
+
self._StartTime = params.get("StartTime")
|
|
13186
|
+
self._EndTime = params.get("EndTime")
|
|
13187
|
+
self._Sort = params.get("Sort")
|
|
13188
|
+
self._Asc = params.get("Asc")
|
|
13189
|
+
self._TableType = params.get("TableType")
|
|
13190
|
+
self._TableFormat = params.get("TableFormat")
|
|
13191
|
+
memeber_set = set(params.keys())
|
|
13192
|
+
for name, value in vars(self).items():
|
|
13193
|
+
property_name = name[1:]
|
|
13194
|
+
if property_name in memeber_set:
|
|
13195
|
+
memeber_set.remove(property_name)
|
|
13196
|
+
if len(memeber_set) > 0:
|
|
13197
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13198
|
+
|
|
13199
|
+
|
|
13200
|
+
|
|
13201
|
+
class DescribeTablesNameResponse(AbstractModel):
|
|
13202
|
+
"""DescribeTablesName返回参数结构体
|
|
13203
|
+
|
|
13204
|
+
"""
|
|
13205
|
+
|
|
13206
|
+
def __init__(self):
|
|
13207
|
+
r"""
|
|
13208
|
+
:param _TableNameList: 数据表名称对象列表。
|
|
13209
|
+
:type TableNameList: list of str
|
|
13210
|
+
:param _TotalCount: 实例总数。
|
|
13211
|
+
:type TotalCount: int
|
|
13212
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13213
|
+
:type RequestId: str
|
|
13214
|
+
"""
|
|
13215
|
+
self._TableNameList = None
|
|
13216
|
+
self._TotalCount = None
|
|
13217
|
+
self._RequestId = None
|
|
13218
|
+
|
|
13219
|
+
@property
|
|
13220
|
+
def TableNameList(self):
|
|
13221
|
+
return self._TableNameList
|
|
13222
|
+
|
|
13223
|
+
@TableNameList.setter
|
|
13224
|
+
def TableNameList(self, TableNameList):
|
|
13225
|
+
self._TableNameList = TableNameList
|
|
13226
|
+
|
|
13227
|
+
@property
|
|
13228
|
+
def TotalCount(self):
|
|
13229
|
+
return self._TotalCount
|
|
13230
|
+
|
|
13231
|
+
@TotalCount.setter
|
|
13232
|
+
def TotalCount(self, TotalCount):
|
|
13233
|
+
self._TotalCount = TotalCount
|
|
13234
|
+
|
|
13235
|
+
@property
|
|
13236
|
+
def RequestId(self):
|
|
13237
|
+
return self._RequestId
|
|
13238
|
+
|
|
13239
|
+
@RequestId.setter
|
|
13240
|
+
def RequestId(self, RequestId):
|
|
13241
|
+
self._RequestId = RequestId
|
|
13242
|
+
|
|
13243
|
+
|
|
13244
|
+
def _deserialize(self, params):
|
|
13245
|
+
self._TableNameList = params.get("TableNameList")
|
|
13246
|
+
self._TotalCount = params.get("TotalCount")
|
|
13247
|
+
self._RequestId = params.get("RequestId")
|
|
13248
|
+
|
|
13249
|
+
|
|
13041
13250
|
class DescribeTablesRequest(AbstractModel):
|
|
13042
13251
|
"""DescribeTables请求参数结构体
|
|
13043
13252
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1035
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1031
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|