Coverage for mindsdb / integrations / handlers / couchbasevector_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 Couchbase server.", 

10 }, 

11 password={ 

12 "type": ARG_TYPE.PWD, 

13 "description": "The password to authenticate the user with the Couchbase server.", 

14 'secret': True 

15 }, 

16 bucket={ 

17 "type": ARG_TYPE.STR, 

18 "description": "The database/bucket name to use when connecting with the Couchbase server.", 

19 }, 

20 connection_string={ 

21 "type": ARG_TYPE.STR, 

22 "description": "the Connection string to specify the cluster endpoint.", 

23 }, 

24 scope={ 

25 "type": ARG_TYPE.STR, 

26 "description": 'The scope use in the query context in Couchbase server. If blank, scope will be "_default".', 

27 }, 

28) 

29connection_args_example = OrderedDict( 

30 connection_string="couchbase://localhost", user="root", password="password", bucket="bucket", scope="example_scope" 

31)