flywheel-sdk 20.2.0rc3__py2.py3-none-any.whl → 20.3.2rc0__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.0rc3.dist-info → flywheel_sdk-20.3.2rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.2rc0.dist-info}/RECORD +73 -68
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.2rc0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.2rc0.dist-info}/licenses/LICENSE.txt +0 -0
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.2rc0.dist-info}/top_level.txt +0 -0
flywheel/api/audit_trail_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 AuditTrailApi(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_audit_trail_report`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -194,6 +196,7 @@ class AuditTrailApi(object):
|
|
|
194
196
|
if ('report_id' not in params or
|
|
195
197
|
params['report_id'] is None):
|
|
196
198
|
raise ValueError("Missing the required parameter `report_id` when calling `delete_audit_trail_report`") # noqa: E501
|
|
199
|
+
check_filename_params(params)
|
|
197
200
|
|
|
198
201
|
collection_formats = {}
|
|
199
202
|
|
|
@@ -290,6 +293,7 @@ class AuditTrailApi(object):
|
|
|
290
293
|
if ('report_id' not in params or
|
|
291
294
|
params['report_id'] is None):
|
|
292
295
|
raise ValueError("Missing the required parameter `report_id` when calling `download_audit_trail_report`") # noqa: E501
|
|
296
|
+
check_filename_params(params)
|
|
293
297
|
|
|
294
298
|
collection_formats = {}
|
|
295
299
|
|
|
@@ -394,6 +398,7 @@ class AuditTrailApi(object):
|
|
|
394
398
|
)
|
|
395
399
|
params[key] = val
|
|
396
400
|
del params['kwargs']
|
|
401
|
+
check_filename_params(params)
|
|
397
402
|
|
|
398
403
|
collection_formats = {}
|
|
399
404
|
|
|
@@ -509,6 +514,7 @@ class AuditTrailApi(object):
|
|
|
509
514
|
if ('body' not in params or
|
|
510
515
|
params['body'] is None):
|
|
511
516
|
raise ValueError("Missing the required parameter `body` when calling `modify_audit_trail_report`") # noqa: E501
|
|
517
|
+
check_filename_params(params)
|
|
512
518
|
|
|
513
519
|
collection_formats = {}
|
|
514
520
|
|
flywheel/api/auth_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.
|
|
@@ -81,6 +82,7 @@ class AuthApi(object):
|
|
|
81
82
|
)
|
|
82
83
|
params[key] = val
|
|
83
84
|
del params['kwargs']
|
|
85
|
+
check_filename_params(params)
|
|
84
86
|
|
|
85
87
|
collection_formats = {}
|
|
86
88
|
|
flywheel/api/batch_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 BatchApi(object):
|
|
|
87
88
|
if ('batch_id' not in params or
|
|
88
89
|
params['batch_id'] is None):
|
|
89
90
|
raise ValueError("Missing the required parameter `batch_id` when calling `cancel_batch`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -183,6 +185,7 @@ class BatchApi(object):
|
|
|
183
185
|
if ('body' not in params or
|
|
184
186
|
params['body'] is None):
|
|
185
187
|
raise ValueError("Missing the required parameter `body` when calling `create_batch_job_from_jobs`") # noqa: E501
|
|
188
|
+
check_filename_params(params)
|
|
186
189
|
|
|
187
190
|
collection_formats = {}
|
|
188
191
|
|
|
@@ -284,6 +287,7 @@ class BatchApi(object):
|
|
|
284
287
|
)
|
|
285
288
|
params[key] = val
|
|
286
289
|
del params['kwargs']
|
|
290
|
+
check_filename_params(params)
|
|
287
291
|
|
|
288
292
|
collection_formats = {}
|
|
289
293
|
|
|
@@ -378,6 +382,7 @@ class BatchApi(object):
|
|
|
378
382
|
if ('batch_id' not in params or
|
|
379
383
|
params['batch_id'] is None):
|
|
380
384
|
raise ValueError("Missing the required parameter `batch_id` when calling `get_batch`") # noqa: E501
|
|
385
|
+
check_filename_params(params)
|
|
381
386
|
|
|
382
387
|
collection_formats = {}
|
|
383
388
|
|
|
@@ -476,6 +481,7 @@ class BatchApi(object):
|
|
|
476
481
|
if ('body' not in params or
|
|
477
482
|
params['body'] is None):
|
|
478
483
|
raise ValueError("Missing the required parameter `body` when calling `propose_batch`") # noqa: E501
|
|
484
|
+
check_filename_params(params)
|
|
479
485
|
|
|
480
486
|
collection_formats = {}
|
|
481
487
|
|
|
@@ -583,6 +589,7 @@ class BatchApi(object):
|
|
|
583
589
|
if ('batch_id' not in params or
|
|
584
590
|
params['batch_id'] is None):
|
|
585
591
|
raise ValueError("Missing the required parameter `batch_id` when calling `start_batch`") # noqa: E501
|
|
592
|
+
check_filename_params(params)
|
|
586
593
|
|
|
587
594
|
collection_formats = {}
|
|
588
595
|
|
flywheel/api/bulk_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 BulkApi(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 `bulk_move_sessions`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
flywheel/api/change_log_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 ChangeLogApi(object):
|
|
|
93
94
|
if ('container_id' not in params or
|
|
94
95
|
params['container_id'] is None):
|
|
95
96
|
raise ValueError("Missing the required parameter `container_id` when calling `get_change_log`") # noqa: E501
|
|
97
|
+
check_filename_params(params)
|
|
96
98
|
|
|
97
99
|
collection_formats = {}
|
|
98
100
|
|
|
@@ -205,6 +207,7 @@ class ChangeLogApi(object):
|
|
|
205
207
|
if ('field' not in params or
|
|
206
208
|
params['field'] is None):
|
|
207
209
|
raise ValueError("Missing the required parameter `field` when calling `get_field_change_log`") # noqa: E501
|
|
210
|
+
check_filename_params(params)
|
|
208
211
|
|
|
209
212
|
collection_formats = {}
|
|
210
213
|
|
flywheel/api/collections_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 CollectionsApi(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_collection`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -200,6 +202,7 @@ class CollectionsApi(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_collection_note`") # noqa: E501
|
|
205
|
+
check_filename_params(params)
|
|
203
206
|
|
|
204
207
|
collection_formats = {}
|
|
205
208
|
|
|
@@ -315,6 +318,7 @@ class CollectionsApi(object):
|
|
|
315
318
|
if ('body' not in params or
|
|
316
319
|
params['body'] is None):
|
|
317
320
|
raise ValueError("Missing the required parameter `body` when calling `add_collection_permission`") # noqa: E501
|
|
321
|
+
check_filename_params(params)
|
|
318
322
|
|
|
319
323
|
collection_formats = {}
|
|
320
324
|
|
|
@@ -430,6 +434,7 @@ class CollectionsApi(object):
|
|
|
430
434
|
if ('body' not in params or
|
|
431
435
|
params['body'] is None):
|
|
432
436
|
raise ValueError("Missing the required parameter `body` when calling `add_collection_tag`") # noqa: E501
|
|
437
|
+
check_filename_params(params)
|
|
433
438
|
|
|
434
439
|
collection_formats = {}
|
|
435
440
|
|
|
@@ -545,6 +550,7 @@ class CollectionsApi(object):
|
|
|
545
550
|
if ('body' not in params or
|
|
546
551
|
params['body'] is None):
|
|
547
552
|
raise ValueError("Missing the required parameter `body` when calling `add_collection_tags`") # noqa: E501
|
|
553
|
+
check_filename_params(params)
|
|
548
554
|
|
|
549
555
|
collection_formats = {}
|
|
550
556
|
|
|
@@ -647,6 +653,7 @@ class CollectionsApi(object):
|
|
|
647
653
|
if ('collection_id' not in params or
|
|
648
654
|
params['collection_id'] is None):
|
|
649
655
|
raise ValueError("Missing the required parameter `collection_id` when calling `delete_collection`") # noqa: E501
|
|
656
|
+
check_filename_params(params)
|
|
650
657
|
|
|
651
658
|
collection_formats = {}
|
|
652
659
|
|
|
@@ -753,6 +760,7 @@ class CollectionsApi(object):
|
|
|
753
760
|
if ('filename' not in params or
|
|
754
761
|
params['filename'] is None):
|
|
755
762
|
raise ValueError("Missing the required parameter `filename` when calling `delete_collection_file`") # noqa: E501
|
|
763
|
+
check_filename_params(params)
|
|
756
764
|
|
|
757
765
|
collection_formats = {}
|
|
758
766
|
|
|
@@ -861,6 +869,7 @@ class CollectionsApi(object):
|
|
|
861
869
|
if ('note_id' not in params or
|
|
862
870
|
params['note_id'] is None):
|
|
863
871
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_collection_note`") # noqa: E501
|
|
872
|
+
check_filename_params(params)
|
|
864
873
|
|
|
865
874
|
collection_formats = {}
|
|
866
875
|
|
|
@@ -965,6 +974,7 @@ class CollectionsApi(object):
|
|
|
965
974
|
if ('value' not in params or
|
|
966
975
|
params['value'] is None):
|
|
967
976
|
raise ValueError("Missing the required parameter `value` when calling `delete_collection_tag`") # noqa: E501
|
|
977
|
+
check_filename_params(params)
|
|
968
978
|
|
|
969
979
|
collection_formats = {}
|
|
970
980
|
|
|
@@ -1069,6 +1079,7 @@ class CollectionsApi(object):
|
|
|
1069
1079
|
if ('body' not in params or
|
|
1070
1080
|
params['body'] is None):
|
|
1071
1081
|
raise ValueError("Missing the required parameter `body` when calling `delete_collection_tags`") # noqa: E501
|
|
1082
|
+
check_filename_params(params)
|
|
1072
1083
|
|
|
1073
1084
|
collection_formats = {}
|
|
1074
1085
|
|
|
@@ -1177,6 +1188,7 @@ class CollectionsApi(object):
|
|
|
1177
1188
|
if ('user_id' not in params or
|
|
1178
1189
|
params['user_id'] is None):
|
|
1179
1190
|
raise ValueError("Missing the required parameter `user_id` when calling `delete_collection_user_permission`") # noqa: E501
|
|
1191
|
+
check_filename_params(params)
|
|
1180
1192
|
|
|
1181
1193
|
collection_formats = {}
|
|
1182
1194
|
|
|
@@ -1277,6 +1289,7 @@ class CollectionsApi(object):
|
|
|
1277
1289
|
if ('body' not in params or
|
|
1278
1290
|
params['body'] is None):
|
|
1279
1291
|
raise ValueError("Missing the required parameter `body` when calling `delete_collections_by_ids`") # noqa: E501
|
|
1292
|
+
check_filename_params(params)
|
|
1280
1293
|
|
|
1281
1294
|
collection_formats = {}
|
|
1282
1295
|
|
|
@@ -1381,6 +1394,7 @@ class CollectionsApi(object):
|
|
|
1381
1394
|
if ('body' not in params or
|
|
1382
1395
|
params['body'] is None):
|
|
1383
1396
|
raise ValueError("Missing the required parameter `body` when calling `delete_collections_by_query`") # noqa: E501
|
|
1397
|
+
check_filename_params(params)
|
|
1384
1398
|
|
|
1385
1399
|
collection_formats = {}
|
|
1386
1400
|
|
|
@@ -1503,6 +1517,7 @@ class CollectionsApi(object):
|
|
|
1503
1517
|
if ('file_name' not in params or
|
|
1504
1518
|
params['file_name'] is None):
|
|
1505
1519
|
raise ValueError("Missing the required parameter `file_name` when calling `download_file_from_collection`") # noqa: E501
|
|
1520
|
+
check_filename_params(params)
|
|
1506
1521
|
|
|
1507
1522
|
collection_formats = {}
|
|
1508
1523
|
|
|
@@ -1638,6 +1653,7 @@ class CollectionsApi(object):
|
|
|
1638
1653
|
if ('file_name' not in params or
|
|
1639
1654
|
params['file_name'] is None):
|
|
1640
1655
|
raise ValueError("Missing the required parameter `file_name` when calling `get_collection_file_zip_info`") # noqa: E501
|
|
1656
|
+
check_filename_params(params)
|
|
1641
1657
|
|
|
1642
1658
|
collection_formats = {}
|
|
1643
1659
|
|
|
@@ -1775,6 +1791,7 @@ class CollectionsApi(object):
|
|
|
1775
1791
|
if ('file_name' not in params or
|
|
1776
1792
|
params['file_name'] is None):
|
|
1777
1793
|
raise ValueError("Missing the required parameter `file_name` when calling `get_collection_download_ticket`") # noqa: E501
|
|
1794
|
+
check_filename_params(params)
|
|
1778
1795
|
|
|
1779
1796
|
collection_formats = {}
|
|
1780
1797
|
|
|
@@ -1912,6 +1929,7 @@ class CollectionsApi(object):
|
|
|
1912
1929
|
)
|
|
1913
1930
|
params[key] = val
|
|
1914
1931
|
del params['kwargs']
|
|
1932
|
+
check_filename_params(params)
|
|
1915
1933
|
|
|
1916
1934
|
collection_formats = {}
|
|
1917
1935
|
|
|
@@ -2041,6 +2059,7 @@ class CollectionsApi(object):
|
|
|
2041
2059
|
)
|
|
2042
2060
|
params[key] = val
|
|
2043
2061
|
del params['kwargs']
|
|
2062
|
+
check_filename_params(params)
|
|
2044
2063
|
|
|
2045
2064
|
collection_formats = {}
|
|
2046
2065
|
|
|
@@ -2153,6 +2172,7 @@ class CollectionsApi(object):
|
|
|
2153
2172
|
if ('collection_id' not in params or
|
|
2154
2173
|
params['collection_id'] is None):
|
|
2155
2174
|
raise ValueError("Missing the required parameter `collection_id` when calling `get_collection`") # noqa: E501
|
|
2175
|
+
check_filename_params(params)
|
|
2156
2176
|
|
|
2157
2177
|
collection_formats = {}
|
|
2158
2178
|
|
|
@@ -2272,6 +2292,7 @@ class CollectionsApi(object):
|
|
|
2272
2292
|
if ('collection_id' not in params or
|
|
2273
2293
|
params['collection_id'] is None):
|
|
2274
2294
|
raise ValueError("Missing the required parameter `collection_id` when calling `get_collection_acquisitions`") # noqa: E501
|
|
2295
|
+
check_filename_params(params)
|
|
2275
2296
|
|
|
2276
2297
|
collection_formats = {}
|
|
2277
2298
|
|
|
@@ -2391,6 +2412,7 @@ class CollectionsApi(object):
|
|
|
2391
2412
|
if ('filename' not in params or
|
|
2392
2413
|
params['filename'] is None):
|
|
2393
2414
|
raise ValueError("Missing the required parameter `filename` when calling `get_collection_file_info`") # noqa: E501
|
|
2415
|
+
check_filename_params(params)
|
|
2394
2416
|
|
|
2395
2417
|
collection_formats = {}
|
|
2396
2418
|
|
|
@@ -2495,6 +2517,7 @@ class CollectionsApi(object):
|
|
|
2495
2517
|
if ('note_id' not in params or
|
|
2496
2518
|
params['note_id'] is None):
|
|
2497
2519
|
raise ValueError("Missing the required parameter `note_id` when calling `get_collection_note`") # noqa: E501
|
|
2520
|
+
check_filename_params(params)
|
|
2498
2521
|
|
|
2499
2522
|
collection_formats = {}
|
|
2500
2523
|
|
|
@@ -2609,6 +2632,7 @@ class CollectionsApi(object):
|
|
|
2609
2632
|
if ('collection_id' not in params or
|
|
2610
2633
|
params['collection_id'] is None):
|
|
2611
2634
|
raise ValueError("Missing the required parameter `collection_id` when calling `get_collection_sessions`") # noqa: E501
|
|
2635
|
+
check_filename_params(params)
|
|
2612
2636
|
|
|
2613
2637
|
collection_formats = {}
|
|
2614
2638
|
|
|
@@ -2728,6 +2752,7 @@ class CollectionsApi(object):
|
|
|
2728
2752
|
if ('value' not in params or
|
|
2729
2753
|
params['value'] is None):
|
|
2730
2754
|
raise ValueError("Missing the required parameter `value` when calling `get_collection_tag`") # noqa: E501
|
|
2755
|
+
check_filename_params(params)
|
|
2731
2756
|
|
|
2732
2757
|
collection_formats = {}
|
|
2733
2758
|
|
|
@@ -2832,6 +2857,7 @@ class CollectionsApi(object):
|
|
|
2832
2857
|
if ('user_id' not in params or
|
|
2833
2858
|
params['user_id'] is None):
|
|
2834
2859
|
raise ValueError("Missing the required parameter `user_id` when calling `get_collection_user_permission`") # noqa: E501
|
|
2860
|
+
check_filename_params(params)
|
|
2835
2861
|
|
|
2836
2862
|
collection_formats = {}
|
|
2837
2863
|
|
|
@@ -2936,6 +2962,7 @@ class CollectionsApi(object):
|
|
|
2936
2962
|
if ('body' not in params or
|
|
2937
2963
|
params['body'] is None):
|
|
2938
2964
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection`") # noqa: E501
|
|
2965
|
+
check_filename_params(params)
|
|
2939
2966
|
|
|
2940
2967
|
collection_formats = {}
|
|
2941
2968
|
|
|
@@ -3057,6 +3084,7 @@ class CollectionsApi(object):
|
|
|
3057
3084
|
if ('body' not in params or
|
|
3058
3085
|
params['body'] is None):
|
|
3059
3086
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection_file`") # noqa: E501
|
|
3087
|
+
check_filename_params(params)
|
|
3060
3088
|
|
|
3061
3089
|
collection_formats = {}
|
|
3062
3090
|
|
|
@@ -3180,6 +3208,7 @@ class CollectionsApi(object):
|
|
|
3180
3208
|
if ('body' not in params or
|
|
3181
3209
|
params['body'] is None):
|
|
3182
3210
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection_file_classification`") # noqa: E501
|
|
3211
|
+
check_filename_params(params)
|
|
3183
3212
|
|
|
3184
3213
|
collection_formats = {}
|
|
3185
3214
|
|
|
@@ -3303,6 +3332,7 @@ class CollectionsApi(object):
|
|
|
3303
3332
|
if ('body' not in params or
|
|
3304
3333
|
params['body'] is None):
|
|
3305
3334
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection_file_info`") # noqa: E501
|
|
3335
|
+
check_filename_params(params)
|
|
3306
3336
|
|
|
3307
3337
|
collection_formats = {}
|
|
3308
3338
|
|
|
@@ -3420,6 +3450,7 @@ class CollectionsApi(object):
|
|
|
3420
3450
|
if ('body' not in params or
|
|
3421
3451
|
params['body'] is None):
|
|
3422
3452
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection_info`") # noqa: E501
|
|
3453
|
+
check_filename_params(params)
|
|
3423
3454
|
|
|
3424
3455
|
collection_formats = {}
|
|
3425
3456
|
|
|
@@ -3541,6 +3572,7 @@ class CollectionsApi(object):
|
|
|
3541
3572
|
if ('body' not in params or
|
|
3542
3573
|
params['body'] is None):
|
|
3543
3574
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection_note`") # noqa: E501
|
|
3575
|
+
check_filename_params(params)
|
|
3544
3576
|
|
|
3545
3577
|
collection_formats = {}
|
|
3546
3578
|
|
|
@@ -3664,6 +3696,7 @@ class CollectionsApi(object):
|
|
|
3664
3696
|
if ('body' not in params or
|
|
3665
3697
|
params['body'] is None):
|
|
3666
3698
|
raise ValueError("Missing the required parameter `body` when calling `modify_collection_user_permission`") # noqa: E501
|
|
3699
|
+
check_filename_params(params)
|
|
3667
3700
|
|
|
3668
3701
|
collection_formats = {}
|
|
3669
3702
|
|
|
@@ -3787,6 +3820,7 @@ class CollectionsApi(object):
|
|
|
3787
3820
|
if ('body' not in params or
|
|
3788
3821
|
params['body'] is None):
|
|
3789
3822
|
raise ValueError("Missing the required parameter `body` when calling `rename_collection_tag`") # noqa: E501
|
|
3823
|
+
check_filename_params(params)
|
|
3790
3824
|
|
|
3791
3825
|
collection_formats = {}
|
|
3792
3826
|
|
|
@@ -3920,6 +3954,7 @@ class CollectionsApi(object):
|
|
|
3920
3954
|
if ('file' not in params or
|
|
3921
3955
|
params['file'] is None):
|
|
3922
3956
|
raise ValueError("Missing the required parameter `file` when calling `upload_file_to_collection`") # noqa: E501
|
|
3957
|
+
check_filename_params(params)
|
|
3923
3958
|
|
|
3924
3959
|
collection_formats = {}
|
|
3925
3960
|
|
flywheel/api/config_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.
|
|
@@ -81,6 +82,7 @@ class ConfigApi(object):
|
|
|
81
82
|
)
|
|
82
83
|
params[key] = val
|
|
83
84
|
del params['kwargs']
|
|
85
|
+
check_filename_params(params)
|
|
84
86
|
|
|
85
87
|
collection_formats = {}
|
|
86
88
|
|
|
@@ -169,6 +171,7 @@ class ConfigApi(object):
|
|
|
169
171
|
)
|
|
170
172
|
params[key] = val
|
|
171
173
|
del params['kwargs']
|
|
174
|
+
check_filename_params(params)
|
|
172
175
|
|
|
173
176
|
collection_formats = {}
|
|
174
177
|
|
|
@@ -257,6 +260,7 @@ class ConfigApi(object):
|
|
|
257
260
|
)
|
|
258
261
|
params[key] = val
|
|
259
262
|
del params['kwargs']
|
|
263
|
+
check_filename_params(params)
|
|
260
264
|
|
|
261
265
|
collection_formats = {}
|
|
262
266
|
|
|
@@ -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 ContainerTypeApi(object):
|
|
|
93
94
|
if ('path' not in params or
|
|
94
95
|
params['path'] is None):
|
|
95
96
|
raise ValueError("Missing the required parameter `path` when calling `cleanup_info`") # noqa: E501
|
|
97
|
+
check_filename_params(params)
|
|
96
98
|
|
|
97
99
|
collection_formats = {}
|
|
98
100
|
|