Coverage for mindsdb / integrations / handlers / shopify_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 shop_url={
8 "type": ARG_TYPE.STR,
9 "description": "Shop url",
10 "required": True,
11 "label": "Shop url",
12 },
13 client_id={
14 "type": ARG_TYPE.STR,
15 "description": "Client ID of the app",
16 "required": True,
17 "label": "client_id",
18 },
19 client_secret={
20 "type": ARG_TYPE.PWD,
21 "description": "Secret of the app",
22 "required": True,
23 "label": "Database",
24 "secret": True,
25 },
26)
28connection_args_example = OrderedDict(
29 shop_url="shop-123456.myshopify.com",
30 client_id="secret",
31 client_secret="shpss_secret",
32)