kaqing 2.0.47__py3-none-any.whl → 2.0.49__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.
- adam/batch.py +1 -1
- adam/commands/alter_tables.py +1 -1
- adam/commands/cql/__init__.py +0 -0
- adam/commands/cql/cql_completions.py +12 -0
- adam/commands/cql/cql_table_completer.py +16 -0
- adam/commands/{cqlsh.py → cql/cqlsh.py} +6 -15
- adam/commands/describe/describe_keyspace.py +1 -1
- adam/commands/describe/describe_keyspaces.py +1 -1
- adam/commands/describe/describe_table.py +1 -1
- adam/commands/describe/describe_tables.py +1 -1
- adam/commands/ls.py +1 -1
- adam/commands/postgres/pg_completions.py +2 -10
- adam/commands/postgres/pg_table_completer.py +5 -66
- adam/commands/postgres/postgres.py +3 -0
- adam/commands/postgres/postgres_utils.py +8 -0
- adam/commands/preview_table.py +3 -4
- adam/config.py +1 -1
- adam/repl_commands.py +1 -1
- adam/table_completer.py +93 -0
- adam/version.py +1 -1
- {kaqing-2.0.47.dist-info → kaqing-2.0.49.dist-info}/METADATA +1 -1
- {kaqing-2.0.47.dist-info → kaqing-2.0.49.dist-info}/RECORD +26 -22
- /adam/commands/{cql_utils.py → cql/cql_utils.py} +0 -0
- {kaqing-2.0.47.dist-info → kaqing-2.0.49.dist-info}/WHEEL +0 -0
- {kaqing-2.0.47.dist-info → kaqing-2.0.49.dist-info}/entry_points.txt +0 -0
- {kaqing-2.0.47.dist-info → kaqing-2.0.49.dist-info}/top_level.txt +0 -0
adam/batch.py
CHANGED
@@ -5,7 +5,7 @@ from adam.commands.check import Check, CheckCommandHelper
|
|
5
5
|
from adam.commands.cp import ClipboardCopy, CopyCommandHelper
|
6
6
|
from adam.commands.command import Command
|
7
7
|
from adam.commands.command_helpers import ClusterCommandHelper, ClusterOrPodCommandHelper, PodCommandHelper
|
8
|
-
from adam.commands.cqlsh import CqlCommandHelper, Cqlsh
|
8
|
+
from adam.commands.cql.cqlsh import CqlCommandHelper, Cqlsh
|
9
9
|
from adam.commands.deploy.deploy import Deploy, DeployCommandHelper
|
10
10
|
from adam.commands.deploy.undeploy import Undeploy, UndeployCommandHelper
|
11
11
|
from adam.commands.describe.describe import Describe, DescribeCommandHelper
|
adam/commands/alter_tables.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
from adam.commands.command import Command
|
2
|
-
from adam.commands.cql_utils import tables as get_tables, run_cql
|
2
|
+
from adam.commands.cql.cql_utils import tables as get_tables, run_cql
|
3
3
|
from adam.config import Config
|
4
4
|
from adam.pod_exec_result import PodExecResult
|
5
5
|
from adam.repl_state import ReplState, RequiredState
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
from adam.commands.cql.cql_table_completer import CqlTableCompleter
|
2
|
+
from adam.commands.cql.cql_utils import table_names
|
3
|
+
from adam.repl_state import ReplState
|
4
|
+
|
5
|
+
def cql_completions(state: ReplState) -> dict[str, any]:
|
6
|
+
completer = CqlTableCompleter(table_names(state))
|
7
|
+
return {
|
8
|
+
'describe': {
|
9
|
+
'keyspaces': None,
|
10
|
+
'table': completer.completions(),
|
11
|
+
'tables': None},
|
12
|
+
} | completer.completions()
|
@@ -0,0 +1,16 @@
|
|
1
|
+
from adam.table_completer import NestedDict, TableCompleter
|
2
|
+
|
3
|
+
class CqlTableCompleter(TableCompleter):
|
4
|
+
def __init__(self, tables: list[str], nested_dict: NestedDict = {}, ignore_case: bool = True):
|
5
|
+
self._tables = tables
|
6
|
+
self.ignore_case = ignore_case
|
7
|
+
self.append_nested_dict(nested_dict)
|
8
|
+
|
9
|
+
def __repr__(self) -> str:
|
10
|
+
return "CqlTableCompleter(%r)" % (len(self._tables))
|
11
|
+
|
12
|
+
def nested(self, data: NestedDict) -> 'TableCompleter':
|
13
|
+
return CqlTableCompleter(self._tables).append_nested_dict(data)
|
14
|
+
|
15
|
+
def tables(self) -> list[str]:
|
16
|
+
return self._tables
|
@@ -2,7 +2,8 @@ import click
|
|
2
2
|
|
3
3
|
from adam.commands.command import Command
|
4
4
|
from adam.commands.command_helpers import ClusterOrPodCommandHelper
|
5
|
-
from adam.commands.
|
5
|
+
from adam.commands.cql.cql_completions import cql_completions
|
6
|
+
from .cql_utils import run_cql, table_names
|
6
7
|
from adam.repl_state import ReplState, RequiredState
|
7
8
|
from adam.utils import log, log2
|
8
9
|
|
@@ -53,21 +54,11 @@ class Cqlsh(Command):
|
|
53
54
|
return run_cql(state, cql, opts, show_out=True)
|
54
55
|
|
55
56
|
def completion(self, state: ReplState) -> dict[str, any]:
|
57
|
+
if state.device != state.C:
|
58
|
+
return {}
|
59
|
+
|
56
60
|
if state.sts or state.pod:
|
57
|
-
|
58
|
-
return {Cqlsh.COMMAND: None} | {
|
59
|
-
'delete': {'from': {t: {'where': {'id': {'=': None}}} for t in ts}},
|
60
|
-
'insert': {'into': {t: {'values': None} for t in ts}},
|
61
|
-
'select': {'*': {'from': {t: {
|
62
|
-
'limit': {'1': None},
|
63
|
-
'where': {'id': {'=': None}}
|
64
|
-
} for t in ts}}},
|
65
|
-
'update': {t: {'set': None} for t in ts},
|
66
|
-
'describe': {
|
67
|
-
'keyspaces': None,
|
68
|
-
'table': {t: None for t in ts},
|
69
|
-
'tables': None},
|
70
|
-
}
|
61
|
+
return {Cqlsh.COMMAND: None} | cql_completions(state)
|
71
62
|
|
72
63
|
return {}
|
73
64
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from adam.commands.command import Command
|
2
|
-
from adam.commands.cql_utils import keyspaces, run_cql
|
2
|
+
from adam.commands.cql.cql_utils import keyspaces, run_cql
|
3
3
|
from adam.pod_exec_result import PodExecResult
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
5
5
|
from adam.utils import log2
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from adam.commands.command import Command
|
2
|
-
from adam.commands.cql_utils import run_cql
|
2
|
+
from adam.commands.cql.cql_utils import run_cql
|
3
3
|
from adam.pod_exec_result import PodExecResult
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
5
5
|
from adam.utils import log2
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from adam.commands.command import Command
|
2
|
-
from adam.commands.cql_utils import run_cql, table_names
|
2
|
+
from adam.commands.cql.cql_utils import run_cql, table_names
|
3
3
|
from adam.pod_exec_result import PodExecResult
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
5
5
|
from adam.utils import log2
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from adam.commands.command import Command
|
2
|
-
from adam.commands.cql_utils import run_cql
|
2
|
+
from adam.commands.cql.cql_utils import run_cql
|
3
3
|
from adam.pod_exec_result import PodExecResult
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
5
5
|
from adam.utils import log2
|
adam/commands/ls.py
CHANGED
@@ -2,7 +2,7 @@ import copy
|
|
2
2
|
|
3
3
|
from adam.commands.command import Command
|
4
4
|
from adam.commands.commands_utils import show_pods, show_rollout
|
5
|
-
from adam.commands.cqlsh import Cqlsh
|
5
|
+
from adam.commands.cql.cqlsh import Cqlsh
|
6
6
|
from adam.commands.postgres.postgres_utils import pg_database_names, pg_table_names
|
7
7
|
from adam.commands.postgres.postgres_session import PostgresSession
|
8
8
|
from adam.config import Config
|
@@ -1,17 +1,9 @@
|
|
1
1
|
from adam.commands.postgres.pg_table_completer import PgTableCompleter
|
2
2
|
|
3
3
|
def pg_completions(ns: str, pg_path: str):
|
4
|
-
table = PgTableCompleter(ns, pg_path)
|
5
4
|
return {
|
6
5
|
'\h': None,
|
7
6
|
'\d': None,
|
8
7
|
'\dt': None,
|
9
|
-
'\du': None
|
10
|
-
|
11
|
-
'insert': {'into': table.nested({'values': None})},
|
12
|
-
'select': {'*': {'from': table.nested({
|
13
|
-
'limit': {'1': {'where': {'id': {'=': {"'id'": None}}}}},
|
14
|
-
'where': {'id': {'=': {"'id'": {'limit': {'1': None}}}}}
|
15
|
-
})}},
|
16
|
-
'update': table.nested({'set': None}),
|
17
|
-
}
|
8
|
+
'\du': None
|
9
|
+
} | PgTableCompleter(ns, pg_path).completions()
|
@@ -1,12 +1,7 @@
|
|
1
|
-
from typing import Any, Dict, Iterable, Mapping, Optional, Set, Union
|
2
|
-
from prompt_toolkit.completion import CompleteEvent, Completer, Completion, NestedCompleter, WordCompleter
|
3
|
-
from prompt_toolkit.document import Document
|
4
|
-
|
5
1
|
from adam.commands.postgres.postgres_utils import pg_table_names
|
2
|
+
from adam.table_completer import NestedDict, TableCompleter
|
6
3
|
|
7
|
-
|
8
|
-
|
9
|
-
class PgTableCompleter(Completer):
|
4
|
+
class PgTableCompleter(TableCompleter):
|
10
5
|
def __init__(self, namespace: str, pg_path: str, nested_dict: NestedDict = {}, ignore_case: bool = True):
|
11
6
|
self.namespace = namespace
|
12
7
|
self.pg_path = pg_path
|
@@ -16,64 +11,8 @@ class PgTableCompleter(Completer):
|
|
16
11
|
def __repr__(self) -> str:
|
17
12
|
return "PgTableCompleter(%r, pg_path=%r)" % (self.namespace, self.pg_path)
|
18
13
|
|
19
|
-
def nested(self, data: NestedDict):
|
14
|
+
def nested(self, data: NestedDict) -> 'TableCompleter':
|
20
15
|
return PgTableCompleter(self.namespace, self.pg_path).append_nested_dict(data)
|
21
16
|
|
22
|
-
def
|
23
|
-
|
24
|
-
for key, value in data.items():
|
25
|
-
if isinstance(value, Completer):
|
26
|
-
options[key] = value
|
27
|
-
elif isinstance(value, dict):
|
28
|
-
options[key] = NestedCompleter.from_nested_dict(value)
|
29
|
-
elif isinstance(value, set):
|
30
|
-
options[key] = NestedCompleter.from_nested_dict({item: None for item in value})
|
31
|
-
else:
|
32
|
-
assert value is None
|
33
|
-
options[key] = None
|
34
|
-
|
35
|
-
self.options = options
|
36
|
-
|
37
|
-
return self
|
38
|
-
|
39
|
-
def get_completions(
|
40
|
-
self, document: Document, complete_event: CompleteEvent
|
41
|
-
) -> Iterable[Completion]:
|
42
|
-
text = document.text_before_cursor.lstrip()
|
43
|
-
stripped_len = len(document.text_before_cursor) - len(text)
|
44
|
-
|
45
|
-
if " " in text:
|
46
|
-
second_term = None
|
47
|
-
tokens = text.split()
|
48
|
-
if len(tokens) > 1:
|
49
|
-
second_term = tokens[1]
|
50
|
-
if second_term:
|
51
|
-
completer = self.options.get(second_term)
|
52
|
-
|
53
|
-
if completer is not None:
|
54
|
-
first_term = tokens[0]
|
55
|
-
remaining_text = text[len(first_term) :].lstrip()
|
56
|
-
move_cursor = len(text) - len(remaining_text) + stripped_len
|
57
|
-
|
58
|
-
remaining_text = remaining_text[len(second_term) :].lstrip()
|
59
|
-
move_cursor = len(text) - len(remaining_text) + stripped_len
|
60
|
-
|
61
|
-
new_document = Document(
|
62
|
-
remaining_text,
|
63
|
-
cursor_position=document.cursor_position - move_cursor,
|
64
|
-
)
|
65
|
-
|
66
|
-
for c in completer.get_completions(new_document, complete_event):
|
67
|
-
yield c
|
68
|
-
else:
|
69
|
-
completer = WordCompleter(
|
70
|
-
list(self.options.keys()), ignore_case=self.ignore_case
|
71
|
-
)
|
72
|
-
for c in completer.get_completions(document, complete_event):
|
73
|
-
yield c
|
74
|
-
else:
|
75
|
-
completer = WordCompleter(
|
76
|
-
list(pg_table_names(self.namespace, self.pg_path)), ignore_case=self.ignore_case
|
77
|
-
)
|
78
|
-
for c in completer.get_completions(document, complete_event):
|
79
|
-
yield c
|
17
|
+
def tables(self) -> list[str]:
|
18
|
+
return pg_table_names(self.namespace, self.pg_path)
|
@@ -65,6 +65,9 @@ class Postgres(Command):
|
|
65
65
|
PostgresSession(state.namespace, state.pg_path).run_sql(' '.join(args))
|
66
66
|
|
67
67
|
def completion(self, state: ReplState):
|
68
|
+
if state.device != state.P:
|
69
|
+
return {}
|
70
|
+
|
68
71
|
leaf = {}
|
69
72
|
session = PostgresSession(state.namespace, state.pg_path)
|
70
73
|
if session.db:
|
@@ -3,8 +3,13 @@ import functools
|
|
3
3
|
from adam.commands.postgres.postgres_session import PostgresSession
|
4
4
|
from adam.config import Config
|
5
5
|
|
6
|
+
TestPG = [False]
|
7
|
+
|
6
8
|
@functools.lru_cache()
|
7
9
|
def pg_database_names(ns: str, pg_path: str):
|
10
|
+
if TestPG[0]:
|
11
|
+
return ['azops88_c3ai_c3']
|
12
|
+
|
8
13
|
Config().wait_log('Inspecting Postgres Databases...')
|
9
14
|
|
10
15
|
pg = PostgresSession(ns, pg_path)
|
@@ -12,6 +17,9 @@ def pg_database_names(ns: str, pg_path: str):
|
|
12
17
|
|
13
18
|
@functools.lru_cache()
|
14
19
|
def pg_table_names(ns: str, pg_path: str):
|
20
|
+
if TestPG[0]:
|
21
|
+
return ['C3_2_XYZ1']
|
22
|
+
|
15
23
|
Config().wait_log('Inspecting Postgres Database...')
|
16
24
|
return [table['name'] for table in pg_tables(ns, pg_path) if table['schema'] == PostgresSession.default_schema()]
|
17
25
|
|
adam/commands/preview_table.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
import functools
|
2
2
|
|
3
3
|
from adam.commands.command import Command
|
4
|
-
from adam.commands.
|
4
|
+
from adam.commands.cql.cql_table_completer import CqlTableCompleter
|
5
|
+
from adam.commands.cql.cql_utils import run_cql, table_names, tables
|
5
6
|
from adam.commands.postgres.pg_table_completer import PgTableCompleter
|
6
7
|
from adam.commands.postgres.postgres_session import PostgresSession
|
7
8
|
from adam.config import Config
|
@@ -72,11 +73,9 @@ class PreviewTable(Command):
|
|
72
73
|
|
73
74
|
def completion(self, state: ReplState):
|
74
75
|
if state.device == ReplState.P:
|
75
|
-
# return {PreviewTable.COMMAND: {f'<pg_tables:{state.namespace}:{state.pg_path}>': None}}
|
76
76
|
return {PreviewTable.COMMAND: PgTableCompleter(state.namespace, state.pg_path)}
|
77
77
|
elif state.sts:
|
78
|
-
|
79
|
-
return {PreviewTable.COMMAND: {f'{k}.{t}': None for k, ts in tables.items() for t in ts}}
|
78
|
+
return {PreviewTable.COMMAND: CqlTableCompleter(table_names(state))}
|
80
79
|
|
81
80
|
return {}
|
82
81
|
|
adam/config.py
CHANGED
adam/repl_commands.py
CHANGED
@@ -23,7 +23,7 @@ from adam.commands.bash import Bash
|
|
23
23
|
from adam.commands.cd import Cd
|
24
24
|
from adam.commands.check import Check
|
25
25
|
from adam.commands.command import Command
|
26
|
-
from adam.commands.cqlsh import Cqlsh
|
26
|
+
from adam.commands.cql.cqlsh import Cqlsh
|
27
27
|
from adam.commands.devices import DeviceApp, DeviceCass, DevicePostgres
|
28
28
|
from adam.commands.exit import Exit
|
29
29
|
from adam.commands.medusa.medusa import Medusa
|
adam/table_completer.py
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
from abc import abstractmethod
|
2
|
+
from typing import Any, Dict, Iterable, Mapping, Optional, Set, Union
|
3
|
+
from prompt_toolkit.completion import CompleteEvent, Completer, Completion, NestedCompleter, WordCompleter
|
4
|
+
from prompt_toolkit.document import Document
|
5
|
+
|
6
|
+
NestedDict = Mapping[str, Union[Any, Set[str], None, Completer]]
|
7
|
+
|
8
|
+
class TableCompleter(Completer):
|
9
|
+
def __init__(self, nested_dict: NestedDict = {}, ignore_case: bool = True):
|
10
|
+
self.ignore_case = ignore_case
|
11
|
+
self.append_nested_dict(nested_dict)
|
12
|
+
|
13
|
+
def append_nested_dict(self, data: NestedDict) -> "TableCompleter":
|
14
|
+
options: Dict[str, Optional[Completer]] = {}
|
15
|
+
for key, value in data.items():
|
16
|
+
if isinstance(value, Completer):
|
17
|
+
options[key] = value
|
18
|
+
elif isinstance(value, dict):
|
19
|
+
options[key] = NestedCompleter.from_nested_dict(value)
|
20
|
+
elif isinstance(value, set):
|
21
|
+
options[key] = NestedCompleter.from_nested_dict({item: None for item in value})
|
22
|
+
else:
|
23
|
+
assert value is None
|
24
|
+
options[key] = None
|
25
|
+
|
26
|
+
self.options = options
|
27
|
+
|
28
|
+
return self
|
29
|
+
|
30
|
+
def get_completions(
|
31
|
+
self, document: Document, complete_event: CompleteEvent
|
32
|
+
) -> Iterable[Completion]:
|
33
|
+
text = document.text_before_cursor.lstrip()
|
34
|
+
stripped_len = len(document.text_before_cursor) - len(text)
|
35
|
+
|
36
|
+
if " " in text:
|
37
|
+
second_term = None
|
38
|
+
tokens = text.split()
|
39
|
+
if len(tokens) > 1:
|
40
|
+
second_term = tokens[1]
|
41
|
+
|
42
|
+
yielded = False
|
43
|
+
if second_term:
|
44
|
+
completer = self.options.get(second_term)
|
45
|
+
|
46
|
+
if completer is not None:
|
47
|
+
first_term = tokens[0]
|
48
|
+
remaining_text = text[len(first_term) :].lstrip()
|
49
|
+
move_cursor = len(text) - len(remaining_text) + stripped_len
|
50
|
+
|
51
|
+
remaining_text = remaining_text[len(second_term) :].lstrip()
|
52
|
+
move_cursor = len(text) - len(remaining_text) + stripped_len
|
53
|
+
|
54
|
+
new_document = Document(
|
55
|
+
remaining_text,
|
56
|
+
cursor_position=document.cursor_position - move_cursor,
|
57
|
+
)
|
58
|
+
|
59
|
+
for c in completer.get_completions(new_document, complete_event):
|
60
|
+
yield c
|
61
|
+
yielded = True
|
62
|
+
|
63
|
+
if not yielded:
|
64
|
+
completer = WordCompleter(
|
65
|
+
list(self.options.keys()), ignore_case=self.ignore_case
|
66
|
+
)
|
67
|
+
for c in completer.get_completions(document, complete_event):
|
68
|
+
yield c
|
69
|
+
else:
|
70
|
+
completer = WordCompleter(
|
71
|
+
self.tables(), ignore_case=self.ignore_case
|
72
|
+
)
|
73
|
+
for c in completer.get_completions(document, complete_event):
|
74
|
+
yield c
|
75
|
+
|
76
|
+
@abstractmethod
|
77
|
+
def nested(self, data: NestedDict) -> 'TableCompleter':
|
78
|
+
pass
|
79
|
+
|
80
|
+
@abstractmethod
|
81
|
+
def tables(self) -> list[str]:
|
82
|
+
pass
|
83
|
+
|
84
|
+
def completions(self):
|
85
|
+
return {
|
86
|
+
'delete': {'from': self.nested({'where': {'id': {'=': {"'id'": None}}}})},
|
87
|
+
'insert': {'into': self.nested({'values(': None})},
|
88
|
+
'select': {'*': {'from': self.nested({
|
89
|
+
'limit': {'1': {'where': {'id': {'=': {"'id'": None}}}}},
|
90
|
+
'where': {'id': {'=': {"'id'": {'limit': {'1': None}}}}}
|
91
|
+
})}},
|
92
|
+
'update': self.nested({'set': {'column': {'=': None}}}),
|
93
|
+
}
|
adam/version.py
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
adam/__init__.py,sha256=oVw1FNd9HZPJ7wm6BNn5ybyNGJLjJ8kopMeBiwgMaOI,59
|
2
2
|
adam/app_session.py,sha256=Klypm4JYHOlovaRCHAZ2P_Mj_nheMlcQgX403R0TJGk,6969
|
3
3
|
adam/apps.py,sha256=UTpUJBAMRFvR8kJZwileGC0UmPvsOjJ_AgvWoGmnIFI,6701
|
4
|
-
adam/batch.py,sha256=
|
4
|
+
adam/batch.py,sha256=F2FmdYj9bgNAIwT_L9ugafVCBj7j45IHNtbzF3b3zjg,24507
|
5
5
|
adam/cli.py,sha256=03pIZdomAu7IL-GSP6Eun_PKwwISShRAmfx6eVRPGC0,458
|
6
6
|
adam/cli_group.py,sha256=W3zy1BghCtVcEXizq8fBH-93ZRVVwgAyGPzy0sHno1Y,593
|
7
|
-
adam/config.py,sha256=
|
7
|
+
adam/config.py,sha256=hDxd86MbKVVKoHhTT077L3YRKYcr0i6xVADLlnoE684,2818
|
8
8
|
adam/embedded_apps.py,sha256=lKPx63mKzJbNmwz0rgL4gF76M9fDGxraYTtNAIGnZ_s,419
|
9
9
|
adam/embedded_params.py,sha256=_9tBKpkSzBfzm-s3tUgZs8DcSVBnPA1iumG0ZRCbZIs,4586
|
10
10
|
adam/log.py,sha256=gg5DK52wLPc9cjykeh0WFHyAk1qI3HEpGaAK8W2dzXY,1146
|
11
11
|
adam/pod_exec_result.py,sha256=nq0xnCNOpUGBSijGF0H-YNrwBc9vUQs4DkvLMIFS5LQ,951
|
12
12
|
adam/repl.py,sha256=X9ga1iZFIXADQxBXvztFyVNBrfBRxiFLxTUYkm11img,7328
|
13
|
-
adam/repl_commands.py,sha256=
|
13
|
+
adam/repl_commands.py,sha256=WA90Rl27Juctzr3U3kfCDk5N-oYMKlfWbZeafUgk7k0,4723
|
14
14
|
adam/repl_session.py,sha256=uIogcvWBh7wd8QQ-p_JgLsyJ8YJgINw5vOd6JIsd7Vo,472
|
15
15
|
adam/repl_state.py,sha256=591d7gV6uQSFtm7IWdlIYAHjfAzs9bdvIkwlIAeKddE,7540
|
16
|
+
adam/table_completer.py,sha256=6lOSusLCbmILJfERRNxOIgVp-8GrmJf4rQ_pchZbceg,3569
|
16
17
|
adam/utils.py,sha256=2DoWsrcaioFFH0-RjT30qelVRPUJqCGTfz_ucfE7F8g,7406
|
17
|
-
adam/version.py,sha256=
|
18
|
+
adam/version.py,sha256=yZ-JQgru1WpJO6wYfsHtZ05JFJ6_oRFLc_ltDuD5KEI,139
|
18
19
|
adam/checks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
20
|
adam/checks/check.py,sha256=Qopr3huYcMu2bzQgb99dEUYjFzkjKHRI76S6KA9b9Rk,702
|
20
21
|
adam/checks/check_context.py,sha256=FEHkQ32jY1EDopQ2uYWqy9v7aEEX1orLpJWhopwAlh4,402
|
@@ -47,7 +48,7 @@ adam/columns/pod_name.py,sha256=IYw0ZKA7Fb9LaGXENqzZTiTgL98tahwFRtfy0KkKh2Q,280
|
|
47
48
|
adam/columns/volume_cassandra.py,sha256=9KRNOzjNYganI9avN6zaA5_-7yxD4rV-KNxro9CSUg4,753
|
48
49
|
adam/columns/volume_root.py,sha256=29ujLoCAf9LO75u62LxEaPD58s6ihV-tcK17OeLSOM0,556
|
49
50
|
adam/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
|
-
adam/commands/alter_tables.py,sha256=
|
51
|
+
adam/commands/alter_tables.py,sha256=Q5vXHE4_1_6v6wtYwqST7_QwpXINb1xq0Sm448Z2Y7Q,3582
|
51
52
|
adam/commands/app.py,sha256=7alV8wK801t67_rUe6EmhtHJTl-6K7fGCm6Uz1dDgpM,1963
|
52
53
|
adam/commands/app_ping.py,sha256=Xk7cfefphXM2w-UvpnhNUTZ3BU38f0deehUb2FEyLCI,1337
|
53
54
|
adam/commands/bash.py,sha256=1O9cCl9JHQdttqNAgdB44rO0NjCqHzHv4psAEQMJcjw,2714
|
@@ -58,26 +59,29 @@ adam/commands/command.py,sha256=Ph7IduCTGQ04dcwNegl1ekYbqCzOwAOYeWZVIRWnKyU,3958
|
|
58
59
|
adam/commands/command_helpers.py,sha256=leOJJK1UXczNTJHN9TGMCbIpUpmpreULvQ-TvnsYS7w,1134
|
59
60
|
adam/commands/commands_utils.py,sha256=ShUcxtDSd9B3NM0GDj3NBvKdmjCGY8qXgeUJpzNF63E,3122
|
60
61
|
adam/commands/cp.py,sha256=dyQViRDPNqsKRkxPb7WyEVIBNw7YB6IfYa2q3VtfzyA,3107
|
61
|
-
adam/commands/cql_utils.py,sha256=q5hzAUVh7h8iVVH2s0M4E76zWqaMUDXULMn412mfHII,3893
|
62
|
-
adam/commands/cqlsh.py,sha256=PknA1I13E4L6leSq6TC3fsyJw_bugo6376q0FE0Ufz0,3088
|
63
62
|
adam/commands/devices.py,sha256=_f8j6aQzTL8_pFlWYawRuG2Ju1zPjYSPcRIlLnZng10,2397
|
64
63
|
adam/commands/exit.py,sha256=5MWUAmzYBlsrp0CoiTDB13SUkX9Ya18UlGeOIPia6TA,798
|
65
64
|
adam/commands/help.py,sha256=Ey3R1X8w_CMhdADI0t8dSQ28euhDHheJm7NermiGni4,1645
|
66
65
|
adam/commands/issues.py,sha256=VS-PC7e-2lywsa-lbmoUX8IY77OPGzFudwbw1g8XmQc,2599
|
67
66
|
adam/commands/login.py,sha256=bj95WWIF7mJDJhnyS9T8xvaZUGL37dj7GlH8TgmODbk,1877
|
68
67
|
adam/commands/logs.py,sha256=T-O9DYXmWEm4G1I5SM6MwyeRwq2aT-WMqNW0XA2MWmo,1165
|
69
|
-
adam/commands/ls.py,sha256=
|
68
|
+
adam/commands/ls.py,sha256=ZOhY_vEjOEbvI5n8c9ha-SqmJwK2b7sF94G1gDoQ5Y0,5576
|
70
69
|
adam/commands/nodetool.py,sha256=HV9yDzMhRjS4lw6UfV7Hc1pcmeSx5a1jU6cAEKSZ1Bg,2334
|
71
70
|
adam/commands/nodetool_commands.py,sha256=5IgWC3rmeDD1cgwqQjiiWzi-wJpJ3n_8pAzz_9phXuk,2635
|
72
71
|
adam/commands/param_get.py,sha256=kPAAppK2T0tEFRnSIVFLDPIIGHhgLA7drJhn8TRyvvE,1305
|
73
72
|
adam/commands/param_set.py,sha256=QDIuqfU80aWCB16OK49yf7XRaRTWwiLkwMsJuVikq9I,1271
|
74
|
-
adam/commands/preview_table.py,sha256=
|
73
|
+
adam/commands/preview_table.py,sha256=T70GQULpoxBQWppGlMKpqjJiBTmCVlArTSuPf1hHh9c,3046
|
75
74
|
adam/commands/pwd.py,sha256=VlgFjxFl66I7Df1YI6cuiEeY6Q13lEavMKfrzHLESKo,2340
|
76
75
|
adam/commands/report.py,sha256=Ky45LIzSlB_X4V12JZWjU3SA2u4_FKRencRTq7psOWU,1944
|
77
76
|
adam/commands/restart.py,sha256=Hik1t5rjH2ATZv4tzwrGB3e44b3dNuATgY327_Nb8Bs,2044
|
78
77
|
adam/commands/rollout.py,sha256=52_4ijna3v-8Oug12et43DRHFDNhiN34p6xLTQmhdbQ,2959
|
79
78
|
adam/commands/shell.py,sha256=wY_PIx7Lt6vuxhFArlfxdEnBbrouCJ3yNHhFn17DEqw,848
|
80
79
|
adam/commands/watch.py,sha256=mmBFpB8T1V7zrNs5b2YNyDDztMym_ILPDdkrbdAXTas,2438
|
80
|
+
adam/commands/cql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
81
|
+
adam/commands/cql/cql_completions.py,sha256=stgjuB7iAXKY2F6vM5bkOrNuJF9zmTziNEd9dyA5fpE,442
|
82
|
+
adam/commands/cql/cql_table_completer.py,sha256=6kvKatvKDW4qL2auZDjH050CKlV3lSmTSV4lvcEnpMo,604
|
83
|
+
adam/commands/cql/cql_utils.py,sha256=q5hzAUVh7h8iVVH2s0M4E76zWqaMUDXULMn412mfHII,3893
|
84
|
+
adam/commands/cql/cqlsh.py,sha256=mIoF8S33DAOFhkJrITRR4rkxFGVznD5hDb_Y-LsZA2w,2615
|
81
85
|
adam/commands/deploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
82
86
|
adam/commands/deploy/code_start.py,sha256=-iH8HThTNM83IfBxT_LqTByuHVatV9d-Il4OYOfrwLI,1370
|
83
87
|
adam/commands/deploy/code_stop.py,sha256=ch7ZMgosvTHsGaIcDwQY5XYh_5HYrUjBkZFOI-d2gOU,1696
|
@@ -93,10 +97,10 @@ adam/commands/deploy/undeploy_pg_agent.py,sha256=RYME8no1FT94WpVg-HXDGL1NmLlpE1I
|
|
93
97
|
adam/commands/deploy/undeploy_pod.py,sha256=hTcL8cAh7xYPcSm9sgiVFCxPh3SskefBfTmla310oUA,1905
|
94
98
|
adam/commands/describe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
95
99
|
adam/commands/describe/describe.py,sha256=isRQ1z3lrFtaSkeWPndLGvaIbZivlBxI8D1X8ywNe1E,1510
|
96
|
-
adam/commands/describe/describe_keyspace.py,sha256=
|
97
|
-
adam/commands/describe/describe_keyspaces.py,sha256=
|
98
|
-
adam/commands/describe/describe_table.py,sha256=
|
99
|
-
adam/commands/describe/describe_tables.py,sha256=
|
100
|
+
adam/commands/describe/describe_keyspace.py,sha256=ug2xqddB-2VST8PdlEIc_tLE-8dqe2GMQk30t68ymm0,1931
|
101
|
+
adam/commands/describe/describe_keyspaces.py,sha256=P3AbUIxm-KiuM98DjK7I2MGjj8bjZwOm5qN1-Y4tHzA,1578
|
102
|
+
adam/commands/describe/describe_table.py,sha256=k4cbVkHkpCuFD3grne58sDPFZFG7e21DWtxAg2b_uUw,1887
|
103
|
+
adam/commands/describe/describe_tables.py,sha256=vIs4lKz4nHBJumOlR4wBhR1QxXTFqzXCq-DNOO04CVE,1557
|
100
104
|
adam/commands/medusa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
101
105
|
adam/commands/medusa/medusa.py,sha256=KNFjStvilIuOJt3wTtcWmKvdm8FdCnrDY2ltEWbratk,1402
|
102
106
|
adam/commands/medusa/medusa_backup.py,sha256=j4DTVWFT-4rzs4gG_pBvjE-JuPsVCJIsnyQjIzJ4EbA,1801
|
@@ -104,13 +108,13 @@ adam/commands/medusa/medusa_restore.py,sha256=MU47bmozrjfGJ6GVkj_OVgLH6Uz_fGh03M
|
|
104
108
|
adam/commands/medusa/medusa_show_backupjobs.py,sha256=QekHpKezVJdgfa9hOxfgyx-y4D08tmHzyu_AAa8QPR0,1756
|
105
109
|
adam/commands/medusa/medusa_show_restorejobs.py,sha256=wgPonSmC6buDIp3k3WUY-Yu2MyP1xyE3Q_XhvAwpnx4,1651
|
106
110
|
adam/commands/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
|
-
adam/commands/postgres/pg_completions.py,sha256=
|
108
|
-
adam/commands/postgres/pg_table_completer.py,sha256=
|
109
|
-
adam/commands/postgres/postgres.py,sha256=
|
111
|
+
adam/commands/postgres/pg_completions.py,sha256=GteenLhrBlRXMKQLSqM-6SmNZEFXY8wZ4CQWkz091OI,260
|
112
|
+
adam/commands/postgres/pg_table_completer.py,sha256=f5YLFcmC2e1_sb_Kl5T5OZ6b8I-kjE5Lf4_BWH392qM,784
|
113
|
+
adam/commands/postgres/postgres.py,sha256=A2mGzvyuCLFFTSKL74_RUcnJ0fI8wkkUukwmx2sF0as,3091
|
110
114
|
adam/commands/postgres/postgres_ls.py,sha256=HwZTgwGKXUqHX33S8aQPF6FqCrLqtoz4cLyJV2SpoE0,1186
|
111
115
|
adam/commands/postgres/postgres_preview.py,sha256=MLzdEc4mvNj6V1Q8jO5OPznXyYELJHgd35_eQgLlNIU,1274
|
112
116
|
adam/commands/postgres/postgres_session.py,sha256=RcqkCgtA78M-9LKTwG6pp8n9JwjmURXgf1FknIIPl9g,9305
|
113
|
-
adam/commands/postgres/postgres_utils.py,sha256=
|
117
|
+
adam/commands/postgres/postgres_utils.py,sha256=mC5PZXrfxzqZt6n_HYASwe6Y-OyAK3QwEtDeVb_TKrA,877
|
114
118
|
adam/commands/reaper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
119
|
adam/commands/reaper/reaper.py,sha256=83R0ZRitEwaYKKssfKxn3zAzLnWIP9QKd1mA6awceS8,1908
|
116
120
|
adam/commands/reaper/reaper_forward.py,sha256=mUp409MzT91cVXGxoPfBGceaR3qZ0rVdWKGdyzPNzSA,3177
|
@@ -170,8 +174,8 @@ adam/sso/idp.py,sha256=fvcwUw_URTgsO6ySaqTIw0zQT2qRO1IPSGhf6rPtybo,5804
|
|
170
174
|
adam/sso/idp_login.py,sha256=QAtCUeDTVWliJy40RK_oac8Vgybr13xH8wzeBoxPaa8,1754
|
171
175
|
adam/sso/idp_session.py,sha256=9BUHNRf70u4rVKrVY1HKPOEmOviXvkjam8WJxmXSKIM,1735
|
172
176
|
adam/sso/sso_config.py,sha256=5N8WZgIJQBtHUy585XLRWKjpU87_v6QluyNK9E27D5s,2459
|
173
|
-
kaqing-2.0.
|
174
|
-
kaqing-2.0.
|
175
|
-
kaqing-2.0.
|
176
|
-
kaqing-2.0.
|
177
|
-
kaqing-2.0.
|
177
|
+
kaqing-2.0.49.dist-info/METADATA,sha256=wtMivpLn3FjaPqvRL1TCEzPNjhNlB9SwDJNUH3Wb0CI,132
|
178
|
+
kaqing-2.0.49.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
179
|
+
kaqing-2.0.49.dist-info/entry_points.txt,sha256=SkzhuQJUWsXOzHeZ5TgQ2c3_g53UGK23zzJU_JTZOZI,39
|
180
|
+
kaqing-2.0.49.dist-info/top_level.txt,sha256=8_2PZkwBb-xDcnc8a2rAbQeJhXKXskc7zTP7pSPa1fw,5
|
181
|
+
kaqing-2.0.49.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|