tencentcloud-sdk-python-cynosdb 3.0.1411__py2.py3-none-any.whl → 3.0.1424__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-cynosdb might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1411'
17
+ __version__ = '3.0.1424'
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -428,10 +428,13 @@ class AddClusterSlaveZoneRequest(AbstractModel):
428
428
  :type SlaveZone: str
429
429
  :param _BinlogSyncWay: binlog同步方式。默认值:async。可选值:sync、semisync、async
430
430
  :type BinlogSyncWay: str
431
+ :param _SemiSyncTimeout: 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。
432
+ :type SemiSyncTimeout: int
431
433
  """
432
434
  self._ClusterId = None
433
435
  self._SlaveZone = None
434
436
  self._BinlogSyncWay = None
437
+ self._SemiSyncTimeout = None
435
438
 
436
439
  @property
437
440
  def ClusterId(self):
@@ -466,11 +469,23 @@ class AddClusterSlaveZoneRequest(AbstractModel):
466
469
  def BinlogSyncWay(self, BinlogSyncWay):
467
470
  self._BinlogSyncWay = BinlogSyncWay
468
471
 
472
+ @property
473
+ def SemiSyncTimeout(self):
474
+ """半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。
475
+ :rtype: int
476
+ """
477
+ return self._SemiSyncTimeout
478
+
479
+ @SemiSyncTimeout.setter
480
+ def SemiSyncTimeout(self, SemiSyncTimeout):
481
+ self._SemiSyncTimeout = SemiSyncTimeout
482
+
469
483
 
470
484
  def _deserialize(self, params):
471
485
  self._ClusterId = params.get("ClusterId")
472
486
  self._SlaveZone = params.get("SlaveZone")
473
487
  self._BinlogSyncWay = params.get("BinlogSyncWay")
488
+ self._SemiSyncTimeout = params.get("SemiSyncTimeout")
474
489
  memeber_set = set(params.keys())
475
490
  for name, value in vars(self).items():
476
491
  property_name = name[1:]
@@ -27507,11 +27522,14 @@ class ModifyClusterSlaveZoneRequest(AbstractModel):
27507
27522
  :type NewSlaveZone: str
27508
27523
  :param _BinlogSyncWay: binlog同步方式。默认值:async。可选值:sync、semisync、async
27509
27524
  :type BinlogSyncWay: str
27525
+ :param _SemiSyncTimeout: 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。
27526
+ :type SemiSyncTimeout: int
27510
27527
  """
27511
27528
  self._ClusterId = None
27512
27529
  self._OldSlaveZone = None
27513
27530
  self._NewSlaveZone = None
27514
27531
  self._BinlogSyncWay = None
27532
+ self._SemiSyncTimeout = None
27515
27533
 
27516
27534
  @property
27517
27535
  def ClusterId(self):
@@ -27557,12 +27575,24 @@ class ModifyClusterSlaveZoneRequest(AbstractModel):
27557
27575
  def BinlogSyncWay(self, BinlogSyncWay):
27558
27576
  self._BinlogSyncWay = BinlogSyncWay
27559
27577
 
27578
+ @property
27579
+ def SemiSyncTimeout(self):
27580
+ """半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。
27581
+ :rtype: int
27582
+ """
27583
+ return self._SemiSyncTimeout
27584
+
27585
+ @SemiSyncTimeout.setter
27586
+ def SemiSyncTimeout(self, SemiSyncTimeout):
27587
+ self._SemiSyncTimeout = SemiSyncTimeout
27588
+
27560
27589
 
27561
27590
  def _deserialize(self, params):
27562
27591
  self._ClusterId = params.get("ClusterId")
27563
27592
  self._OldSlaveZone = params.get("OldSlaveZone")
27564
27593
  self._NewSlaveZone = params.get("NewSlaveZone")
27565
27594
  self._BinlogSyncWay = params.get("BinlogSyncWay")
27595
+ self._SemiSyncTimeout = params.get("SemiSyncTimeout")
27566
27596
  memeber_set = set(params.keys())
27567
27597
  for name, value in vars(self).items():
27568
27598
  property_name = name[1:]
@@ -38340,9 +38370,12 @@ class SlaveZoneAttrItem(AbstractModel):
38340
38370
  :type Zone: str
38341
38371
  :param _BinlogSyncWay: binlog同步方式
38342
38372
  :type BinlogSyncWay: str
38373
+ :param _SemiSyncTimeout: 半同步超时时间,单位ms
38374
+ :type SemiSyncTimeout: int
38343
38375
  """
38344
38376
  self._Zone = None
38345
38377
  self._BinlogSyncWay = None
38378
+ self._SemiSyncTimeout = None
38346
38379
 
38347
38380
  @property
38348
38381
  def Zone(self):
@@ -38366,10 +38399,22 @@ class SlaveZoneAttrItem(AbstractModel):
38366
38399
  def BinlogSyncWay(self, BinlogSyncWay):
38367
38400
  self._BinlogSyncWay = BinlogSyncWay
38368
38401
 
38402
+ @property
38403
+ def SemiSyncTimeout(self):
38404
+ """半同步超时时间,单位ms
38405
+ :rtype: int
38406
+ """
38407
+ return self._SemiSyncTimeout
38408
+
38409
+ @SemiSyncTimeout.setter
38410
+ def SemiSyncTimeout(self, SemiSyncTimeout):
38411
+ self._SemiSyncTimeout = SemiSyncTimeout
38412
+
38369
38413
 
38370
38414
  def _deserialize(self, params):
38371
38415
  self._Zone = params.get("Zone")
38372
38416
  self._BinlogSyncWay = params.get("BinlogSyncWay")
38417
+ self._SemiSyncTimeout = params.get("SemiSyncTimeout")
38373
38418
  memeber_set = set(params.keys())
38374
38419
  for name, value in vars(self).items():
38375
38420
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.0.1411
3
+ Version: 3.0.1424
4
4
  Summary: Tencent Cloud Cynosdb 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 (==3.0.1411)
18
+ Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1424)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=YJdqpNf54Pb85VccP2bCaVOX10kkRnAJ5-Uoz4c4mQ4,631
2
+ tencentcloud/cynosdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/cynosdb/v20190107/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/cynosdb/v20190107/cynosdb_client.py,sha256=027i5JacfPbYcZTGhrBNSRqsp5EOoh2oDEAJmaV-1PE,158528
5
+ tencentcloud/cynosdb/v20190107/errorcodes.py,sha256=AusZ6Aj1sRYc9ozzR_YEXHA9OofH2mzRLn9wwqYTsWk,13936
6
+ tencentcloud/cynosdb/v20190107/models.py,sha256=gQGlBkmtmTb4jW6GFo_5LVI5uGvRFxCeRAWEOuqVJL8,1194243
7
+ tencentcloud_sdk_python_cynosdb-3.0.1424.dist-info/METADATA,sha256=Nr7W1-ChUYgy9PD3Yz26Kh0wGZsAL934sVQ3hgBVWkM,1523
8
+ tencentcloud_sdk_python_cynosdb-3.0.1424.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_cynosdb-3.0.1424.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_cynosdb-3.0.1424.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=E3863ySCct5duHrRFNO1sUAdDcVAsVVkJYn_7EgA2f0,631
2
- tencentcloud/cynosdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/cynosdb/v20190107/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/cynosdb/v20190107/cynosdb_client.py,sha256=9vmhWdjYWNCcYuPpSApx0WfD-RCPlBz7BlxIZMtaIAU,158555
5
- tencentcloud/cynosdb/v20190107/errorcodes.py,sha256=cB6QSSB-uZm9J4nEqTD7dk8p7ZjTqcKiVDE-5PfVMi0,13963
6
- tencentcloud/cynosdb/v20190107/models.py,sha256=8sP7tI_uuA8wqAGIZ1SgEnuhzuXSMMkwSo56sKrCv8I,1191782
7
- tencentcloud_sdk_python_cynosdb-3.0.1411.dist-info/METADATA,sha256=WYgNTKdVdaAYC62NgsZKscmThAWcZlTYFzjA2K7rvY0,1516
8
- tencentcloud_sdk_python_cynosdb-3.0.1411.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_cynosdb-3.0.1411.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_cynosdb-3.0.1411.dist-info/RECORD,,