Skip to content

Commit fc79b6f

Browse files
committed
Support restart node list and re-elect zookeeper.
1 parent c23185a commit fc79b6f

File tree

7 files changed

+36
-8
lines changed

7 files changed

+36
-8
lines changed

aliyun-python-sdk-clickhouse/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-12 Version: 3.1.6
2+
- Support restart node list and re-elect zookeeper.
3+
14
2024-02-04 Version: 3.1.5
25
-support modify cluster disk performance level
36

aliyun-python-sdk-clickhouse/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
88

99
This module works on Python versions:
1010

11-
2.6.5 and greater
11+
3.7 and greater
1212

1313
**Documentation:**
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.1.5'
1+
__version__ = '3.1.6'

aliyun-python-sdk-clickhouse/aliyunsdkclickhouse/request/v20191111/CreateDBInstanceRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ def get_VSwitchId(self): # String
101101

102102
def set_VSwitchId(self, VSwitchId): # String
103103
self.add_query_param('VSwitchId', VSwitchId)
104+
def get_AutoRenew(self): # Boolean
105+
return self.get_query_params().get('AutoRenew')
106+
107+
def set_AutoRenew(self, AutoRenew): # Boolean
108+
self.add_query_param('AutoRenew', AutoRenew)
104109
def get_ZoneId(self): # String
105110
return self.get_query_params().get('ZoneId')
106111

aliyun-python-sdk-clickhouse/aliyunsdkclickhouse/request/v20191111/ModifyDBClusterRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ def get_DbNodeStorageType(self): # String
4141

4242
def set_DbNodeStorageType(self, DbNodeStorageType): # String
4343
self.add_query_param('DbNodeStorageType', DbNodeStorageType)
44+
def get_DisableWriteWindows(self): # String
45+
return self.get_query_params().get('DisableWriteWindows')
46+
47+
def set_DisableWriteWindows(self, DisableWriteWindows): # String
48+
self.add_query_param('DisableWriteWindows', DisableWriteWindows)
4449
def get_ResourceOwnerAccount(self): # String
4550
return self.get_query_params().get('ResourceOwnerAccount')
4651

aliyun-python-sdk-clickhouse/aliyunsdkclickhouse/request/v20191111/TransferVersionRequest.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ def get_TargetAccount(self): # String
5151

5252
def set_TargetAccount(self, TargetAccount): # String
5353
self.add_query_param('TargetAccount', TargetAccount)
54+
def get_SourceClusterName(self): # String
55+
return self.get_query_params().get('SourceClusterName')
56+
57+
def set_SourceClusterName(self, SourceClusterName): # String
58+
self.add_query_param('SourceClusterName', SourceClusterName)
5459
def get_PageSize(self): # Integer
5560
return self.get_query_params().get('PageSize')
5661

@@ -61,6 +66,11 @@ def get_SourcePassword(self): # String
6166

6267
def set_SourcePassword(self, SourcePassword): # String
6368
self.add_query_param('SourcePassword', SourcePassword)
69+
def get_DisableWriteWindows(self): # String
70+
return self.get_query_params().get('DisableWriteWindows')
71+
72+
def set_DisableWriteWindows(self, DisableWriteWindows): # String
73+
self.add_query_param('DisableWriteWindows', DisableWriteWindows)
6474
def get_ResourceOwnerAccount(self): # String
6575
return self.get_query_params().get('ResourceOwnerAccount')
6676

@@ -91,3 +101,8 @@ def get_TargetDbClusterId(self): # String
91101

92102
def set_TargetDbClusterId(self, TargetDbClusterId): # String
93103
self.add_query_param('TargetDbClusterId', TargetDbClusterId)
104+
def get_SourceShards(self): # String
105+
return self.get_query_params().get('SourceShards')
106+
107+
def set_SourceShards(self, SourceShards): # String
108+
self.add_query_param('SourceShards', SourceShards)

aliyun-python-sdk-clickhouse/setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
"Intended Audience :: Developers",
6666
"License :: OSI Approved :: Apache Software License",
6767
"Programming Language :: Python",
68-
"Programming Language :: Python :: 2.6",
69-
"Programming Language :: Python :: 2.7",
7068
"Programming Language :: Python :: 3",
71-
"Programming Language :: Python :: 3.3",
72-
"Programming Language :: Python :: 3.4",
73-
"Programming Language :: Python :: 3.5",
74-
"Programming Language :: Python :: 3.6",
69+
"Programming Language :: Python :: 3.7",
70+
"Programming Language :: Python :: 3.8",
71+
"Programming Language :: Python :: 3.9",
72+
"Programming Language :: Python :: 3.10",
73+
"Programming Language :: Python :: 3.11",
74+
"Programming Language :: Python :: 3.12",
7575
"Topic :: Software Development",
7676
)
7777

0 commit comments

Comments
 (0)