flywheel-sdk 20.2.0rc2__py2.py3-none-any.whl → 20.3.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flywheel/__init__.py +7 -2
- flywheel/api/acquisitions_api.py +42 -0
- flywheel/api/analyses_api.py +42 -4
- flywheel/api/audit_trail_api.py +6 -0
- flywheel/api/auth_api.py +2 -0
- flywheel/api/batch_api.py +7 -0
- flywheel/api/bulk_api.py +2 -0
- flywheel/api/change_log_api.py +3 -0
- flywheel/api/collections_api.py +35 -0
- flywheel/api/config_api.py +4 -0
- flywheel/api/container_type_api.py +2 -0
- flywheel/api/containers_api.py +40 -0
- flywheel/api/data_view_executions_api.py +6 -0
- flywheel/api/dataexplorer_api.py +12 -0
- flywheel/api/devices_api.py +12 -0
- flywheel/api/dimse_api.py +9 -0
- flywheel/api/download_api.py +3 -0
- flywheel/api/files_api.py +19 -0
- flywheel/api/gears_api.py +18 -0
- flywheel/api/groups_api.py +27 -0
- flywheel/api/jobs_api.py +22 -0
- flywheel/api/jupyterlab_servers_api.py +3 -0
- flywheel/api/modalities_api.py +6 -0
- flywheel/api/packfiles_api.py +2 -0
- flywheel/api/projects_api.py +68 -0
- flywheel/api/reports_api.py +11 -0
- flywheel/api/resolve_api.py +3 -0
- flywheel/api/roles_api.py +6 -0
- flywheel/api/sessions_api.py +160 -0
- flywheel/api/site_api.py +16 -0
- flywheel/api/subjects_api.py +45 -0
- flywheel/api/tree_api.py +3 -0
- flywheel/api/uids_api.py +2 -0
- flywheel/api/upload_api.py +8 -0
- flywheel/api/users_api.py +20 -0
- flywheel/api/views_api.py +10 -0
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +53 -2
- flywheel/flywheel.py +28 -2
- flywheel/models/__init__.py +8 -3
- flywheel/models/{project_copy_filter.py → copy_filter.py} +28 -28
- flywheel/models/{project_copy_status.py → copy_status.py} +1 -1
- flywheel/models/cvat_info.py +243 -0
- flywheel/models/cvat_settings.py +271 -0
- flywheel/models/cvat_settings_input.py +271 -0
- flywheel/models/cvat_sync_state.py +29 -0
- flywheel/models/features.py +55 -1
- flywheel/models/file.py +29 -1
- flywheel/models/file_list_output.py +29 -1
- flywheel/models/file_node.py +29 -1
- flywheel/models/file_output.py +29 -1
- flywheel/models/file_upsert_output.py +29 -1
- flywheel/models/mixins.py +0 -3
- flywheel/models/project_container_output.py +1 -1
- flywheel/models/project_copy_input.py +4 -4
- flywheel/models/project_modify.py +4 -4
- flywheel/models/project_node.py +1 -1
- flywheel/models/project_output.py +4 -4
- flywheel/models/project_settings_input.py +32 -4
- flywheel/models/project_settings_output.py +32 -4
- flywheel/models/search_parent_project.py +1 -1
- flywheel/models/search_parent_session.py +1 -0
- flywheel/models/session_container_output.py +1 -0
- flywheel/models/session_copy_input.py +251 -0
- flywheel/models/session_list_output.py +32 -4
- flywheel/models/session_node.py +1 -0
- flywheel/models/session_output.py +29 -1
- flywheel/util.py +10 -0
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/RECORD +73 -68
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/licenses/LICENSE.txt +0 -0
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/top_level.txt +0 -0
flywheel/api/files_api.py
CHANGED
|
@@ -20,6 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.api_client import ApiClient
|
|
22
22
|
import flywheel.models
|
|
23
|
+
from flywheel.util import check_filename_params
|
|
23
24
|
|
|
24
25
|
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
26
|
# Do not edit the class manually.
|
|
@@ -93,6 +94,7 @@ class FilesApi(object):
|
|
|
93
94
|
if ('body' not in params or
|
|
94
95
|
params['body'] is None):
|
|
95
96
|
raise ValueError("Missing the required parameter `body` when calling `add_file_tags`") # noqa: E501
|
|
97
|
+
check_filename_params(params)
|
|
96
98
|
|
|
97
99
|
collection_formats = {}
|
|
98
100
|
|
|
@@ -201,6 +203,7 @@ class FilesApi(object):
|
|
|
201
203
|
if ('file_id' not in params or
|
|
202
204
|
params['file_id'] is None):
|
|
203
205
|
raise ValueError("Missing the required parameter `file_id` when calling `delete_file`") # noqa: E501
|
|
206
|
+
check_filename_params(params)
|
|
204
207
|
|
|
205
208
|
collection_formats = {}
|
|
206
209
|
|
|
@@ -305,6 +308,7 @@ class FilesApi(object):
|
|
|
305
308
|
if ('file_id' not in params or
|
|
306
309
|
params['file_id'] is None):
|
|
307
310
|
raise ValueError("Missing the required parameter `file_id` when calling `delete_file_tags`") # noqa: E501
|
|
311
|
+
check_filename_params(params)
|
|
308
312
|
|
|
309
313
|
collection_formats = {}
|
|
310
314
|
|
|
@@ -409,6 +413,7 @@ class FilesApi(object):
|
|
|
409
413
|
if ('body' not in params or
|
|
410
414
|
params['body'] is None):
|
|
411
415
|
raise ValueError("Missing the required parameter `body` when calling `delete_files_by_ids`") # noqa: E501
|
|
416
|
+
check_filename_params(params)
|
|
412
417
|
|
|
413
418
|
collection_formats = {}
|
|
414
419
|
|
|
@@ -513,6 +518,7 @@ class FilesApi(object):
|
|
|
513
518
|
if ('body' not in params or
|
|
514
519
|
params['body'] is None):
|
|
515
520
|
raise ValueError("Missing the required parameter `body` when calling `delete_files_by_query`") # noqa: E501
|
|
521
|
+
check_filename_params(params)
|
|
516
522
|
|
|
517
523
|
collection_formats = {}
|
|
518
524
|
|
|
@@ -621,6 +627,7 @@ class FilesApi(object):
|
|
|
621
627
|
)
|
|
622
628
|
params[key] = val
|
|
623
629
|
del params['kwargs']
|
|
630
|
+
check_filename_params(params)
|
|
624
631
|
|
|
625
632
|
collection_formats = {}
|
|
626
633
|
|
|
@@ -729,6 +736,7 @@ class FilesApi(object):
|
|
|
729
736
|
if ('file_id' not in params or
|
|
730
737
|
params['file_id'] is None):
|
|
731
738
|
raise ValueError("Missing the required parameter `file_id` when calling `get_file`") # noqa: E501
|
|
739
|
+
check_filename_params(params)
|
|
732
740
|
|
|
733
741
|
collection_formats = {}
|
|
734
742
|
|
|
@@ -829,6 +837,7 @@ class FilesApi(object):
|
|
|
829
837
|
if ('file_id' not in params or
|
|
830
838
|
params['file_id'] is None):
|
|
831
839
|
raise ValueError("Missing the required parameter `file_id` when calling `get_file_info`") # noqa: E501
|
|
840
|
+
check_filename_params(params)
|
|
832
841
|
|
|
833
842
|
collection_formats = {}
|
|
834
843
|
|
|
@@ -929,6 +938,7 @@ class FilesApi(object):
|
|
|
929
938
|
if ('file_id' not in params or
|
|
930
939
|
params['file_id'] is None):
|
|
931
940
|
raise ValueError("Missing the required parameter `file_id` when calling `get_file_tags`") # noqa: E501
|
|
941
|
+
check_filename_params(params)
|
|
932
942
|
|
|
933
943
|
collection_formats = {}
|
|
934
944
|
|
|
@@ -1027,6 +1037,7 @@ class FilesApi(object):
|
|
|
1027
1037
|
if ('file_id' not in params or
|
|
1028
1038
|
params['file_id'] is None):
|
|
1029
1039
|
raise ValueError("Missing the required parameter `file_id` when calling `get_file_versions`") # noqa: E501
|
|
1040
|
+
check_filename_params(params)
|
|
1030
1041
|
|
|
1031
1042
|
collection_formats = {}
|
|
1032
1043
|
|
|
@@ -1127,6 +1138,7 @@ class FilesApi(object):
|
|
|
1127
1138
|
if ('file_id' not in params or
|
|
1128
1139
|
params['file_id'] is None):
|
|
1129
1140
|
raise ValueError("Missing the required parameter `file_id` when calling `get_file_zip_info`") # noqa: E501
|
|
1141
|
+
check_filename_params(params)
|
|
1130
1142
|
|
|
1131
1143
|
collection_formats = {}
|
|
1132
1144
|
|
|
@@ -1233,6 +1245,7 @@ class FilesApi(object):
|
|
|
1233
1245
|
if ('body' not in params or
|
|
1234
1246
|
params['body'] is None):
|
|
1235
1247
|
raise ValueError("Missing the required parameter `body` when calling `modify_file_classification`") # noqa: E501
|
|
1248
|
+
check_filename_params(params)
|
|
1236
1249
|
|
|
1237
1250
|
collection_formats = {}
|
|
1238
1251
|
|
|
@@ -1344,6 +1357,7 @@ class FilesApi(object):
|
|
|
1344
1357
|
if ('file_id' not in params or
|
|
1345
1358
|
params['file_id'] is None):
|
|
1346
1359
|
raise ValueError("Missing the required parameter `file_id` when calling `modify_file_info`") # noqa: E501
|
|
1360
|
+
check_filename_params(params)
|
|
1347
1361
|
|
|
1348
1362
|
collection_formats = {}
|
|
1349
1363
|
|
|
@@ -1459,6 +1473,7 @@ class FilesApi(object):
|
|
|
1459
1473
|
if ('body' not in params or
|
|
1460
1474
|
params['body'] is None):
|
|
1461
1475
|
raise ValueError("Missing the required parameter `body` when calling `move_file`") # noqa: E501
|
|
1476
|
+
check_filename_params(params)
|
|
1462
1477
|
|
|
1463
1478
|
collection_formats = {}
|
|
1464
1479
|
|
|
@@ -1570,6 +1585,7 @@ class FilesApi(object):
|
|
|
1570
1585
|
if ('file_id' not in params or
|
|
1571
1586
|
params['file_id'] is None):
|
|
1572
1587
|
raise ValueError("Missing the required parameter `file_id` when calling `replace_file_info`") # noqa: E501
|
|
1588
|
+
check_filename_params(params)
|
|
1573
1589
|
|
|
1574
1590
|
collection_formats = {}
|
|
1575
1591
|
|
|
@@ -1691,6 +1707,7 @@ class FilesApi(object):
|
|
|
1691
1707
|
if ('evaluate_gear_rules' not in params or
|
|
1692
1708
|
params['evaluate_gear_rules'] is None):
|
|
1693
1709
|
raise ValueError("Missing the required parameter `evaluate_gear_rules` when calling `restore_file`") # noqa: E501
|
|
1710
|
+
check_filename_params(params)
|
|
1694
1711
|
|
|
1695
1712
|
collection_formats = {}
|
|
1696
1713
|
|
|
@@ -1797,6 +1814,7 @@ class FilesApi(object):
|
|
|
1797
1814
|
if ('body' not in params or
|
|
1798
1815
|
params['body'] is None):
|
|
1799
1816
|
raise ValueError("Missing the required parameter `body` when calling `set_file_tags`") # noqa: E501
|
|
1817
|
+
check_filename_params(params)
|
|
1800
1818
|
|
|
1801
1819
|
collection_formats = {}
|
|
1802
1820
|
|
|
@@ -1901,6 +1919,7 @@ class FilesApi(object):
|
|
|
1901
1919
|
if ('body' not in params or
|
|
1902
1920
|
params['body'] is None):
|
|
1903
1921
|
raise ValueError("Missing the required parameter `body` when calling `upsert_file`") # noqa: E501
|
|
1922
|
+
check_filename_params(params)
|
|
1904
1923
|
|
|
1905
1924
|
collection_formats = {}
|
|
1906
1925
|
|
flywheel/api/gears_api.py
CHANGED
|
@@ -20,6 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.api_client import ApiClient
|
|
22
22
|
import flywheel.models
|
|
23
|
+
from flywheel.util import check_filename_params
|
|
23
24
|
|
|
24
25
|
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
26
|
# Do not edit the class manually.
|
|
@@ -93,6 +94,7 @@ class GearsApi(object):
|
|
|
93
94
|
if ('body' not in params or
|
|
94
95
|
params['body'] is None):
|
|
95
96
|
raise ValueError("Missing the required parameter `body` when calling `add_gear`") # noqa: E501
|
|
97
|
+
check_filename_params(params)
|
|
96
98
|
|
|
97
99
|
collection_formats = {}
|
|
98
100
|
|
|
@@ -212,6 +214,7 @@ class GearsApi(object):
|
|
|
212
214
|
if ('body' not in params or
|
|
213
215
|
params['body'] is None):
|
|
214
216
|
raise ValueError("Missing the required parameter `body` when calling `add_gear_permission`") # noqa: E501
|
|
217
|
+
check_filename_params(params)
|
|
215
218
|
|
|
216
219
|
collection_formats = {}
|
|
217
220
|
|
|
@@ -321,6 +324,7 @@ class GearsApi(object):
|
|
|
321
324
|
if ('gear_id' not in params or
|
|
322
325
|
params['gear_id'] is None):
|
|
323
326
|
raise ValueError("Missing the required parameter `gear_id` when calling `delete_gear`") # noqa: E501
|
|
327
|
+
check_filename_params(params)
|
|
324
328
|
|
|
325
329
|
collection_formats = {}
|
|
326
330
|
|
|
@@ -427,6 +431,7 @@ class GearsApi(object):
|
|
|
427
431
|
if ('permission_id' not in params or
|
|
428
432
|
params['permission_id'] is None):
|
|
429
433
|
raise ValueError("Missing the required parameter `permission_id` when calling `delete_gear_permission`") # noqa: E501
|
|
434
|
+
check_filename_params(params)
|
|
430
435
|
|
|
431
436
|
collection_formats = {}
|
|
432
437
|
|
|
@@ -525,6 +530,7 @@ class GearsApi(object):
|
|
|
525
530
|
if ('gear_name' not in params or
|
|
526
531
|
params['gear_name'] is None):
|
|
527
532
|
raise ValueError("Missing the required parameter `gear_name` when calling `delete_gear_permissions`") # noqa: E501
|
|
533
|
+
check_filename_params(params)
|
|
528
534
|
|
|
529
535
|
collection_formats = {}
|
|
530
536
|
|
|
@@ -637,6 +643,7 @@ class GearsApi(object):
|
|
|
637
643
|
)
|
|
638
644
|
params[key] = val
|
|
639
645
|
del params['kwargs']
|
|
646
|
+
check_filename_params(params)
|
|
640
647
|
|
|
641
648
|
collection_formats = {}
|
|
642
649
|
|
|
@@ -754,6 +761,7 @@ class GearsApi(object):
|
|
|
754
761
|
if ('gear_id' not in params or
|
|
755
762
|
params['gear_id'] is None):
|
|
756
763
|
raise ValueError("Missing the required parameter `gear_id` when calling `get_gear`") # noqa: E501
|
|
764
|
+
check_filename_params(params)
|
|
757
765
|
|
|
758
766
|
collection_formats = {}
|
|
759
767
|
|
|
@@ -862,6 +870,7 @@ class GearsApi(object):
|
|
|
862
870
|
if ('container_id' not in params or
|
|
863
871
|
params['container_id'] is None):
|
|
864
872
|
raise ValueError("Missing the required parameter `container_id` when calling `get_gear_context`") # noqa: E501
|
|
873
|
+
check_filename_params(params)
|
|
865
874
|
|
|
866
875
|
collection_formats = {}
|
|
867
876
|
|
|
@@ -962,6 +971,7 @@ class GearsApi(object):
|
|
|
962
971
|
if ('gear_id' not in params or
|
|
963
972
|
params['gear_id'] is None):
|
|
964
973
|
raise ValueError("Missing the required parameter `gear_id` when calling `get_gear_invocation`") # noqa: E501
|
|
974
|
+
check_filename_params(params)
|
|
965
975
|
|
|
966
976
|
collection_formats = {}
|
|
967
977
|
|
|
@@ -1058,6 +1068,7 @@ class GearsApi(object):
|
|
|
1058
1068
|
if ('gear_name' not in params or
|
|
1059
1069
|
params['gear_name'] is None):
|
|
1060
1070
|
raise ValueError("Missing the required parameter `gear_name` when calling `get_gear_series`") # noqa: E501
|
|
1071
|
+
check_filename_params(params)
|
|
1061
1072
|
|
|
1062
1073
|
collection_formats = {}
|
|
1063
1074
|
|
|
@@ -1178,6 +1189,7 @@ class GearsApi(object):
|
|
|
1178
1189
|
if ('container_id' not in params or
|
|
1179
1190
|
params['container_id'] is None):
|
|
1180
1191
|
raise ValueError("Missing the required parameter `container_id` when calling `get_gear_suggest`") # noqa: E501
|
|
1192
|
+
check_filename_params(params)
|
|
1181
1193
|
|
|
1182
1194
|
collection_formats = {}
|
|
1183
1195
|
|
|
@@ -1291,6 +1303,7 @@ class GearsApi(object):
|
|
|
1291
1303
|
if ('ticket_id' not in params or
|
|
1292
1304
|
params['ticket_id'] is None):
|
|
1293
1305
|
raise ValueError("Missing the required parameter `ticket_id` when calling `get_gear_ticket`") # noqa: E501
|
|
1306
|
+
check_filename_params(params)
|
|
1294
1307
|
|
|
1295
1308
|
collection_formats = {}
|
|
1296
1309
|
|
|
@@ -1379,6 +1392,7 @@ class GearsApi(object):
|
|
|
1379
1392
|
)
|
|
1380
1393
|
params[key] = val
|
|
1381
1394
|
del params['kwargs']
|
|
1395
|
+
check_filename_params(params)
|
|
1382
1396
|
|
|
1383
1397
|
collection_formats = {}
|
|
1384
1398
|
|
|
@@ -1477,6 +1491,7 @@ class GearsApi(object):
|
|
|
1477
1491
|
if ('body' not in params or
|
|
1478
1492
|
params['body'] is None):
|
|
1479
1493
|
raise ValueError("Missing the required parameter `body` when calling `modify_gear_series`") # noqa: E501
|
|
1494
|
+
check_filename_params(params)
|
|
1480
1495
|
|
|
1481
1496
|
collection_formats = {}
|
|
1482
1497
|
|
|
@@ -1586,6 +1601,7 @@ class GearsApi(object):
|
|
|
1586
1601
|
if ('body' not in params or
|
|
1587
1602
|
params['body'] is None):
|
|
1588
1603
|
raise ValueError("Missing the required parameter `body` when calling `prepare_add_gear`") # noqa: E501
|
|
1604
|
+
check_filename_params(params)
|
|
1589
1605
|
|
|
1590
1606
|
collection_formats = {}
|
|
1591
1607
|
|
|
@@ -1697,6 +1713,7 @@ class GearsApi(object):
|
|
|
1697
1713
|
if ('body' not in params or
|
|
1698
1714
|
params['body'] is None):
|
|
1699
1715
|
raise ValueError("Missing the required parameter `body` when calling `replace_gear_permissions`") # noqa: E501
|
|
1716
|
+
check_filename_params(params)
|
|
1700
1717
|
|
|
1701
1718
|
collection_formats = {}
|
|
1702
1719
|
|
|
@@ -1806,6 +1823,7 @@ class GearsApi(object):
|
|
|
1806
1823
|
if ('body' not in params or
|
|
1807
1824
|
params['body'] is None):
|
|
1808
1825
|
raise ValueError("Missing the required parameter `body` when calling `save_gear`") # noqa: E501
|
|
1826
|
+
check_filename_params(params)
|
|
1809
1827
|
|
|
1810
1828
|
collection_formats = {}
|
|
1811
1829
|
|
flywheel/api/groups_api.py
CHANGED
|
@@ -20,6 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.api_client import ApiClient
|
|
22
22
|
import flywheel.models
|
|
23
|
+
from flywheel.util import check_filename_params
|
|
23
24
|
|
|
24
25
|
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
26
|
# Do not edit the class manually.
|
|
@@ -87,6 +88,7 @@ class GroupsApi(object):
|
|
|
87
88
|
if ('body' not in params or
|
|
88
89
|
params['body'] is None):
|
|
89
90
|
raise ValueError("Missing the required parameter `body` when calling `add_group`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -200,6 +202,7 @@ class GroupsApi(object):
|
|
|
200
202
|
if ('body' not in params or
|
|
201
203
|
params['body'] is None):
|
|
202
204
|
raise ValueError("Missing the required parameter `body` when calling `add_group_permission`") # noqa: E501
|
|
205
|
+
check_filename_params(params)
|
|
203
206
|
|
|
204
207
|
collection_formats = {}
|
|
205
208
|
|
|
@@ -319,6 +322,7 @@ class GroupsApi(object):
|
|
|
319
322
|
if ('body' not in params or
|
|
320
323
|
params['body'] is None):
|
|
321
324
|
raise ValueError("Missing the required parameter `body` when calling `add_group_permission_template`") # noqa: E501
|
|
325
|
+
check_filename_params(params)
|
|
322
326
|
|
|
323
327
|
collection_formats = {}
|
|
324
328
|
|
|
@@ -439,6 +443,7 @@ class GroupsApi(object):
|
|
|
439
443
|
if ('body' not in params or
|
|
440
444
|
params['body'] is None):
|
|
441
445
|
raise ValueError("Missing the required parameter `body` when calling `add_group_tag`") # noqa: E501
|
|
446
|
+
check_filename_params(params)
|
|
442
447
|
|
|
443
448
|
collection_formats = {}
|
|
444
449
|
|
|
@@ -554,6 +559,7 @@ class GroupsApi(object):
|
|
|
554
559
|
if ('body' not in params or
|
|
555
560
|
params['body'] is None):
|
|
556
561
|
raise ValueError("Missing the required parameter `body` when calling `add_group_tags`") # noqa: E501
|
|
562
|
+
check_filename_params(params)
|
|
557
563
|
|
|
558
564
|
collection_formats = {}
|
|
559
565
|
|
|
@@ -662,6 +668,7 @@ class GroupsApi(object):
|
|
|
662
668
|
if ('body' not in params or
|
|
663
669
|
params['body'] is None):
|
|
664
670
|
raise ValueError("Missing the required parameter `body` when calling `add_role_to_group`") # noqa: E501
|
|
671
|
+
check_filename_params(params)
|
|
665
672
|
|
|
666
673
|
collection_formats = {}
|
|
667
674
|
|
|
@@ -771,6 +778,7 @@ class GroupsApi(object):
|
|
|
771
778
|
if ('group_id' not in params or
|
|
772
779
|
params['group_id'] is None):
|
|
773
780
|
raise ValueError("Missing the required parameter `group_id` when calling `delete_group`") # noqa: E501
|
|
781
|
+
check_filename_params(params)
|
|
774
782
|
|
|
775
783
|
collection_formats = {}
|
|
776
784
|
|
|
@@ -873,6 +881,7 @@ class GroupsApi(object):
|
|
|
873
881
|
if ('value' not in params or
|
|
874
882
|
params['value'] is None):
|
|
875
883
|
raise ValueError("Missing the required parameter `value` when calling `delete_group_tag`") # noqa: E501
|
|
884
|
+
check_filename_params(params)
|
|
876
885
|
|
|
877
886
|
collection_formats = {}
|
|
878
887
|
|
|
@@ -977,6 +986,7 @@ class GroupsApi(object):
|
|
|
977
986
|
if ('body' not in params or
|
|
978
987
|
params['body'] is None):
|
|
979
988
|
raise ValueError("Missing the required parameter `body` when calling `delete_group_tags`") # noqa: E501
|
|
989
|
+
check_filename_params(params)
|
|
980
990
|
|
|
981
991
|
collection_formats = {}
|
|
982
992
|
|
|
@@ -1085,6 +1095,7 @@ class GroupsApi(object):
|
|
|
1085
1095
|
if ('user_id' not in params or
|
|
1086
1096
|
params['user_id'] is None):
|
|
1087
1097
|
raise ValueError("Missing the required parameter `user_id` when calling `delete_group_user_permission`") # noqa: E501
|
|
1098
|
+
check_filename_params(params)
|
|
1088
1099
|
|
|
1089
1100
|
collection_formats = {}
|
|
1090
1101
|
|
|
@@ -1193,6 +1204,7 @@ class GroupsApi(object):
|
|
|
1193
1204
|
if ('user_id' not in params or
|
|
1194
1205
|
params['user_id'] is None):
|
|
1195
1206
|
raise ValueError("Missing the required parameter `user_id` when calling `delete_group_user_permission_template`") # noqa: E501
|
|
1207
|
+
check_filename_params(params)
|
|
1196
1208
|
|
|
1197
1209
|
collection_formats = {}
|
|
1198
1210
|
|
|
@@ -1298,6 +1310,7 @@ class GroupsApi(object):
|
|
|
1298
1310
|
if ('body' not in params or
|
|
1299
1311
|
params['body'] is None):
|
|
1300
1312
|
raise ValueError("Missing the required parameter `body` when calling `delete_groups_by_ids`") # noqa: E501
|
|
1313
|
+
check_filename_params(params)
|
|
1301
1314
|
|
|
1302
1315
|
collection_formats = {}
|
|
1303
1316
|
|
|
@@ -1402,6 +1415,7 @@ class GroupsApi(object):
|
|
|
1402
1415
|
if ('body' not in params or
|
|
1403
1416
|
params['body'] is None):
|
|
1404
1417
|
raise ValueError("Missing the required parameter `body` when calling `delete_groups_by_query`") # noqa: E501
|
|
1418
|
+
check_filename_params(params)
|
|
1405
1419
|
|
|
1406
1420
|
collection_formats = {}
|
|
1407
1421
|
|
|
@@ -1504,6 +1518,7 @@ class GroupsApi(object):
|
|
|
1504
1518
|
if ('group_id' not in params or
|
|
1505
1519
|
params['group_id'] is None):
|
|
1506
1520
|
raise ValueError("Missing the required parameter `group_id` when calling `get_all_group_roles`") # noqa: E501
|
|
1521
|
+
check_filename_params(params)
|
|
1507
1522
|
|
|
1508
1523
|
collection_formats = {}
|
|
1509
1524
|
|
|
@@ -1610,6 +1625,7 @@ class GroupsApi(object):
|
|
|
1610
1625
|
)
|
|
1611
1626
|
params[key] = val
|
|
1612
1627
|
del params['kwargs']
|
|
1628
|
+
check_filename_params(params)
|
|
1613
1629
|
|
|
1614
1630
|
collection_formats = {}
|
|
1615
1631
|
|
|
@@ -1721,6 +1737,7 @@ class GroupsApi(object):
|
|
|
1721
1737
|
if ('group_id' not in params or
|
|
1722
1738
|
params['group_id'] is None):
|
|
1723
1739
|
raise ValueError("Missing the required parameter `group_id` when calling `get_group`") # noqa: E501
|
|
1740
|
+
check_filename_params(params)
|
|
1724
1741
|
|
|
1725
1742
|
collection_formats = {}
|
|
1726
1743
|
|
|
@@ -1835,6 +1852,7 @@ class GroupsApi(object):
|
|
|
1835
1852
|
if ('group_id' not in params or
|
|
1836
1853
|
params['group_id'] is None):
|
|
1837
1854
|
raise ValueError("Missing the required parameter `group_id` when calling `get_group_projects`") # noqa: E501
|
|
1855
|
+
check_filename_params(params)
|
|
1838
1856
|
|
|
1839
1857
|
collection_formats = {}
|
|
1840
1858
|
|
|
@@ -1956,6 +1974,7 @@ class GroupsApi(object):
|
|
|
1956
1974
|
if ('role_id' not in params or
|
|
1957
1975
|
params['role_id'] is None):
|
|
1958
1976
|
raise ValueError("Missing the required parameter `role_id` when calling `get_group_role`") # noqa: E501
|
|
1977
|
+
check_filename_params(params)
|
|
1959
1978
|
|
|
1960
1979
|
collection_formats = {}
|
|
1961
1980
|
|
|
@@ -2060,6 +2079,7 @@ class GroupsApi(object):
|
|
|
2060
2079
|
if ('value' not in params or
|
|
2061
2080
|
params['value'] is None):
|
|
2062
2081
|
raise ValueError("Missing the required parameter `value` when calling `get_group_tag`") # noqa: E501
|
|
2082
|
+
check_filename_params(params)
|
|
2063
2083
|
|
|
2064
2084
|
collection_formats = {}
|
|
2065
2085
|
|
|
@@ -2164,6 +2184,7 @@ class GroupsApi(object):
|
|
|
2164
2184
|
if ('user_id' not in params or
|
|
2165
2185
|
params['user_id'] is None):
|
|
2166
2186
|
raise ValueError("Missing the required parameter `user_id` when calling `get_group_user_permission`") # noqa: E501
|
|
2187
|
+
check_filename_params(params)
|
|
2167
2188
|
|
|
2168
2189
|
collection_formats = {}
|
|
2169
2190
|
|
|
@@ -2268,6 +2289,7 @@ class GroupsApi(object):
|
|
|
2268
2289
|
if ('user_id' not in params or
|
|
2269
2290
|
params['user_id'] is None):
|
|
2270
2291
|
raise ValueError("Missing the required parameter `user_id` when calling `get_group_user_permission_template`") # noqa: E501
|
|
2292
|
+
check_filename_params(params)
|
|
2271
2293
|
|
|
2272
2294
|
collection_formats = {}
|
|
2273
2295
|
|
|
@@ -2372,6 +2394,7 @@ class GroupsApi(object):
|
|
|
2372
2394
|
if ('body' not in params or
|
|
2373
2395
|
params['body'] is None):
|
|
2374
2396
|
raise ValueError("Missing the required parameter `body` when calling `modify_group`") # noqa: E501
|
|
2397
|
+
check_filename_params(params)
|
|
2375
2398
|
|
|
2376
2399
|
collection_formats = {}
|
|
2377
2400
|
|
|
@@ -2493,6 +2516,7 @@ class GroupsApi(object):
|
|
|
2493
2516
|
if ('body' not in params or
|
|
2494
2517
|
params['body'] is None):
|
|
2495
2518
|
raise ValueError("Missing the required parameter `body` when calling `modify_group_user_permission`") # noqa: E501
|
|
2519
|
+
check_filename_params(params)
|
|
2496
2520
|
|
|
2497
2521
|
collection_formats = {}
|
|
2498
2522
|
|
|
@@ -2620,6 +2644,7 @@ class GroupsApi(object):
|
|
|
2620
2644
|
if ('body' not in params or
|
|
2621
2645
|
params['body'] is None):
|
|
2622
2646
|
raise ValueError("Missing the required parameter `body` when calling `modify_group_user_permission_template`") # noqa: E501
|
|
2647
|
+
check_filename_params(params)
|
|
2623
2648
|
|
|
2624
2649
|
collection_formats = {}
|
|
2625
2650
|
|
|
@@ -2742,6 +2767,7 @@ class GroupsApi(object):
|
|
|
2742
2767
|
if ('role_id' not in params or
|
|
2743
2768
|
params['role_id'] is None):
|
|
2744
2769
|
raise ValueError("Missing the required parameter `role_id` when calling `remove_role_from_group`") # noqa: E501
|
|
2770
|
+
check_filename_params(params)
|
|
2745
2771
|
|
|
2746
2772
|
collection_formats = {}
|
|
2747
2773
|
|
|
@@ -2852,6 +2878,7 @@ class GroupsApi(object):
|
|
|
2852
2878
|
if ('body' not in params or
|
|
2853
2879
|
params['body'] is None):
|
|
2854
2880
|
raise ValueError("Missing the required parameter `body` when calling `rename_group_tag`") # noqa: E501
|
|
2881
|
+
check_filename_params(params)
|
|
2855
2882
|
|
|
2856
2883
|
collection_formats = {}
|
|
2857
2884
|
|
flywheel/api/jobs_api.py
CHANGED
|
@@ -20,6 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.api_client import ApiClient
|
|
22
22
|
import flywheel.models
|
|
23
|
+
from flywheel.util import check_filename_params
|
|
23
24
|
|
|
24
25
|
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
26
|
# Do not edit the class manually.
|
|
@@ -87,6 +88,7 @@ class JobsApi(object):
|
|
|
87
88
|
if ('body' not in params or
|
|
88
89
|
params['body'] is None):
|
|
89
90
|
raise ValueError("Missing the required parameter `body` when calling `add_job`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -198,6 +200,7 @@ class JobsApi(object):
|
|
|
198
200
|
if ('body' not in params or
|
|
199
201
|
params['body'] is None):
|
|
200
202
|
raise ValueError("Missing the required parameter `body` when calling `add_job_logs`") # noqa: E501
|
|
203
|
+
check_filename_params(params)
|
|
201
204
|
|
|
202
205
|
collection_formats = {}
|
|
203
206
|
|
|
@@ -300,6 +303,7 @@ class JobsApi(object):
|
|
|
300
303
|
if ('body' not in params or
|
|
301
304
|
params['body'] is None):
|
|
302
305
|
raise ValueError("Missing the required parameter `body` when calling `ask_jobs`") # noqa: E501
|
|
306
|
+
check_filename_params(params)
|
|
303
307
|
|
|
304
308
|
collection_formats = {}
|
|
305
309
|
|
|
@@ -413,6 +417,7 @@ class JobsApi(object):
|
|
|
413
417
|
if ('body' not in params or
|
|
414
418
|
params['body'] is None):
|
|
415
419
|
raise ValueError("Missing the required parameter `body` when calling `ask_jobs_state`") # noqa: E501
|
|
420
|
+
check_filename_params(params)
|
|
416
421
|
|
|
417
422
|
collection_formats = {}
|
|
418
423
|
|
|
@@ -528,6 +533,7 @@ class JobsApi(object):
|
|
|
528
533
|
if ('body' not in params or
|
|
529
534
|
params['body'] is None):
|
|
530
535
|
raise ValueError("Missing the required parameter `body` when calling `complete_job`") # noqa: E501
|
|
536
|
+
check_filename_params(params)
|
|
531
537
|
|
|
532
538
|
collection_formats = {}
|
|
533
539
|
|
|
@@ -637,6 +643,7 @@ class JobsApi(object):
|
|
|
637
643
|
if ('body' not in params or
|
|
638
644
|
params['body'] is None):
|
|
639
645
|
raise ValueError("Missing the required parameter `body` when calling `determine_provider_for_job`") # noqa: E501
|
|
646
|
+
check_filename_params(params)
|
|
640
647
|
|
|
641
648
|
collection_formats = {}
|
|
642
649
|
|
|
@@ -750,6 +757,7 @@ class JobsApi(object):
|
|
|
750
757
|
if ('body' not in params or
|
|
751
758
|
params['body'] is None):
|
|
752
759
|
raise ValueError("Missing the required parameter `body` when calling `engine_complete_job`") # noqa: E501
|
|
760
|
+
check_filename_params(params)
|
|
753
761
|
|
|
754
762
|
collection_formats = {}
|
|
755
763
|
|
|
@@ -859,6 +867,7 @@ class JobsApi(object):
|
|
|
859
867
|
if ('job_id' not in params or
|
|
860
868
|
params['job_id'] is None):
|
|
861
869
|
raise ValueError("Missing the required parameter `job_id` when calling `engine_prepare_complete_job`") # noqa: E501
|
|
870
|
+
check_filename_params(params)
|
|
862
871
|
|
|
863
872
|
collection_formats = {}
|
|
864
873
|
|
|
@@ -965,6 +974,7 @@ class JobsApi(object):
|
|
|
965
974
|
)
|
|
966
975
|
params[key] = val
|
|
967
976
|
del params['kwargs']
|
|
977
|
+
check_filename_params(params)
|
|
968
978
|
|
|
969
979
|
collection_formats = {}
|
|
970
980
|
|
|
@@ -1076,6 +1086,7 @@ class JobsApi(object):
|
|
|
1076
1086
|
if ('job_id' not in params or
|
|
1077
1087
|
params['job_id'] is None):
|
|
1078
1088
|
raise ValueError("Missing the required parameter `job_id` when calling `get_job`") # noqa: E501
|
|
1089
|
+
check_filename_params(params)
|
|
1079
1090
|
|
|
1080
1091
|
collection_formats = {}
|
|
1081
1092
|
|
|
@@ -1170,6 +1181,7 @@ class JobsApi(object):
|
|
|
1170
1181
|
if ('job_id' not in params or
|
|
1171
1182
|
params['job_id'] is None):
|
|
1172
1183
|
raise ValueError("Missing the required parameter `job_id` when calling `get_job_config`") # noqa: E501
|
|
1184
|
+
check_filename_params(params)
|
|
1173
1185
|
|
|
1174
1186
|
collection_formats = {}
|
|
1175
1187
|
|
|
@@ -1264,6 +1276,7 @@ class JobsApi(object):
|
|
|
1264
1276
|
if ('job_id' not in params or
|
|
1265
1277
|
params['job_id'] is None):
|
|
1266
1278
|
raise ValueError("Missing the required parameter `job_id` when calling `get_job_detail`") # noqa: E501
|
|
1279
|
+
check_filename_params(params)
|
|
1267
1280
|
|
|
1268
1281
|
collection_formats = {}
|
|
1269
1282
|
|
|
@@ -1358,6 +1371,7 @@ class JobsApi(object):
|
|
|
1358
1371
|
if ('job_id' not in params or
|
|
1359
1372
|
params['job_id'] is None):
|
|
1360
1373
|
raise ValueError("Missing the required parameter `job_id` when calling `get_job_logs`") # noqa: E501
|
|
1374
|
+
check_filename_params(params)
|
|
1361
1375
|
|
|
1362
1376
|
collection_formats = {}
|
|
1363
1377
|
|
|
@@ -1446,6 +1460,7 @@ class JobsApi(object):
|
|
|
1446
1460
|
)
|
|
1447
1461
|
params[key] = val
|
|
1448
1462
|
del params['kwargs']
|
|
1463
|
+
check_filename_params(params)
|
|
1449
1464
|
|
|
1450
1465
|
collection_formats = {}
|
|
1451
1466
|
|
|
@@ -1538,6 +1553,7 @@ class JobsApi(object):
|
|
|
1538
1553
|
)
|
|
1539
1554
|
params[key] = val
|
|
1540
1555
|
del params['kwargs']
|
|
1556
|
+
check_filename_params(params)
|
|
1541
1557
|
|
|
1542
1558
|
collection_formats = {}
|
|
1543
1559
|
|
|
@@ -1644,6 +1660,7 @@ class JobsApi(object):
|
|
|
1644
1660
|
if ('body' not in params or
|
|
1645
1661
|
params['body'] is None):
|
|
1646
1662
|
raise ValueError("Missing the required parameter `body` when calling `modify_job`") # noqa: E501
|
|
1663
|
+
check_filename_params(params)
|
|
1647
1664
|
|
|
1648
1665
|
collection_formats = {}
|
|
1649
1666
|
|
|
@@ -1751,6 +1768,7 @@ class JobsApi(object):
|
|
|
1751
1768
|
if ('job_id' not in params or
|
|
1752
1769
|
params['job_id'] is None):
|
|
1753
1770
|
raise ValueError("Missing the required parameter `job_id` when calling `prepare_complete_job`") # noqa: E501
|
|
1771
|
+
check_filename_params(params)
|
|
1754
1772
|
|
|
1755
1773
|
collection_formats = {}
|
|
1756
1774
|
|
|
@@ -1839,6 +1857,7 @@ class JobsApi(object):
|
|
|
1839
1857
|
)
|
|
1840
1858
|
params[key] = val
|
|
1841
1859
|
del params['kwargs']
|
|
1860
|
+
check_filename_params(params)
|
|
1842
1861
|
|
|
1843
1862
|
collection_formats = {}
|
|
1844
1863
|
|
|
@@ -1937,6 +1956,7 @@ class JobsApi(object):
|
|
|
1937
1956
|
if ('job_id' not in params or
|
|
1938
1957
|
params['job_id'] is None):
|
|
1939
1958
|
raise ValueError("Missing the required parameter `job_id` when calling `retry_job`") # noqa: E501
|
|
1959
|
+
check_filename_params(params)
|
|
1940
1960
|
|
|
1941
1961
|
collection_formats = {}
|
|
1942
1962
|
|
|
@@ -2043,6 +2063,7 @@ class JobsApi(object):
|
|
|
2043
2063
|
if ('body' not in params or
|
|
2044
2064
|
params['body'] is None):
|
|
2045
2065
|
raise ValueError("Missing the required parameter `body` when calling `update_job_profile`") # noqa: E501
|
|
2066
|
+
check_filename_params(params)
|
|
2046
2067
|
|
|
2047
2068
|
collection_formats = {}
|
|
2048
2069
|
|
|
@@ -2150,6 +2171,7 @@ class JobsApi(object):
|
|
|
2150
2171
|
if ('body' not in params or
|
|
2151
2172
|
params['body'] is None):
|
|
2152
2173
|
raise ValueError("Missing the required parameter `body` when calling `update_jobs_priority`") # noqa: E501
|
|
2174
|
+
check_filename_params(params)
|
|
2153
2175
|
|
|
2154
2176
|
collection_formats = {}
|
|
2155
2177
|
|
|
@@ -20,6 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.api_client import ApiClient
|
|
22
22
|
import flywheel.models
|
|
23
|
+
from flywheel.util import check_filename_params
|
|
23
24
|
|
|
24
25
|
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
26
|
# Do not edit the class manually.
|
|
@@ -87,6 +88,7 @@ class JupyterlabServersApi(object):
|
|
|
87
88
|
if ('jupyterlab_server_id' not in params or
|
|
88
89
|
params['jupyterlab_server_id'] is None):
|
|
89
90
|
raise ValueError("Missing the required parameter `jupyterlab_server_id` when calling `get_jupyterlab_server`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -189,6 +191,7 @@ class JupyterlabServersApi(object):
|
|
|
189
191
|
if ('body' not in params or
|
|
190
192
|
params['body'] is None):
|
|
191
193
|
raise ValueError("Missing the required parameter `body` when calling `modify_jupyterlab_server`") # noqa: E501
|
|
194
|
+
check_filename_params(params)
|
|
192
195
|
|
|
193
196
|
collection_formats = {}
|
|
194
197
|
|