Coverage for mindsdb / integrations / handlers / scylla_handler / connection_args.py: 0%
3 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-21 00:36 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-21 00:36 +0000
1from collections import OrderedDict
3from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE as ARG_TYPE
6connection_args = OrderedDict(
7 user={
8 'type': ARG_TYPE.STR,
9 'description': 'User name',
10 'required': True,
11 'label': 'User'
12 },
13 password={
14 'type': ARG_TYPE.PWD,
15 'description': 'Password',
16 'required': True,
17 'label': 'Password',
18 'secret': True
19 },
20 protocol_version={
21 'type': ARG_TYPE.INT,
22 'description': 'is not required, and default to 4.',
23 'required': False,
24 'label': 'Protocol version'
25 },
26 host={
27 'type': ARG_TYPE.STR,
28 'description': ' is the host name or IP address of the ScyllaDB.',
29 'required': True,
30 'label': 'Host'
31 },
32 port={
33 'type': ARG_TYPE.INT,
34 'description': 'Server port',
35 'required': True,
36 'label': 'Port'
37 },
38 keyspace={
39 'type': ARG_TYPE.STR,
40 'description': 'is the keyspace to connect to. It is a top level container for tables.',
41 'required': True,
42 'label': 'Keyspace'
43 },
44 secure_connect_bundle={
45 'type': ARG_TYPE.STR,
46 'description': 'Path or URL to the secure connect bundle',
47 'required': True,
48 'label': 'Host'
49 }
50)