Coverage for mindsdb / integrations / handlers / ingres_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 user={ 

8 'type': ARG_TYPE.STR, 

9 'description': 'The user name used to authenticate with the Ingres server.' 

10 }, 

11 password={ 

12 'type': ARG_TYPE.PWD, 

13 'description': 'The password to authenticate the user with the Ingres server.', 

14 'secret': True 

15 }, 

16 server={ 

17 'type': ARG_TYPE.STR, 

18 'description': 'The server used to authenticate with the Ingres server.' 

19 }, 

20 database={ 

21 'type': ARG_TYPE.STR, 

22 'description': 'Specify database name to connect Ingres server' 

23 }, 

24 servertype={ 

25 'type': ARG_TYPE.STR, 

26 'description': 'Specify server type to connect Ingres server' 

27 } 

28) 

29 

30connection_args_example = OrderedDict( 

31 user='admin', 

32 password='password', 

33 server='(local)', 

34 database='test_db', 

35 servertype='ingres' 

36)