Coverage for mindsdb / integrations / handlers / hsqldb_handler / connection_args.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-21 00:36 +0000

1from collections import OrderedDict 

2 

3from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE as ARG_TYPE 

4 

5 

6connection_args = OrderedDict( 

7 server_name={ 

8 'type': ARG_TYPE.STR, 

9 'description': 'The host name or IP address of the database' 

10 }, 

11 port={ 

12 'type': ARG_TYPE.INT, 

13 'description': 'Specify port to connect.' 

14 }, 

15 database_name={ 

16 'type': ARG_TYPE.STR, 

17 'description': ''' 

18 The database name to use when connecting. 

19 ''' 

20 }, 

21 username={ 

22 'type': ARG_TYPE.STR, 

23 'description': 'The user name used to authenticate.' 

24 }, 

25 password={ 

26 'type': ARG_TYPE.PWD, 

27 'description': 'The password to authenticate.', 

28 'secret': True 

29 }, 

30 

31) 

32 

33connection_args_example = OrderedDict( 

34 server_name='localhost', 

35 port=9001, 

36 database_name='xdb', 

37 username='SA', 

38 password='password' 

39)