tencentcloud-sdk-python-dts 3.0.1479__tar.gz → 3.0.1491__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_dts-3.0.1491/PKG-INFO +46 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/setup.py +1 -1
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20211206/models.py +377 -0
- tencentcloud_sdk_python_dts-3.0.1491/tencentcloud_sdk_python_dts.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_dts-3.0.1491/tencentcloud_sdk_python_dts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dts-3.0.1479/PKG-INFO +0 -45
- tencentcloud-sdk-python-dts-3.0.1479/tencentcloud_sdk_python_dts.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-dts-3.0.1479/tencentcloud_sdk_python_dts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/README.rst +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/__init__.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20180330/__init__.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20180330/dts_client.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20180330/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20180330/models.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20211206/__init__.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20211206/dts_client.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud/dts/v20211206/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud_sdk_python_dts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud_sdk_python_dts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dts-3.0.1479 → tencentcloud_sdk_python_dts-3.0.1491}/tencentcloud_sdk_python_dts.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-dts
|
|
3
|
+
Version: 3.0.1491
|
|
4
|
+
Summary: Tencent Cloud Dts SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Dts SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-dts
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common dts
|
|
46
|
+
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dts',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1491,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -652,12 +652,18 @@ class CompareDetailInfo(AbstractModel):
|
|
|
652
652
|
:type DifferenceData: :class:`tencentcloud.dts.v20211206.models.DifferenceDataDetail`
|
|
653
653
|
:param _DifferenceRow: 数据行不一致的详情,mongodb业务用到
|
|
654
654
|
:type DifferenceRow: :class:`tencentcloud.dts.v20211206.models.DifferenceRowDetail`
|
|
655
|
+
:param _DifferenceSchema: 表结构不一致详情,pg用
|
|
656
|
+
:type DifferenceSchema: :class:`tencentcloud.dts.v20211206.models.DifferenceSchemaDetail`
|
|
657
|
+
:param _DifferenceOwner: 对象owner不一致详情,pg用
|
|
658
|
+
:type DifferenceOwner: :class:`tencentcloud.dts.v20211206.models.DifferenceOwnerDetail`
|
|
655
659
|
"""
|
|
656
660
|
self._Difference = None
|
|
657
661
|
self._Skipped = None
|
|
658
662
|
self._DifferenceAdvancedObjects = None
|
|
659
663
|
self._DifferenceData = None
|
|
660
664
|
self._DifferenceRow = None
|
|
665
|
+
self._DifferenceSchema = None
|
|
666
|
+
self._DifferenceOwner = None
|
|
661
667
|
|
|
662
668
|
@property
|
|
663
669
|
def Difference(self):
|
|
@@ -714,6 +720,28 @@ class CompareDetailInfo(AbstractModel):
|
|
|
714
720
|
def DifferenceRow(self, DifferenceRow):
|
|
715
721
|
self._DifferenceRow = DifferenceRow
|
|
716
722
|
|
|
723
|
+
@property
|
|
724
|
+
def DifferenceSchema(self):
|
|
725
|
+
r"""表结构不一致详情,pg用
|
|
726
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.DifferenceSchemaDetail`
|
|
727
|
+
"""
|
|
728
|
+
return self._DifferenceSchema
|
|
729
|
+
|
|
730
|
+
@DifferenceSchema.setter
|
|
731
|
+
def DifferenceSchema(self, DifferenceSchema):
|
|
732
|
+
self._DifferenceSchema = DifferenceSchema
|
|
733
|
+
|
|
734
|
+
@property
|
|
735
|
+
def DifferenceOwner(self):
|
|
736
|
+
r"""对象owner不一致详情,pg用
|
|
737
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.DifferenceOwnerDetail`
|
|
738
|
+
"""
|
|
739
|
+
return self._DifferenceOwner
|
|
740
|
+
|
|
741
|
+
@DifferenceOwner.setter
|
|
742
|
+
def DifferenceOwner(self, DifferenceOwner):
|
|
743
|
+
self._DifferenceOwner = DifferenceOwner
|
|
744
|
+
|
|
717
745
|
|
|
718
746
|
def _deserialize(self, params):
|
|
719
747
|
if params.get("Difference") is not None:
|
|
@@ -731,6 +759,12 @@ class CompareDetailInfo(AbstractModel):
|
|
|
731
759
|
if params.get("DifferenceRow") is not None:
|
|
732
760
|
self._DifferenceRow = DifferenceRowDetail()
|
|
733
761
|
self._DifferenceRow._deserialize(params.get("DifferenceRow"))
|
|
762
|
+
if params.get("DifferenceSchema") is not None:
|
|
763
|
+
self._DifferenceSchema = DifferenceSchemaDetail()
|
|
764
|
+
self._DifferenceSchema._deserialize(params.get("DifferenceSchema"))
|
|
765
|
+
if params.get("DifferenceOwner") is not None:
|
|
766
|
+
self._DifferenceOwner = DifferenceOwnerDetail()
|
|
767
|
+
self._DifferenceOwner._deserialize(params.get("DifferenceOwner"))
|
|
734
768
|
memeber_set = set(params.keys())
|
|
735
769
|
for name, value in vars(self).items():
|
|
736
770
|
property_name = name[1:]
|
|
@@ -9372,6 +9406,64 @@ class DifferenceItem(AbstractModel):
|
|
|
9372
9406
|
|
|
9373
9407
|
|
|
9374
9408
|
|
|
9409
|
+
class DifferenceOwnerDetail(AbstractModel):
|
|
9410
|
+
r"""pg owner不一致性详情
|
|
9411
|
+
|
|
9412
|
+
"""
|
|
9413
|
+
|
|
9414
|
+
def __init__(self):
|
|
9415
|
+
r"""
|
|
9416
|
+
:param _TotalCount: owner不一致总数
|
|
9417
|
+
:type TotalCount: int
|
|
9418
|
+
:param _Items: owner不一致详情
|
|
9419
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9420
|
+
:type Items: list of OwnerDifference
|
|
9421
|
+
"""
|
|
9422
|
+
self._TotalCount = None
|
|
9423
|
+
self._Items = None
|
|
9424
|
+
|
|
9425
|
+
@property
|
|
9426
|
+
def TotalCount(self):
|
|
9427
|
+
r"""owner不一致总数
|
|
9428
|
+
:rtype: int
|
|
9429
|
+
"""
|
|
9430
|
+
return self._TotalCount
|
|
9431
|
+
|
|
9432
|
+
@TotalCount.setter
|
|
9433
|
+
def TotalCount(self, TotalCount):
|
|
9434
|
+
self._TotalCount = TotalCount
|
|
9435
|
+
|
|
9436
|
+
@property
|
|
9437
|
+
def Items(self):
|
|
9438
|
+
r"""owner不一致详情
|
|
9439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9440
|
+
:rtype: list of OwnerDifference
|
|
9441
|
+
"""
|
|
9442
|
+
return self._Items
|
|
9443
|
+
|
|
9444
|
+
@Items.setter
|
|
9445
|
+
def Items(self, Items):
|
|
9446
|
+
self._Items = Items
|
|
9447
|
+
|
|
9448
|
+
|
|
9449
|
+
def _deserialize(self, params):
|
|
9450
|
+
self._TotalCount = params.get("TotalCount")
|
|
9451
|
+
if params.get("Items") is not None:
|
|
9452
|
+
self._Items = []
|
|
9453
|
+
for item in params.get("Items"):
|
|
9454
|
+
obj = OwnerDifference()
|
|
9455
|
+
obj._deserialize(item)
|
|
9456
|
+
self._Items.append(obj)
|
|
9457
|
+
memeber_set = set(params.keys())
|
|
9458
|
+
for name, value in vars(self).items():
|
|
9459
|
+
property_name = name[1:]
|
|
9460
|
+
if property_name in memeber_set:
|
|
9461
|
+
memeber_set.remove(property_name)
|
|
9462
|
+
if len(memeber_set) > 0:
|
|
9463
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9464
|
+
|
|
9465
|
+
|
|
9466
|
+
|
|
9375
9467
|
class DifferenceRowDetail(AbstractModel):
|
|
9376
9468
|
r"""mongodb行数校验不一致性详情结果
|
|
9377
9469
|
|
|
@@ -9430,6 +9522,64 @@ class DifferenceRowDetail(AbstractModel):
|
|
|
9430
9522
|
|
|
9431
9523
|
|
|
9432
9524
|
|
|
9525
|
+
class DifferenceSchemaDetail(AbstractModel):
|
|
9526
|
+
r"""表结构不一致信息
|
|
9527
|
+
|
|
9528
|
+
"""
|
|
9529
|
+
|
|
9530
|
+
def __init__(self):
|
|
9531
|
+
r"""
|
|
9532
|
+
:param _TotalCount: 表结构不一致的数量
|
|
9533
|
+
:type TotalCount: int
|
|
9534
|
+
:param _Items: 表结构不一致信息
|
|
9535
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9536
|
+
:type Items: list of SchemaDifference
|
|
9537
|
+
"""
|
|
9538
|
+
self._TotalCount = None
|
|
9539
|
+
self._Items = None
|
|
9540
|
+
|
|
9541
|
+
@property
|
|
9542
|
+
def TotalCount(self):
|
|
9543
|
+
r"""表结构不一致的数量
|
|
9544
|
+
:rtype: int
|
|
9545
|
+
"""
|
|
9546
|
+
return self._TotalCount
|
|
9547
|
+
|
|
9548
|
+
@TotalCount.setter
|
|
9549
|
+
def TotalCount(self, TotalCount):
|
|
9550
|
+
self._TotalCount = TotalCount
|
|
9551
|
+
|
|
9552
|
+
@property
|
|
9553
|
+
def Items(self):
|
|
9554
|
+
r"""表结构不一致信息
|
|
9555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9556
|
+
:rtype: list of SchemaDifference
|
|
9557
|
+
"""
|
|
9558
|
+
return self._Items
|
|
9559
|
+
|
|
9560
|
+
@Items.setter
|
|
9561
|
+
def Items(self, Items):
|
|
9562
|
+
self._Items = Items
|
|
9563
|
+
|
|
9564
|
+
|
|
9565
|
+
def _deserialize(self, params):
|
|
9566
|
+
self._TotalCount = params.get("TotalCount")
|
|
9567
|
+
if params.get("Items") is not None:
|
|
9568
|
+
self._Items = []
|
|
9569
|
+
for item in params.get("Items"):
|
|
9570
|
+
obj = SchemaDifference()
|
|
9571
|
+
obj._deserialize(item)
|
|
9572
|
+
self._Items.append(obj)
|
|
9573
|
+
memeber_set = set(params.keys())
|
|
9574
|
+
for name, value in vars(self).items():
|
|
9575
|
+
property_name = name[1:]
|
|
9576
|
+
if property_name in memeber_set:
|
|
9577
|
+
memeber_set.remove(property_name)
|
|
9578
|
+
if len(memeber_set) > 0:
|
|
9579
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9580
|
+
|
|
9581
|
+
|
|
9582
|
+
|
|
9433
9583
|
class DistributeRule(AbstractModel):
|
|
9434
9584
|
r"""订阅任务的kafka分区规则。符合库名和表名正则表达式的数据将按照RuleType计算该条数据将被投递的kafka分区。如果配置了多个规则,将按照配置的顺序,第一条命中的规则生效。
|
|
9435
9585
|
|
|
@@ -11328,11 +11478,14 @@ class KafkaOption(AbstractModel):
|
|
|
11328
11478
|
:type DDLTopicName: str
|
|
11329
11479
|
:param _TopicRules: 单topic和自定义topic的描述
|
|
11330
11480
|
:type TopicRules: list of TopicRule
|
|
11481
|
+
:param _DataOption: 其他附加信息,对于特定数据类型可设置额外参数,比如针对Canal兼容的功能支持:"canalOfficialFormat":"on"表示打开Canal兼容功能,默认不带。
|
|
11482
|
+
:type DataOption: list of KeyValuePairOption
|
|
11331
11483
|
"""
|
|
11332
11484
|
self._DataType = None
|
|
11333
11485
|
self._TopicType = None
|
|
11334
11486
|
self._DDLTopicName = None
|
|
11335
11487
|
self._TopicRules = None
|
|
11488
|
+
self._DataOption = None
|
|
11336
11489
|
|
|
11337
11490
|
@property
|
|
11338
11491
|
def DataType(self):
|
|
@@ -11378,6 +11531,17 @@ class KafkaOption(AbstractModel):
|
|
|
11378
11531
|
def TopicRules(self, TopicRules):
|
|
11379
11532
|
self._TopicRules = TopicRules
|
|
11380
11533
|
|
|
11534
|
+
@property
|
|
11535
|
+
def DataOption(self):
|
|
11536
|
+
r"""其他附加信息,对于特定数据类型可设置额外参数,比如针对Canal兼容的功能支持:"canalOfficialFormat":"on"表示打开Canal兼容功能,默认不带。
|
|
11537
|
+
:rtype: list of KeyValuePairOption
|
|
11538
|
+
"""
|
|
11539
|
+
return self._DataOption
|
|
11540
|
+
|
|
11541
|
+
@DataOption.setter
|
|
11542
|
+
def DataOption(self, DataOption):
|
|
11543
|
+
self._DataOption = DataOption
|
|
11544
|
+
|
|
11381
11545
|
|
|
11382
11546
|
def _deserialize(self, params):
|
|
11383
11547
|
self._DataType = params.get("DataType")
|
|
@@ -11389,6 +11553,12 @@ class KafkaOption(AbstractModel):
|
|
|
11389
11553
|
obj = TopicRule()
|
|
11390
11554
|
obj._deserialize(item)
|
|
11391
11555
|
self._TopicRules.append(obj)
|
|
11556
|
+
if params.get("DataOption") is not None:
|
|
11557
|
+
self._DataOption = []
|
|
11558
|
+
for item in params.get("DataOption"):
|
|
11559
|
+
obj = KeyValuePairOption()
|
|
11560
|
+
obj._deserialize(item)
|
|
11561
|
+
self._DataOption.append(obj)
|
|
11392
11562
|
memeber_set = set(params.keys())
|
|
11393
11563
|
for name, value in vars(self).items():
|
|
11394
11564
|
property_name = name[1:]
|
|
@@ -14030,6 +14200,117 @@ class Options(AbstractModel):
|
|
|
14030
14200
|
|
|
14031
14201
|
|
|
14032
14202
|
|
|
14203
|
+
class OwnerDifference(AbstractModel):
|
|
14204
|
+
r"""pg对象owner不一致信息
|
|
14205
|
+
|
|
14206
|
+
"""
|
|
14207
|
+
|
|
14208
|
+
def __init__(self):
|
|
14209
|
+
r"""
|
|
14210
|
+
:param _Db: owner不一致的pg对象所在库
|
|
14211
|
+
:type Db: str
|
|
14212
|
+
:param _Schema: owner不一致的pg对象所在schema
|
|
14213
|
+
:type Schema: str
|
|
14214
|
+
:param _ObjectName: owner不一致的pg对象名
|
|
14215
|
+
:type ObjectName: str
|
|
14216
|
+
:param _ObjectType: owner不一致的pg对象类型
|
|
14217
|
+
:type ObjectType: str
|
|
14218
|
+
:param _SrcOwner: 源库对象owner
|
|
14219
|
+
:type SrcOwner: str
|
|
14220
|
+
:param _DstOwner: 目标库对象owner
|
|
14221
|
+
:type DstOwner: str
|
|
14222
|
+
"""
|
|
14223
|
+
self._Db = None
|
|
14224
|
+
self._Schema = None
|
|
14225
|
+
self._ObjectName = None
|
|
14226
|
+
self._ObjectType = None
|
|
14227
|
+
self._SrcOwner = None
|
|
14228
|
+
self._DstOwner = None
|
|
14229
|
+
|
|
14230
|
+
@property
|
|
14231
|
+
def Db(self):
|
|
14232
|
+
r"""owner不一致的pg对象所在库
|
|
14233
|
+
:rtype: str
|
|
14234
|
+
"""
|
|
14235
|
+
return self._Db
|
|
14236
|
+
|
|
14237
|
+
@Db.setter
|
|
14238
|
+
def Db(self, Db):
|
|
14239
|
+
self._Db = Db
|
|
14240
|
+
|
|
14241
|
+
@property
|
|
14242
|
+
def Schema(self):
|
|
14243
|
+
r"""owner不一致的pg对象所在schema
|
|
14244
|
+
:rtype: str
|
|
14245
|
+
"""
|
|
14246
|
+
return self._Schema
|
|
14247
|
+
|
|
14248
|
+
@Schema.setter
|
|
14249
|
+
def Schema(self, Schema):
|
|
14250
|
+
self._Schema = Schema
|
|
14251
|
+
|
|
14252
|
+
@property
|
|
14253
|
+
def ObjectName(self):
|
|
14254
|
+
r"""owner不一致的pg对象名
|
|
14255
|
+
:rtype: str
|
|
14256
|
+
"""
|
|
14257
|
+
return self._ObjectName
|
|
14258
|
+
|
|
14259
|
+
@ObjectName.setter
|
|
14260
|
+
def ObjectName(self, ObjectName):
|
|
14261
|
+
self._ObjectName = ObjectName
|
|
14262
|
+
|
|
14263
|
+
@property
|
|
14264
|
+
def ObjectType(self):
|
|
14265
|
+
r"""owner不一致的pg对象类型
|
|
14266
|
+
:rtype: str
|
|
14267
|
+
"""
|
|
14268
|
+
return self._ObjectType
|
|
14269
|
+
|
|
14270
|
+
@ObjectType.setter
|
|
14271
|
+
def ObjectType(self, ObjectType):
|
|
14272
|
+
self._ObjectType = ObjectType
|
|
14273
|
+
|
|
14274
|
+
@property
|
|
14275
|
+
def SrcOwner(self):
|
|
14276
|
+
r"""源库对象owner
|
|
14277
|
+
:rtype: str
|
|
14278
|
+
"""
|
|
14279
|
+
return self._SrcOwner
|
|
14280
|
+
|
|
14281
|
+
@SrcOwner.setter
|
|
14282
|
+
def SrcOwner(self, SrcOwner):
|
|
14283
|
+
self._SrcOwner = SrcOwner
|
|
14284
|
+
|
|
14285
|
+
@property
|
|
14286
|
+
def DstOwner(self):
|
|
14287
|
+
r"""目标库对象owner
|
|
14288
|
+
:rtype: str
|
|
14289
|
+
"""
|
|
14290
|
+
return self._DstOwner
|
|
14291
|
+
|
|
14292
|
+
@DstOwner.setter
|
|
14293
|
+
def DstOwner(self, DstOwner):
|
|
14294
|
+
self._DstOwner = DstOwner
|
|
14295
|
+
|
|
14296
|
+
|
|
14297
|
+
def _deserialize(self, params):
|
|
14298
|
+
self._Db = params.get("Db")
|
|
14299
|
+
self._Schema = params.get("Schema")
|
|
14300
|
+
self._ObjectName = params.get("ObjectName")
|
|
14301
|
+
self._ObjectType = params.get("ObjectType")
|
|
14302
|
+
self._SrcOwner = params.get("SrcOwner")
|
|
14303
|
+
self._DstOwner = params.get("DstOwner")
|
|
14304
|
+
memeber_set = set(params.keys())
|
|
14305
|
+
for name, value in vars(self).items():
|
|
14306
|
+
property_name = name[1:]
|
|
14307
|
+
if property_name in memeber_set:
|
|
14308
|
+
memeber_set.remove(property_name)
|
|
14309
|
+
if len(memeber_set) > 0:
|
|
14310
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14311
|
+
|
|
14312
|
+
|
|
14313
|
+
|
|
14033
14314
|
class PartitionAssignment(AbstractModel):
|
|
14034
14315
|
r"""数据订阅中kafka消费者组的分区分配情况。该数据是实时查询的,如果需要最新数据,需重新掉接口查询。
|
|
14035
14316
|
|
|
@@ -15459,6 +15740,102 @@ class RowsCountDifference(AbstractModel):
|
|
|
15459
15740
|
|
|
15460
15741
|
|
|
15461
15742
|
|
|
15743
|
+
class SchemaDifference(AbstractModel):
|
|
15744
|
+
r"""结构不一致详情
|
|
15745
|
+
|
|
15746
|
+
"""
|
|
15747
|
+
|
|
15748
|
+
def __init__(self):
|
|
15749
|
+
r"""
|
|
15750
|
+
:param _Db: 结构不一致的表所在库
|
|
15751
|
+
:type Db: str
|
|
15752
|
+
:param _Schema: 结构不一致的表所在schema
|
|
15753
|
+
:type Schema: str
|
|
15754
|
+
:param _Table: 结构不一致的表
|
|
15755
|
+
:type Table: str
|
|
15756
|
+
:param _SrcSchema: 源库表结构
|
|
15757
|
+
:type SrcSchema: str
|
|
15758
|
+
:param _DstSchema: 目标库表结构
|
|
15759
|
+
:type DstSchema: str
|
|
15760
|
+
"""
|
|
15761
|
+
self._Db = None
|
|
15762
|
+
self._Schema = None
|
|
15763
|
+
self._Table = None
|
|
15764
|
+
self._SrcSchema = None
|
|
15765
|
+
self._DstSchema = None
|
|
15766
|
+
|
|
15767
|
+
@property
|
|
15768
|
+
def Db(self):
|
|
15769
|
+
r"""结构不一致的表所在库
|
|
15770
|
+
:rtype: str
|
|
15771
|
+
"""
|
|
15772
|
+
return self._Db
|
|
15773
|
+
|
|
15774
|
+
@Db.setter
|
|
15775
|
+
def Db(self, Db):
|
|
15776
|
+
self._Db = Db
|
|
15777
|
+
|
|
15778
|
+
@property
|
|
15779
|
+
def Schema(self):
|
|
15780
|
+
r"""结构不一致的表所在schema
|
|
15781
|
+
:rtype: str
|
|
15782
|
+
"""
|
|
15783
|
+
return self._Schema
|
|
15784
|
+
|
|
15785
|
+
@Schema.setter
|
|
15786
|
+
def Schema(self, Schema):
|
|
15787
|
+
self._Schema = Schema
|
|
15788
|
+
|
|
15789
|
+
@property
|
|
15790
|
+
def Table(self):
|
|
15791
|
+
r"""结构不一致的表
|
|
15792
|
+
:rtype: str
|
|
15793
|
+
"""
|
|
15794
|
+
return self._Table
|
|
15795
|
+
|
|
15796
|
+
@Table.setter
|
|
15797
|
+
def Table(self, Table):
|
|
15798
|
+
self._Table = Table
|
|
15799
|
+
|
|
15800
|
+
@property
|
|
15801
|
+
def SrcSchema(self):
|
|
15802
|
+
r"""源库表结构
|
|
15803
|
+
:rtype: str
|
|
15804
|
+
"""
|
|
15805
|
+
return self._SrcSchema
|
|
15806
|
+
|
|
15807
|
+
@SrcSchema.setter
|
|
15808
|
+
def SrcSchema(self, SrcSchema):
|
|
15809
|
+
self._SrcSchema = SrcSchema
|
|
15810
|
+
|
|
15811
|
+
@property
|
|
15812
|
+
def DstSchema(self):
|
|
15813
|
+
r"""目标库表结构
|
|
15814
|
+
:rtype: str
|
|
15815
|
+
"""
|
|
15816
|
+
return self._DstSchema
|
|
15817
|
+
|
|
15818
|
+
@DstSchema.setter
|
|
15819
|
+
def DstSchema(self, DstSchema):
|
|
15820
|
+
self._DstSchema = DstSchema
|
|
15821
|
+
|
|
15822
|
+
|
|
15823
|
+
def _deserialize(self, params):
|
|
15824
|
+
self._Db = params.get("Db")
|
|
15825
|
+
self._Schema = params.get("Schema")
|
|
15826
|
+
self._Table = params.get("Table")
|
|
15827
|
+
self._SrcSchema = params.get("SrcSchema")
|
|
15828
|
+
self._DstSchema = params.get("DstSchema")
|
|
15829
|
+
memeber_set = set(params.keys())
|
|
15830
|
+
for name, value in vars(self).items():
|
|
15831
|
+
property_name = name[1:]
|
|
15832
|
+
if property_name in memeber_set:
|
|
15833
|
+
memeber_set.remove(property_name)
|
|
15834
|
+
if len(memeber_set) > 0:
|
|
15835
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15836
|
+
|
|
15837
|
+
|
|
15838
|
+
|
|
15462
15839
|
class SkipCheckItemRequest(AbstractModel):
|
|
15463
15840
|
r"""SkipCheckItem请求参数结构体
|
|
15464
15841
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-dts
|
|
3
|
+
Version: 3.0.1491
|
|
4
|
+
Summary: Tencent Cloud Dts SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Dts SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-dts
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common dts
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-dts
|
|
3
|
-
Version: 3.0.1479
|
|
4
|
-
Summary: Tencent Cloud Dts SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Dts SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-dts
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common dts
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-dts
|
|
3
|
-
Version: 3.0.1479
|
|
4
|
-
Summary: Tencent Cloud Dts SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Dts SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-dts
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common dts
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1479
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|