Coverage for mindsdb / integrations / handlers / vertica_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 user={
8 'type': ARG_TYPE.STR,
9 'description': 'The user name used to authenticate with the Vertica server.'
10 },
11 password={
12 'type': ARG_TYPE.PWD,
13 'description': 'The password to authenticate the user with the VERTICA server.',
14 'secret': True
15 },
16 database={
17 'type': ARG_TYPE.STR,
18 'description': 'The database name to use when connecting with the VERTICA server.'
19 },
20 host={
21 'type': ARG_TYPE.STR,
22 'description': 'The host name or IP address of the VERTICA server. NOTE: use \'127.0.0.1\' instead of \'localhost\' to connect to local server.'
23 },
24 port={
25 'type': ARG_TYPE.INT,
26 'description': 'The TCP/IP port of the VERTICA server. Must be an integer.'
27 },
28 schema_name={
29 'type': ARG_TYPE.STR,
30 'description': 'Table are listed according to schema name (it is optional). Note: Default value is "public"'
31 }
32)
34connection_args_example = OrderedDict(
35 host='127.0.0.1',
36 port=5433,
37 user='root',
38 password='password',
39 database='database',
40 schema_name='xyz'
41)