Coverage for mindsdb / integrations / handlers / ignite_handler / connection_args.py: 0%
4 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 host={
8 'type': ARG_TYPE.STR,
9 'description': "The host name or IP address of the Apache Ignite cluster's node.",
10 'required': True,
11 'label': 'Host'
12 },
13 port={
14 'type': ARG_TYPE.INT,
15 'description': "The TCP/IP port of the Apache Ignite cluster's node. Must be an integer.",
16 'required': True,
17 'label': 'Port'
18 },
19 username={
20 'type': ARG_TYPE.STR,
21 'description': 'The user name used to authenticate with the Apache Ignite cluster. This parameter is optional. Default: None.',
22 'required': True,
23 'label': 'User'
24 },
25 password={
26 'type': ARG_TYPE.PWD,
27 'description': 'The password to authenticate the user with the Apache Ignite cluster. This parameter is optional. Default: None.',
28 'required': True,
29 'label': 'Password',
30 'secret': True
31 },
32 schema={
33 'type': ARG_TYPE.STR,
34 'description': 'Schema to use for the connection to the Apache Ignite cluster. This parameter is optional. Default: PUBLIC.',
35 'required': True,
36 'label': 'Schema'
37 }
38)
40connection_args_example = OrderedDict(
41 host='127.0.0.1',
42 port='10800',
43 username='root',
44 password='password',
45 schema='schema'
46)