Coverage for mindsdb / integrations / handlers / hubspot_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
5connection_args = OrderedDict(
6 access_token={
7 "type": ARG_TYPE.STR,
8 "description": "The access token for the HubSpot API. Required for direct access token authentication.",
9 "required": False,
10 "label": "Access Token",
11 },
12 client_id={
13 "type": ARG_TYPE.STR,
14 "description": "The client ID (consumer key) from your HubSpot app for OAuth authentication.",
15 "required": False,
16 "label": "Client ID",
17 },
18 client_secret={
19 "type": ARG_TYPE.PWD,
20 "description": "The client secret (consumer secret) from your HubSpot app for OAuth authentication.",
21 "secret": True,
22 "required": False,
23 "label": "Client Secret",
24 },
25)
27connection_args_example = OrderedDict(
28 access_token="your_access_token", client_id="your_client_id", client_secret="your_client_secret"
29)