Coverage for mindsdb / integrations / handlers / tdengine_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 TDEngine server.' 

10 }, 

11 password={ 

12 'type': ARG_TYPE.PWD, 

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

14 'secret': True 

15 }, 

16 database={ 

17 'type': ARG_TYPE.STR, 

18 'description': 'The database name to use when connecting with the TDEngine server.' 

19 }, 

20 url={ 

21 'type': ARG_TYPE.STR, 

22 'description': 'The url of the TDEngine server Instance. ' 

23 }, 

24 token={ 

25 'type': ARG_TYPE.INT, 

26 'description': 'Unique Token to COnnect TDEngine' 

27 }, 

28) 

29 

30connection_args_example = OrderedDict( 

31 url='127.0.0.1:6041', 

32 token='<token comes here>', 

33 user='root', 

34 password='taosdata', 

35 database='test' 

36)