Coverage for mindsdb / integrations / handlers / sqlany_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
6# For complete list of parameters: https://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sqlanywhere.12.0.1/dbadmin/da-conparm.html
7connection_args = OrderedDict(
8 host={
9 'type': ARG_TYPE.STR,
10 'description': 'The IP address/host name of the SAP SQL Anywhere instance host.'
11 },
12 port={
13 'type': ARG_TYPE.STR,
14 'description': 'The port number of the SAP SQL Anywhere instance.'
15 },
16 user={
17 'type': ARG_TYPE.STR,
18 'description': 'Specifies the user name.'
19 },
20 password={
21 'type': ARG_TYPE.PWD,
22 'description': 'Specifies the password for the user.',
23 'secret': True
24 },
25 server={
26 'type': ARG_TYPE.STR,
27 'description': 'Specifies the name of the server to connect to.'
28 },
29 database={
30 'type': ARG_TYPE.STR,
31 'description': 'Specifies the name of the database to connect to.'
32 },
33 encrypt={
34 'type': ARG_TYPE.BOOL,
35 'description': 'Enables or disables TLS encryption.'
36 },
37)
39connection_args_example = OrderedDict(
40 host='localhost',
41 port=55505,
42 user='DBADMIN',
43 password='password',
44 serverName='TestMe',
45 database='MINDSDB'
46)