kaqing 2.0.62__tar.gz → 2.0.64__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.
- {kaqing-2.0.62 → kaqing-2.0.64}/PKG-INFO +1 -1
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sql/sql_completer.py +28 -5
- kaqing-2.0.64/adam/version.py +5 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/kaqing.egg-info/PKG-INFO +1 -1
- {kaqing-2.0.62 → kaqing-2.0.64}/setup.py +1 -1
- kaqing-2.0.62/adam/version.py +0 -5
- {kaqing-2.0.62 → kaqing-2.0.64}/README +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/app_session.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/apps.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/batch.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/check.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/check_context.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/check_result.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/check_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/compactionstats.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/cpu.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/disk.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/gossip.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/issue.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/memory.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/checks/status.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/cli.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/cli_group.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/column.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/columns.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/compactions.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/cpu.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/dir_data.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/dir_snapshots.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/gossip.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/host_id.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/memory.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/node_address.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/node_load.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/node_owns.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/node_status.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/node_tokens.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/node_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/pod_name.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/volume_cassandra.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/columns/volume_root.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/alter_tables.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/app.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/app_ping.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/bash.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cd.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/check.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cli_commands.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/command.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/command_helpers.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/commands_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cp.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cql/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cql/cql_completions.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cql/cql_table_completer.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cql/cql_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/cql/cqlsh.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/code_start.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/code_stop.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/code_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/deploy.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/deploy_frontend.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/deploy_pg_agent.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/deploy_pod.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/deploy_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/undeploy.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/undeploy_frontend.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/undeploy_pg_agent.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/deploy/undeploy_pod.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/describe/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/describe/describe.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/describe/describe_keyspace.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/describe/describe_keyspaces.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/describe/describe_table.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/describe/describe_tables.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/devices.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/exit.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/help.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/issues.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/login.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/logs.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/ls.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/medusa/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/medusa/medusa.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/medusa/medusa_backup.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/medusa/medusa_restore.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/medusa/medusa_show_backupjobs.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/medusa/medusa_show_restorejobs.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/nodetool.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/nodetool_commands.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/param_get.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/param_set.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/postgres.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/postgres_ls.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/postgres_preview.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/postgres_session.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/postgres_utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/psql_completions.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/postgres/psql_table_completer.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/preview_table.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/pwd.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_forward.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_forward_stop.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_restart.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_run_abort.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_runs.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_runs_abort.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_schedule_activate.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_schedule_start.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_schedule_stop.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_schedules.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_session.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/reaper/reaper_status.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/repair/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/repair/repair.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/repair/repair_log.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/repair/repair_run.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/repair/repair_scan.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/repair/repair_stop.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/report.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/restart.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/rollout.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/shell.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_adam.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_app_actions.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_app_id.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_app_queues.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_cassandra_status.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_cassandra_version.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_commands.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_login.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_params.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_processes.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_repairs.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/show/show_storage.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/commands/watch.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/config.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/embedded_apps.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/embedded_params.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/cassandra_clusters.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/cassandra_nodes.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/config_maps.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/custom_resources.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/deployment.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/ingresses.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/jobs.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/kube_context.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/pods.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/secrets.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/service_accounts.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/services.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/statefulsets.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/k8s_utils/volumes.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/log.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/pod_exec_result.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/repl.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/repl_commands.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/repl_session.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/repl_state.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sql/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sql/term_completer.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/__init__.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/authenticator.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/authn_ad.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/authn_okta.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/cred_cache.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/id_token.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/idp.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/idp_login.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/idp_session.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/sso/sso_config.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/adam/utils.py +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/kaqing.egg-info/SOURCES.txt +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/kaqing.egg-info/dependency_links.txt +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/kaqing.egg-info/entry_points.txt +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/kaqing.egg-info/top_level.txt +0 -0
- {kaqing-2.0.62 → kaqing-2.0.64}/setup.cfg +0 -0
@@ -215,7 +215,7 @@ class SqlCompleter(Completer):
|
|
215
215
|
'- > full outer join > select_join',
|
216
216
|
'select_from_x_as_ > name > select_from_x_as_x ^ x,y,z',
|
217
217
|
'select_from_x_as_x > , > select_from_x_as_x_comma_',
|
218
|
-
'select_from_x_as_x_comma_ > name >
|
218
|
+
'select_from_x_as_x_comma_ > name > select_from_x ^ tables',
|
219
219
|
'select_where_ > name > select_where_a ^ id,x.,y.,z.',
|
220
220
|
'select_where_a > comparison > select_where_a_op ^ =,<,<=,>,>=,<>,like,not,in',
|
221
221
|
'select_where_a_ > comparison > select_where_a_op ^ =,<,<=,>,>=,<>,like,not,in',
|
@@ -251,7 +251,10 @@ class SqlCompleter(Completer):
|
|
251
251
|
'select_from_x_full_ > join > select_join ^ outer join',
|
252
252
|
'- > outer > select_from_x_full_outer',
|
253
253
|
'select_from_x_full_outer_ > join > select_join ^ join',
|
254
|
-
'select_x_join_y_ >
|
254
|
+
'select_x_join_y_ > as > select_x_join_y_as ^ as,on',
|
255
|
+
'- > on > select_x_join_y_on ^ as,on',
|
256
|
+
'select_x_join_y_as_ > name > select_x_join_y_as_y ^ x,y,z',
|
257
|
+
'select_x_join_y_as_y_ > on > select_x_join_y_on ^ on',
|
255
258
|
'select_x_join_y_on_ > name > select_x_join_y_on_a ^ id,x.,y.,z.',
|
256
259
|
'select_x_join_y_on_a > comparison > select_x_join_y_on_a_op ^ =',
|
257
260
|
'select_x_join_y_on_a_op > name > select_x_join_y_on_a_op_b ^ id,x.,y.,z.',
|
@@ -289,6 +292,16 @@ class SqlCompleter(Completer):
|
|
289
292
|
'update_where_ > name > update_where_a ^ id',
|
290
293
|
'update_where_a > comparison > update_where_a_op',
|
291
294
|
'update_where_a_ > comparison > update_where_a_op ^ =,<,<=,>,>=,<>,like,not,in',
|
295
|
+
'- > not > update_where_a_not',
|
296
|
+
'- > in > update_where_a_in',
|
297
|
+
'update_where_a_not_ > comparison > update_where_a_not_op ^ like,in',
|
298
|
+
'- > in > update_where_a_in',
|
299
|
+
'update_where_a_in > ( > update_where_a_in_lp_ ^ (',
|
300
|
+
'update_where_a_in_lp_ > name|single|num > update_where_a_in_lp_a ^ single',
|
301
|
+
'update_where_a_in_lp_a > , > update_where_a_in_lp_a_comma_ ^ comma,)',
|
302
|
+
'- > ) > update_where_sc',
|
303
|
+
'update_where_a_in_lp_a_comma_ > name|single|num > update_where_a_in_lp_a ^ single',
|
304
|
+
'update_where_a_not_op > name|single|num > update_where_sc ^ single',
|
292
305
|
'update_where_a_op > name|single|num > update_where_sc ^ single',
|
293
306
|
'update_where_sc_ > and|or > update_where ^ and,or',
|
294
307
|
|
@@ -299,11 +312,21 @@ class SqlCompleter(Completer):
|
|
299
312
|
'delete_from_x_ > where > delete_where ^ where',
|
300
313
|
'delete_where_ > name > delete_where_a ^ id',
|
301
314
|
'delete_where_a > comparison > delete_where_a_op ^ =,<,<=,>,>=,<>,like,not,in',
|
315
|
+
'- > not > delete_where_a_not',
|
316
|
+
'- > in > delete_where_a_in',
|
317
|
+
'delete_where_a_not_ > comparison > delete_where_a_not_op ^ like,in',
|
318
|
+
'- > in > delete_where_a_in',
|
319
|
+
'delete_where_a_in > ( > delete_where_a_in_lp_ ^ (',
|
320
|
+
'delete_where_a_in_lp_ > name|single|num > delete_where_a_in_lp_a ^ single',
|
321
|
+
'delete_where_a_in_lp_a > , > delete_where_a_in_lp_a_comma_ ^ comma,)',
|
322
|
+
'- > ) > delete_where_sc',
|
323
|
+
'delete_where_a_in_lp_a_comma_ > name|single|num > delete_where_a_in_lp_a ^ single',
|
324
|
+
'delete_where_a_not_op > name|single|num > delete_where_sc ^ single',
|
302
325
|
'delete_where_a_op > name|single|num > delete_where_sc ^ single',
|
303
326
|
'delete_where_sc_ > and|or > delete_where ^ and,or',
|
304
327
|
]
|
305
328
|
|
306
|
-
def
|
329
|
+
def add_whitespace_transition(from_s: str):
|
307
330
|
# add whitespace transition if a state with trailing whitespace is found from from states, for example, select > _ > select_
|
308
331
|
if from_s.endswith('_') and not from_s.endswith('_comma_') and not from_s.endswith('_lp_') and not from_s.endswith('_rp_'):
|
309
332
|
if self.debug:
|
@@ -346,7 +369,7 @@ class SqlCompleter(Completer):
|
|
346
369
|
|
347
370
|
if len(tks) == 1:
|
348
371
|
from_s = tks[0].strip(' ')
|
349
|
-
|
372
|
+
add_whitespace_transition(from_s)
|
350
373
|
from_ss_to_add.append(f'{from_s}')
|
351
374
|
continue
|
352
375
|
|
@@ -355,7 +378,7 @@ class SqlCompleter(Completer):
|
|
355
378
|
from_ss_to_add = []
|
356
379
|
from_ss.append(tks[0].strip(' '))
|
357
380
|
for from_s in from_ss:
|
358
|
-
|
381
|
+
add_whitespace_transition(from_s)
|
359
382
|
token = tks[1].strip(' ')
|
360
383
|
tokens = [token]
|
361
384
|
if len(tks) > 2:
|
kaqing-2.0.62/adam/version.py
DELETED
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
File without changes
|
File without changes
|