Coverage for mindsdb / integrations / handlers / youtube_handler / connection_args.py: 0%

3 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 youtube_api_token={ 

8 'type': ARG_TYPE.STR, 

9 'description': 'Youtube API Token', 

10 'label': 'Youtube API Token', 

11 }, 

12 credentials_url={ 

13 'type': ARG_TYPE.STR, 

14 'description': 'URL to Service Account Keys', 

15 'label': 'URL to Service Account Keys', 

16 }, 

17 credentials_file={ 

18 'type': ARG_TYPE.STR, 

19 'description': 'Location of Service Account Keys', 

20 'label': 'Path to Service Account Keys', 

21 }, 

22 credentials={ 

23 'type': ARG_TYPE.PATH, 

24 'description': 'Service Account Keys', 

25 'label': 'Upload Service Account Keys', 

26 }, 

27 code={ 

28 'type': ARG_TYPE.STR, 

29 'description': 'Code After Authorisation', 

30 'label': 'Code After Authorisation', 

31 }, 

32)