File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,20 @@ def get_ring_3x():
43
43
def get_keyspace_names_3x_mod ():
44
44
return list (cqlshell .conn .metadata .keyspaces .keys ())
45
45
46
+
46
47
def get_columnfamily_names_3x (ksname = None ):
47
48
if ksname is None :
48
49
ksname = cqlshell .current_keyspace
49
50
51
+ return list (get_keyspace_meta_3x (ksname ).tables .keys ())
52
+
50
53
def get_keyspace_meta_3x ( ksname ):
51
54
if ksname not in cqlshell .conn .metadata .keyspaces :
52
55
raise KeyspaceNotFound ('Keyspace %r not found.' % ksname )
53
56
return cqlshell .conn .metadata .keyspaces [ksname ]
54
57
58
+
59
+
55
60
def get_partitioner_3x ():
56
61
return cqlshell .conn .metadata .partitioner
57
62
Original file line number Diff line number Diff line change 5
5
# Get the long description from the README file
6
6
long_description = (pathlib .Path (__file__ ).parent .resolve () / 'README.md' ).read_text (encoding = 'utf-8' )
7
7
8
-
9
8
# Setting up
10
9
setup (
11
10
name = "cqlsh-expansion" ,
12
- version = '0.9.5 ' ,
11
+ version = '0.9.6 ' ,
13
12
description = 'The cqlsh-expansion utility extends native cqlsh functionality to include cloud native capabilities' ,
14
13
long_description = long_description ,
15
14
long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments