Coverage for mindsdb / integrations / handlers / aerospike_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 Aerospike server.', 

10 'required': False, 

11 'label': 'User' 

12 }, 

13 password={ 

14 'type': ARG_TYPE.STR, 

15 'description': 'The password to authenticate the user with the Aerospike server.', 

16 'required': False, 

17 'label': 'Password', 

18 'secret': True 

19 }, 

20 host={ 

21 'type': ARG_TYPE.STR, 

22 'description': 'The host name or IP address of the Aerospike server. NOTE: use \'127.0.0.1\' instead of \'localhost\' to connect to local server.', 

23 'required': True, 

24 'label': 'Host' 

25 }, 

26 port={ 

27 'type': ARG_TYPE.INT, 

28 'description': 'The TCP/IP port of the Aerospike server. Must be an integer.', 

29 'required': True, 

30 'label': 'Port' 

31 }, 

32 namespace={ 

33 'type': ARG_TYPE.STR, 

34 'description': 'The namespace name to use for the query in the Aerospike server.', 

35 'required': True, 

36 'label': 'namespace' 

37 } 

38) 

39 

40connection_args_example = OrderedDict( 

41 user="demo_user", 

42 password="demo_password", 

43 host='127.0.0.1', 

44 port=3000, 

45 namespace="demo", 

46)