@@ -162,6 +162,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
162
162
allow_client_to_start = True ,
163
163
show_as_button = True ,
164
164
input_type = " path" ,
165
+ add_to_new_media_roots = True ,
165
166
hook = " hook_example" ,
166
167
webhook_secret = " webhook_secret_example" ,
167
168
security_context = 1 ,
@@ -598,14 +599,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
598
599
id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
599
600
name = " name_example" # str | Filter the returned list by `name`. (optional)
600
601
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)
601
604
ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
602
605
limit = 1 # int | Number of results to return per page. (optional)
603
606
offset = 1 # int | The initial index from which to return the results. (optional)
604
607
605
608
# example passing only required values which don't have defaults set
606
609
# and optional values
607
610
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)
609
612
except elements_sdk.ApiException as e:
610
613
print (" Exception when calling AutomationApi->download_all_task_logs: %s \n " % e)
611
614
```
@@ -624,6 +627,8 @@ Name | Type | Description | Notes
624
627
** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
625
628
** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
626
629
** 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]
627
632
** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
628
633
** limit** | ** int** | Number of results to return per page. | [ optional]
629
634
** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -967,7 +972,7 @@ Name | Type | Description | Notes
967
972
968
973
969
974
970
- ### Required permissions * <class 'rest_framework.permissions.AllowAny'>
975
+ ### Required permissions * User account permission: ` tasks:view `
971
976
972
977
### Example
973
978
@@ -1108,6 +1113,8 @@ with elements_sdk.ApiClient(configuration) as api_client:
1108
1113
id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
1109
1114
name = " name_example" # str | Filter the returned list by `name`. (optional)
1110
1115
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)
1111
1118
ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
1112
1119
limit = 1 # int | Number of results to return per page. (optional)
1113
1120
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:
1116
1123
# example passing only required values which don't have defaults set
1117
1124
# and optional values
1118
1125
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)
1120
1127
pprint(api_response)
1121
1128
except elements_sdk.ApiException as e:
1122
1129
print (" Exception when calling AutomationApi->get_all_tasks: %s \n " % e)
@@ -1136,6 +1143,8 @@ Name | Type | Description | Notes
1136
1143
** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
1137
1144
** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
1138
1145
** 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]
1139
1148
** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
1140
1149
** limit** | ** int** | Number of results to return per page. | [ optional]
1141
1150
** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -1233,14 +1242,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
1233
1242
id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
1234
1243
name = " name_example" # str | Filter the returned list by `name`. (optional)
1235
1244
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)
1236
1247
ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
1237
1248
limit = 1 # int | Number of results to return per page. (optional)
1238
1249
offset = 1 # int | The initial index from which to return the results. (optional)
1239
1250
1240
1251
# example passing only required values which don't have defaults set
1241
1252
# and optional values
1242
1253
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)
1244
1255
pprint(api_response)
1245
1256
except elements_sdk.ApiException as e:
1246
1257
print (" Exception when calling AutomationApi->get_finished_tasks: %s \n " % e)
@@ -1260,6 +1271,8 @@ Name | Type | Description | Notes
1260
1271
** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
1261
1272
** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
1262
1273
** 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]
1263
1276
** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
1264
1277
** limit** | ** int** | Number of results to return per page. | [ optional]
1265
1278
** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -1356,14 +1369,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
1356
1369
id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
1357
1370
name = " name_example" # str | Filter the returned list by `name`. (optional)
1358
1371
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)
1359
1374
ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
1360
1375
limit = 1 # int | Number of results to return per page. (optional)
1361
1376
offset = 1 # int | The initial index from which to return the results. (optional)
1362
1377
1363
1378
# example passing only required values which don't have defaults set
1364
1379
# and optional values
1365
1380
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)
1367
1382
pprint(api_response)
1368
1383
except elements_sdk.ApiException as e:
1369
1384
print (" Exception when calling AutomationApi->get_pending_tasks: %s \n " % e)
@@ -1383,6 +1398,8 @@ Name | Type | Description | Notes
1383
1398
** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
1384
1399
** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
1385
1400
** 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]
1386
1403
** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
1387
1404
** limit** | ** int** | Number of results to return per page. | [ optional]
1388
1405
** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -1785,14 +1802,16 @@ with elements_sdk.ApiClient(configuration) as api_client:
1785
1802
id__in = " id__in_example" # str | Multiple values may be separated by commas. (optional)
1786
1803
name = " name_example" # str | Filter the returned list by `name`. (optional)
1787
1804
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)
1788
1807
ordering = " ordering_example" # str | Which field to use when ordering the results. (optional)
1789
1808
limit = 1 # int | Number of results to return per page. (optional)
1790
1809
offset = 1 # int | The initial index from which to return the results. (optional)
1791
1810
1792
1811
# example passing only required values which don't have defaults set
1793
1812
# and optional values
1794
1813
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)
1796
1815
pprint(api_response)
1797
1816
except elements_sdk.ApiException as e:
1798
1817
print (" Exception when calling AutomationApi->get_tasks_summary: %s \n " % e)
@@ -1812,6 +1831,8 @@ Name | Type | Description | Notes
1812
1831
** id__ in** | ** str** | Multiple values may be separated by commas. | [ optional]
1813
1832
** name** | ** str** | Filter the returned list by ` ; name` ; . | [ optional]
1814
1833
** 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]
1815
1836
** ordering** | ** str** | Which field to use when ordering the results. | [ optional]
1816
1837
** limit** | ** int** | Number of results to return per page. | [ optional]
1817
1838
** offset** | ** int** | The initial index from which to return the results. | [ optional]
@@ -2035,6 +2056,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
2035
2056
allow_client_to_start = True ,
2036
2057
show_as_button = True ,
2037
2058
input_type = " path" ,
2059
+ add_to_new_media_roots = True ,
2038
2060
hook = " hook_example" ,
2039
2061
webhook_secret = " webhook_secret_example" ,
2040
2062
security_context = 1 ,
@@ -2434,6 +2456,7 @@ with elements_sdk.ApiClient(configuration) as api_client:
2434
2456
allow_client_to_start = True ,
2435
2457
show_as_button = True ,
2436
2458
input_type = " path" ,
2459
+ add_to_new_media_roots = True ,
2437
2460
hook = " hook_example" ,
2438
2461
webhook_secret = " webhook_secret_example" ,
2439
2462
security_context = 1 ,
0 commit comments