Coverage for mindsdb / integrations / handlers / gcs_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 

5connection_args = OrderedDict( 

6 bucket={ 

7 'type': ARG_TYPE.STR, 

8 'description': 'The name of the GCS bucket.', 

9 'label': 'GCS Bucket' 

10 }, 

11 service_account_keys={ 

12 'type': ARG_TYPE.PATH, 

13 'description': 'Path to the service account JSON file', 

14 'label': 'Path to the service account JSON file', 

15 'secret': True 

16 }, 

17 service_account_json={ 

18 'type': ARG_TYPE.DICT, 

19 'description': 'Content of service account JSON file', 

20 'label': 'Content of service account JSON file', 

21 'secret': True 

22 } 

23) 

24 

25 

26connection_args_example = OrderedDict( 

27 bucket='my-bucket', 

28 service_account_keys='/Users/sam/Downloads/svc.json' 

29)