Coverage for mindsdb / integrations / handlers / confluence_handler / connection_args.py: 100%

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 api_base={ 

8 "type": ARG_TYPE.URL, 

9 "description": "The base URL of the Confluence instance/server.", 

10 "label": "Base URL", 

11 "required": True 

12 }, 

13 username={ 

14 "type": ARG_TYPE.STR, 

15 "description": "The username for the Confluence account.", 

16 "label": "Username", 

17 "required": True 

18 }, 

19 password={ 

20 "type": ARG_TYPE.STR, 

21 "description": "The API token for the Confluence account.", 

22 "label": "Password", 

23 "required": True, 

24 "secret": True 

25 } 

26) 

27 

28connection_args_example = OrderedDict( 

29 api_base="https://marios.atlassian.net/", 

30 username="your_username", 

31 password="access_token" 

32)