Coverage for mindsdb / integrations / handlers / byom_handler / connection_args.py: 100%
3 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 code={
8 'type': ARG_TYPE.PATH,
9 'description': 'The path to model code'
10 },
11 modules={
12 'type': ARG_TYPE.PATH,
13 'description': 'The path to model requirements'
14 },
15 mode={
16 'type': ARG_TYPE.STR,
17 'description': 'Mode of byom hander. It can be "custom_function" for using it as container for functions'
18 }
19)