@@ -162,6 +162,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
162162 allow_client_to_start = True ,
163163 show_as_button = True ,
164164 input_type = " path" ,
165+ add_to_new_media_roots = True ,
165166 hook = " hook_example" ,
166167 webhook_secret = " webhook_secret_example" ,
167168 security_context = 1 ,
@@ -598,14 +599,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
598599 id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
599600 name = " name_example" # str | Filter the returned list by `name`. (optional)
600601 task_name = " task_name_example" # str | Filter the returned list by `task_name`. (optional)
602+ is_finished = " is_finished_example" # str | Filter the returned list by `is_finished`. (optional)
603+ is_running = " is_running_example" # str | Filter the returned list by `is_running`. (optional)
601604 ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
602605 limit = 1 # int | Number of results to return per page. (optional)
603606 offset = 1 # int | The initial index from which to return the results. (optional)
604607
605608 # example passing only required values which don't have defaults set
606609 # and optional values
607610 try :
608- api_instance.download_all_task_logs(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, ordering = ordering, limit = limit, offset = offset)
611+ api_instance.download_all_task_logs(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, is_finished = is_finished, is_running = is_running, ordering = ordering, limit = limit, offset = offset)
609612 except elements_sdk.ApiException as e:
610613 print (" Exception when calling AutomationApi->download_all_task_logs: %s \n " % e)
611614```
@@ -624,6 +627,8 @@ Name | Type | Description | Notes
624627 ** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
625628 ** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
626629 ** task_name** | ** str** | Filter the returned list by ` ; task_name` ; . | [ optional]
630+ ** is_finished** | ** str** | Filter the returned list by ` ; is_finished` ; . | [ optional]
631+ ** is_running** | ** str** | Filter the returned list by ` ; is_running` ; . | [ optional]
627632 ** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
628633 ** limit** | ** int** | Number of results to return per page. | [ optional]
629634 ** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -967,7 +972,7 @@ Name | Type | Description | Notes
967972
968973
969974
970- ### Required permissions * <class 'rest_framework.permissions.AllowAny'>
975+ ### Required permissions * User account permission: ` tasks:view `
971976
972977### Example
973978
@@ -1108,6 +1113,8 @@ with elements_sdk.ApiClient(configuration) as api_client:
11081113 id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
11091114 name = " name_example" # str | Filter the returned list by `name`. (optional)
11101115 task_name = " task_name_example" # str | Filter the returned list by `task_name`. (optional)
1116+ is_finished = " is_finished_example" # str | Filter the returned list by `is_finished`. (optional)
1117+ is_running = " is_running_example" # str | Filter the returned list by `is_running`. (optional)
11111118 ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
11121119 limit = 1 # int | Number of results to return per page. (optional)
11131120 offset = 1 # int | The initial index from which to return the results. (optional)
@@ -1116,7 +1123,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
11161123 # example passing only required values which don't have defaults set
11171124 # and optional values
11181125 try :
1119- api_response = api_instance.get_all_tasks(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, ordering = ordering, limit = limit, offset = offset, include_kwargs = include_kwargs)
1126+ api_response = api_instance.get_all_tasks(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, is_finished = is_finished, is_running = is_running, ordering = ordering, limit = limit, offset = offset, include_kwargs = include_kwargs)
11201127 pprint(api_response)
11211128 except elements_sdk.ApiException as e:
11221129 print (" Exception when calling AutomationApi->get_all_tasks: %s \n " % e)
@@ -1136,6 +1143,8 @@ Name | Type | Description | Notes
11361143 ** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
11371144 ** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
11381145 ** task_name** | ** str** | Filter the returned list by ` ; task_name` ; . | [ optional]
1146+ ** is_finished** | ** str** | Filter the returned list by ` ; is_finished` ; . | [ optional]
1147+ ** is_running** | ** str** | Filter the returned list by ` ; is_running` ; . | [ optional]
11391148 ** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
11401149 ** limit** | ** int** | Number of results to return per page. | [ optional]
11411150 ** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -1233,14 +1242,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
12331242 id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
12341243 name = " name_example" # str | Filter the returned list by `name`. (optional)
12351244 task_name = " task_name_example" # str | Filter the returned list by `task_name`. (optional)
1245+ is_finished = " is_finished_example" # str | Filter the returned list by `is_finished`. (optional)
1246+ is_running = " is_running_example" # str | Filter the returned list by `is_running`. (optional)
12361247 ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
12371248 limit = 1 # int | Number of results to return per page. (optional)
12381249 offset = 1 # int | The initial index from which to return the results. (optional)
12391250
12401251 # example passing only required values which don't have defaults set
12411252 # and optional values
12421253 try :
1243- api_response = api_instance.get_finished_tasks(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, ordering = ordering, limit = limit, offset = offset)
1254+ api_response = api_instance.get_finished_tasks(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, is_finished = is_finished, is_running = is_running, ordering = ordering, limit = limit, offset = offset)
12441255 pprint(api_response)
12451256 except elements_sdk.ApiException as e:
12461257 print (" Exception when calling AutomationApi->get_finished_tasks: %s \n " % e)
@@ -1260,6 +1271,8 @@ Name | Type | Description | Notes
12601271 ** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
12611272 ** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
12621273 ** task_name** | ** str** | Filter the returned list by ` ; task_name` ; . | [ optional]
1274+ ** is_finished** | ** str** | Filter the returned list by ` ; is_finished` ; . | [ optional]
1275+ ** is_running** | ** str** | Filter the returned list by ` ; is_running` ; . | [ optional]
12631276 ** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
12641277 ** limit** | ** int** | Number of results to return per page. | [ optional]
12651278 ** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -1356,14 +1369,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
13561369 id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
13571370 name = " name_example" # str | Filter the returned list by `name`. (optional)
13581371 task_name = " task_name_example" # str | Filter the returned list by `task_name`. (optional)
1372+ is_finished = " is_finished_example" # str | Filter the returned list by `is_finished`. (optional)
1373+ is_running = " is_running_example" # str | Filter the returned list by `is_running`. (optional)
13591374 ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
13601375 limit = 1 # int | Number of results to return per page. (optional)
13611376 offset = 1 # int | The initial index from which to return the results. (optional)
13621377
13631378 # example passing only required values which don't have defaults set
13641379 # and optional values
13651380 try :
1366- api_response = api_instance.get_pending_tasks(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, ordering = ordering, limit = limit, offset = offset)
1381+ api_response = api_instance.get_pending_tasks(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, is_finished = is_finished, is_running = is_running, ordering = ordering, limit = limit, offset = offset)
13671382 pprint(api_response)
13681383 except elements_sdk.ApiException as e:
13691384 print (" Exception when calling AutomationApi->get_pending_tasks: %s \n " % e)
@@ -1383,6 +1398,8 @@ Name | Type | Description | Notes
13831398 ** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
13841399 ** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
13851400 ** task_name** | ** str** | Filter the returned list by ` ; task_name` ; . | [ optional]
1401+ ** is_finished** | ** str** | Filter the returned list by ` ; is_finished` ; . | [ optional]
1402+ ** is_running** | ** str** | Filter the returned list by ` ; is_running` ; . | [ optional]
13861403 ** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
13871404 ** limit** | ** int** | Number of results to return per page. | [ optional]
13881405 ** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -1785,14 +1802,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
17851802 id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
17861803 name = " name_example" # str | Filter the returned list by `name`. (optional)
17871804 task_name = " task_name_example" # str | Filter the returned list by `task_name`. (optional)
1805+ is_finished = " is_finished_example" # str | Filter the returned list by `is_finished`. (optional)
1806+ is_running = " is_running_example" # str | Filter the returned list by `is_running`. (optional)
17881807 ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
17891808 limit = 1 # int | Number of results to return per page. (optional)
17901809 offset = 1 # int | The initial index from which to return the results. (optional)
17911810
17921811 # example passing only required values which don't have defaults set
17931812 # and optional values
17941813 try :
1795- api_response = api_instance.get_tasks_summary(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, ordering = ordering, limit = limit, offset = offset)
1814+ api_response = api_instance.get_tasks_summary(job_instance = job_instance, job_instance__in = job_instance__in, subtask = subtask, state = state, state__in = state__in, id = id , id__in = id__in, name = name, task_name = task_name, is_finished = is_finished, is_running = is_running, ordering = ordering, limit = limit, offset = offset)
17961815 pprint(api_response)
17971816 except elements_sdk.ApiException as e:
17981817 print (" Exception when calling AutomationApi->get_tasks_summary: %s \n " % e)
@@ -1812,6 +1831,8 @@ Name | Type | Description | Notes
18121831 ** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
18131832 ** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
18141833 ** task_name** | ** str** | Filter the returned list by ` ; task_name` ; . | [ optional]
1834+ ** is_finished** | ** str** | Filter the returned list by ` ; is_finished` ; . | [ optional]
1835+ ** is_running** | ** str** | Filter the returned list by ` ; is_running` ; . | [ optional]
18151836 ** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
18161837 ** limit** | ** int** | Number of results to return per page. | [ optional]
18171838 ** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -2035,6 +2056,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
20352056 allow_client_to_start = True ,
20362057 show_as_button = True ,
20372058 input_type = " path" ,
2059+ add_to_new_media_roots = True ,
20382060 hook = " hook_example" ,
20392061 webhook_secret = " webhook_secret_example" ,
20402062 security_context = 1 ,
@@ -2434,6 +2456,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
24342456 allow_client_to_start = True ,
24352457 show_as_button = True ,
24362458 input_type = " path" ,
2459+ add_to_new_media_roots = True ,
24372460 hook = " hook_example" ,
24382461 webhook_secret = " webhook_secret_example" ,
24392462 security_context = 1 ,
0 commit comments