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

8 'type': ARG_TYPE.STR, 

9 'description': 'The hostname, IP address, or URL of the Teradata server.', 

10 'required': True, 

11 'label': 'Host' 

12 }, 

13 user={ 

14 'type': ARG_TYPE.STR, 

15 'description': 'The username for the Teradata database.', 

16 'required': True, 

17 'label': 'User' 

18 }, 

19 password={ 

20 'type': ARG_TYPE.PWD, 

21 'description': 'The password for the Teradata database.', 

22 'secret': True, 

23 'required': True, 

24 'label': 'Password' 

25 }, 

26 database={ 

27 'type': ARG_TYPE.STR, 

28 'description': "The name of the Teradata database to connect to. Defaults is the user's default database.", 

29 'required': False, 

30 'label': 'Database' 

31 } 

32) 

33 

34connection_args_example = OrderedDict( 

35 host='192.168.0.41', 

36 user='dbc', 

37 password='dbc', 

38 database='HR' 

39)