Coverage for mindsdb / integrations / handlers / pinot_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 Pinot cluster.'
10 },
11 broker_port={
12 'type': ARG_TYPE.INT,
13 'description': 'The port that the Broker of the Apache Pinot cluster is running on.'
14 },
15 controller_port={
16 'type': ARG_TYPE.INT,
17 'description': 'The port that the Controller of the Apache Pinot cluster is running on.'
18 },
19 path={
20 'type': ARG_TYPE.STR,
21 'description': 'The query path.'
22 },
23 scheme={
24 'type': ARG_TYPE.STR,
25 'description': 'The URI schema. This parameter is optional and the default will be https.'
26 },
27 username={
28 'type': ARG_TYPE.STR,
29 'description': 'The user name used to authenticate with the Apache Pinot cluster. This parameter is optional.'
30 },
31 password={
32 'type': ARG_TYPE.PWD,
33 'description': 'The password used to authenticate with the Apache Pinot cluster. This parameter is optional.',
34 'secret': True
35 },
36 verify_ssl={
37 'type': ARG_TYPE.STR,
38 'description': 'The flag for whether SSL certificates should be verified or not. This parameter is optional and '
39 'if specified, it should be either True or False'
40 },
41)
43connection_args_example = OrderedDict(
44 host='localhost',
45 broker_port=8000,
46 controller_port=9000,
47 path='/query/sql',
48 scheme='http'
49)