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

8 "type": ARG_TYPE.STR, 

9 "description": "faunadb secret", 

10 "required": True, 

11 "secret": True 

12 }, 

13 fauna_scheme={ 

14 "type": ARG_TYPE.STR, 

15 "description": "faunadb scheme(http/https)", 

16 "required": False, 

17 }, 

18 fauna_domain={ 

19 "type": ARG_TYPE.STR, 

20 "description": "faunadb instance domain", 

21 "required": False, 

22 }, 

23 fauna_port={ 

24 "type": ARG_TYPE.INT, 

25 "description": "faunadb instance port", 

26 "required": False, 

27 }, 

28 fauna_endpoint={ 

29 "type": ARG_TYPE.STR, 

30 "description": "faunadb instance endpoint", 

31 "required": False, 

32 }, 

33) 

34 

35connection_args_example = OrderedDict( 

36 fauna_scheme="https", 

37 fauna_domain="db.fauna.com", 

38 fauna_port=443, 

39)