Coverage for mindsdb / integrations / handlers / dremio_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 Dremio server.'
10 },
11 port={
12 'type': ARG_TYPE.INT,
13 'description': 'The port that Dremio is running on.'
14 },
15 username={
16 'type': ARG_TYPE.STR,
17 'description': 'The username used to authenticate with the Dremio server.'
18 },
19 password={
20 'type': ARG_TYPE.PWD,
21 'description': 'The password to authenticate the user with the Dremio server.',
22 'secret': True
23 }
24)
26connection_args_example = OrderedDict(
27 host='localhost',
28 database=9047,
29 username='admin',
30 password='password'
31)