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

8 "type": ARG_TYPE.STR, 

9 "description": "The URI-Like connection string to the CKAN server. If provided, it will override the other connection arguments.", 

10 "required": True, 

11 "label": "URL", 

12 }, 

13 api_key={ 

14 "type": ARG_TYPE.STR, 

15 "description": "The API key used to authenticate with the CKAN server. For CKAN 2.10+ API tokens are supported.", 

16 "required": False, 

17 "label": "API Key/Token", 

18 }, 

19) 

20 

21 

22connection_args_example = OrderedDict(url="https://data.gov.au/data/", api_key="my_api_key")