Coverage for mindsdb / integrations / handlers / empress_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 Empress Embedded server.'
10 },
11 port={
12 'type': ARG_TYPE.INT,
13 'description': 'Specify port to connect to Empress Embedded server'
14 },
15 user={
16 'type': ARG_TYPE.STR,
17 'description': 'The user name used to authenticate with the Empress Embedded server.'
18 },
19 password={
20 'type': ARG_TYPE.PWD,
21 'description': 'The password to authenticate the user with the Empress Embedded server.',
22 'secret': True
23 },
24 server={
25 'type': ARG_TYPE.STR,
26 'description': 'The server name used to authenticate with the Empress Embedded server.'
27 },
28 database={
29 'type': ARG_TYPE.STR,
30 'description': 'Specify database name to connect Empress Embedded server'
31 },
33)
35connection_args_example = OrderedDict(
36 host='localhost',
37 port=6322,
38 user='admin',
39 password='password',
40 server='test',
41 database='test_db'
42)