Coverage for mindsdb / integrations / handlers / gong_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 api_key={
8 "type": ARG_TYPE.PWD,
9 "description": "Gong API key for authentication.",
10 "secret": True,
11 "required": False,
12 "label": "API Key",
13 },
14 # Basic Authentication with Access Key + Secret Key (Option 2)
15 access_key={
16 "type": ARG_TYPE.STR,
17 "description": "Gong Access Key for basic authentication (if not using OAuth).",
18 "secret": True,
19 "required": False,
20 "label": "Access Key",
21 },
22 secret_key={
23 "type": ARG_TYPE.PWD,
24 "description": "Gong Secret Key for basic authentication (if not using OAuth).",
25 "secret": True,
26 "required": False,
27 "label": "Secret Key",
28 },
29 base_url={
30 "type": ARG_TYPE.STR,
31 "description": "Gong API base URL (optional, defaults to production).",
32 "required": False,
33 "label": "Base URL",
34 },
35)
37connection_args_example = OrderedDict(api_key="your_gong_api_key_here", base_url="https://api.gong.io")