flywheel-sdk 20.2.0rc3__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.0rc3.dist-info → flywheel_sdk-20.3.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0.dist-info}/RECORD +73 -68
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0.dist-info}/licenses/LICENSE.txt +0 -0
- {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0.dist-info}/top_level.txt +0 -0
flywheel/api/subjects_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 SubjectsApi(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_subject`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -204,6 +206,7 @@ class SubjectsApi(object):
|
|
|
204
206
|
if ('body' not in params or
|
|
205
207
|
params['body'] is None):
|
|
206
208
|
raise ValueError("Missing the required parameter `body` when calling `add_subject_analysis`") # noqa: E501
|
|
209
|
+
check_filename_params(params)
|
|
207
210
|
|
|
208
211
|
collection_formats = {}
|
|
209
212
|
|
|
@@ -331,6 +334,7 @@ class SubjectsApi(object):
|
|
|
331
334
|
if ('body' not in params or
|
|
332
335
|
params['body'] is None):
|
|
333
336
|
raise ValueError("Missing the required parameter `body` when calling `add_subject_analysis_note`") # noqa: E501
|
|
337
|
+
check_filename_params(params)
|
|
334
338
|
|
|
335
339
|
collection_formats = {}
|
|
336
340
|
|
|
@@ -448,6 +452,7 @@ class SubjectsApi(object):
|
|
|
448
452
|
if ('body' not in params or
|
|
449
453
|
params['body'] is None):
|
|
450
454
|
raise ValueError("Missing the required parameter `body` when calling `add_subject_note`") # noqa: E501
|
|
455
|
+
check_filename_params(params)
|
|
451
456
|
|
|
452
457
|
collection_formats = {}
|
|
453
458
|
|
|
@@ -563,6 +568,7 @@ class SubjectsApi(object):
|
|
|
563
568
|
if ('body' not in params or
|
|
564
569
|
params['body'] is None):
|
|
565
570
|
raise ValueError("Missing the required parameter `body` when calling `add_subject_tag`") # noqa: E501
|
|
571
|
+
check_filename_params(params)
|
|
566
572
|
|
|
567
573
|
collection_formats = {}
|
|
568
574
|
|
|
@@ -678,6 +684,7 @@ class SubjectsApi(object):
|
|
|
678
684
|
if ('body' not in params or
|
|
679
685
|
params['body'] is None):
|
|
680
686
|
raise ValueError("Missing the required parameter `body` when calling `add_subject_tags`") # noqa: E501
|
|
687
|
+
check_filename_params(params)
|
|
681
688
|
|
|
682
689
|
collection_formats = {}
|
|
683
690
|
|
|
@@ -780,6 +787,7 @@ class SubjectsApi(object):
|
|
|
780
787
|
if ('body' not in params or
|
|
781
788
|
params['body'] is None):
|
|
782
789
|
raise ValueError("Missing the required parameter `body` when calling `create_master_subject_code`") # noqa: E501
|
|
790
|
+
check_filename_params(params)
|
|
783
791
|
|
|
784
792
|
collection_formats = {}
|
|
785
793
|
|
|
@@ -889,6 +897,7 @@ class SubjectsApi(object):
|
|
|
889
897
|
if ('subject_id' not in params or
|
|
890
898
|
params['subject_id'] is None):
|
|
891
899
|
raise ValueError("Missing the required parameter `subject_id` when calling `delete_subject`") # noqa: E501
|
|
900
|
+
check_filename_params(params)
|
|
892
901
|
|
|
893
902
|
collection_formats = {}
|
|
894
903
|
|
|
@@ -995,6 +1004,7 @@ class SubjectsApi(object):
|
|
|
995
1004
|
if ('analysis_id' not in params or
|
|
996
1005
|
params['analysis_id'] is None):
|
|
997
1006
|
raise ValueError("Missing the required parameter `analysis_id` when calling `delete_subject_analysis`") # noqa: E501
|
|
1007
|
+
check_filename_params(params)
|
|
998
1008
|
|
|
999
1009
|
collection_formats = {}
|
|
1000
1010
|
|
|
@@ -1107,6 +1117,7 @@ class SubjectsApi(object):
|
|
|
1107
1117
|
if ('note_id' not in params or
|
|
1108
1118
|
params['note_id'] is None):
|
|
1109
1119
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_subject_analysis_note`") # noqa: E501
|
|
1120
|
+
check_filename_params(params)
|
|
1110
1121
|
|
|
1111
1122
|
collection_formats = {}
|
|
1112
1123
|
|
|
@@ -1217,6 +1228,7 @@ class SubjectsApi(object):
|
|
|
1217
1228
|
if ('filename' not in params or
|
|
1218
1229
|
params['filename'] is None):
|
|
1219
1230
|
raise ValueError("Missing the required parameter `filename` when calling `delete_subject_file`") # noqa: E501
|
|
1231
|
+
check_filename_params(params)
|
|
1220
1232
|
|
|
1221
1233
|
collection_formats = {}
|
|
1222
1234
|
|
|
@@ -1325,6 +1337,7 @@ class SubjectsApi(object):
|
|
|
1325
1337
|
if ('note_id' not in params or
|
|
1326
1338
|
params['note_id'] is None):
|
|
1327
1339
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_subject_note`") # noqa: E501
|
|
1340
|
+
check_filename_params(params)
|
|
1328
1341
|
|
|
1329
1342
|
collection_formats = {}
|
|
1330
1343
|
|
|
@@ -1429,6 +1442,7 @@ class SubjectsApi(object):
|
|
|
1429
1442
|
if ('value' not in params or
|
|
1430
1443
|
params['value'] is None):
|
|
1431
1444
|
raise ValueError("Missing the required parameter `value` when calling `delete_subject_tag`") # noqa: E501
|
|
1445
|
+
check_filename_params(params)
|
|
1432
1446
|
|
|
1433
1447
|
collection_formats = {}
|
|
1434
1448
|
|
|
@@ -1533,6 +1547,7 @@ class SubjectsApi(object):
|
|
|
1533
1547
|
if ('body' not in params or
|
|
1534
1548
|
params['body'] is None):
|
|
1535
1549
|
raise ValueError("Missing the required parameter `body` when calling `delete_subject_tags`") # noqa: E501
|
|
1550
|
+
check_filename_params(params)
|
|
1536
1551
|
|
|
1537
1552
|
collection_formats = {}
|
|
1538
1553
|
|
|
@@ -1637,6 +1652,7 @@ class SubjectsApi(object):
|
|
|
1637
1652
|
if ('body' not in params or
|
|
1638
1653
|
params['body'] is None):
|
|
1639
1654
|
raise ValueError("Missing the required parameter `body` when calling `delete_subjects_by_ids`") # noqa: E501
|
|
1655
|
+
check_filename_params(params)
|
|
1640
1656
|
|
|
1641
1657
|
collection_formats = {}
|
|
1642
1658
|
|
|
@@ -1741,6 +1757,7 @@ class SubjectsApi(object):
|
|
|
1741
1757
|
if ('body' not in params or
|
|
1742
1758
|
params['body'] is None):
|
|
1743
1759
|
raise ValueError("Missing the required parameter `body` when calling `delete_subjects_by_query`") # noqa: E501
|
|
1760
|
+
check_filename_params(params)
|
|
1744
1761
|
|
|
1745
1762
|
collection_formats = {}
|
|
1746
1763
|
|
|
@@ -1863,6 +1880,7 @@ class SubjectsApi(object):
|
|
|
1863
1880
|
if ('file_name' not in params or
|
|
1864
1881
|
params['file_name'] is None):
|
|
1865
1882
|
raise ValueError("Missing the required parameter `file_name` when calling `download_file_from_subject`") # noqa: E501
|
|
1883
|
+
check_filename_params(params)
|
|
1866
1884
|
|
|
1867
1885
|
collection_formats = {}
|
|
1868
1886
|
|
|
@@ -1998,6 +2016,7 @@ class SubjectsApi(object):
|
|
|
1998
2016
|
if ('file_name' not in params or
|
|
1999
2017
|
params['file_name'] is None):
|
|
2000
2018
|
raise ValueError("Missing the required parameter `file_name` when calling `get_subject_file_zip_info`") # noqa: E501
|
|
2019
|
+
check_filename_params(params)
|
|
2001
2020
|
|
|
2002
2021
|
collection_formats = {}
|
|
2003
2022
|
|
|
@@ -2135,6 +2154,7 @@ class SubjectsApi(object):
|
|
|
2135
2154
|
if ('file_name' not in params or
|
|
2136
2155
|
params['file_name'] is None):
|
|
2137
2156
|
raise ValueError("Missing the required parameter `file_name` when calling `get_subject_download_ticket`") # noqa: E501
|
|
2157
|
+
check_filename_params(params)
|
|
2138
2158
|
|
|
2139
2159
|
collection_formats = {}
|
|
2140
2160
|
|
|
@@ -2272,6 +2292,7 @@ class SubjectsApi(object):
|
|
|
2272
2292
|
if ('filename' not in params or
|
|
2273
2293
|
params['filename'] is None):
|
|
2274
2294
|
raise ValueError("Missing the required parameter `filename` when calling `download_input_from_subject_analysis`") # noqa: E501
|
|
2295
|
+
check_filename_params(params)
|
|
2275
2296
|
|
|
2276
2297
|
collection_formats = {}
|
|
2277
2298
|
|
|
@@ -2407,6 +2428,7 @@ class SubjectsApi(object):
|
|
|
2407
2428
|
if ('filename' not in params or
|
|
2408
2429
|
params['filename'] is None):
|
|
2409
2430
|
raise ValueError("Missing the required parameter `filename` when calling `get_subject_analysis_input_zip_info`") # noqa: E501
|
|
2431
|
+
check_filename_params(params)
|
|
2410
2432
|
|
|
2411
2433
|
collection_formats = {}
|
|
2412
2434
|
|
|
@@ -2544,6 +2566,7 @@ class SubjectsApi(object):
|
|
|
2544
2566
|
if ('filename' not in params or
|
|
2545
2567
|
params['filename'] is None):
|
|
2546
2568
|
raise ValueError("Missing the required parameter `filename` when calling `get_subject_analysis_input_download_ticket`") # noqa: E501
|
|
2569
|
+
check_filename_params(params)
|
|
2547
2570
|
|
|
2548
2571
|
collection_formats = {}
|
|
2549
2572
|
|
|
@@ -2679,6 +2702,7 @@ class SubjectsApi(object):
|
|
|
2679
2702
|
if ('filename' not in params or
|
|
2680
2703
|
params['filename'] is None):
|
|
2681
2704
|
raise ValueError("Missing the required parameter `filename` when calling `download_output_from_subject_analysis`") # noqa: E501
|
|
2705
|
+
check_filename_params(params)
|
|
2682
2706
|
|
|
2683
2707
|
collection_formats = {}
|
|
2684
2708
|
|
|
@@ -2814,6 +2838,7 @@ class SubjectsApi(object):
|
|
|
2814
2838
|
if ('filename' not in params or
|
|
2815
2839
|
params['filename'] is None):
|
|
2816
2840
|
raise ValueError("Missing the required parameter `filename` when calling `get_subject_analysis_output_zip_info`") # noqa: E501
|
|
2841
|
+
check_filename_params(params)
|
|
2817
2842
|
|
|
2818
2843
|
collection_formats = {}
|
|
2819
2844
|
|
|
@@ -2951,6 +2976,7 @@ class SubjectsApi(object):
|
|
|
2951
2976
|
if ('filename' not in params or
|
|
2952
2977
|
params['filename'] is None):
|
|
2953
2978
|
raise ValueError("Missing the required parameter `filename` when calling `get_subject_analysis_output_download_ticket`") # noqa: E501
|
|
2979
|
+
check_filename_params(params)
|
|
2954
2980
|
|
|
2955
2981
|
collection_formats = {}
|
|
2956
2982
|
|
|
@@ -3080,6 +3106,7 @@ class SubjectsApi(object):
|
|
|
3080
3106
|
)
|
|
3081
3107
|
params[key] = val
|
|
3082
3108
|
del params['kwargs']
|
|
3109
|
+
check_filename_params(params)
|
|
3083
3110
|
|
|
3084
3111
|
collection_formats = {}
|
|
3085
3112
|
|
|
@@ -3203,6 +3230,7 @@ class SubjectsApi(object):
|
|
|
3203
3230
|
if ('subject_id' not in params or
|
|
3204
3231
|
params['subject_id'] is None):
|
|
3205
3232
|
raise ValueError("Missing the required parameter `subject_id` when calling `get_subject`") # noqa: E501
|
|
3233
|
+
check_filename_params(params)
|
|
3206
3234
|
|
|
3207
3235
|
collection_formats = {}
|
|
3208
3236
|
|
|
@@ -3328,6 +3356,7 @@ class SubjectsApi(object):
|
|
|
3328
3356
|
if ('cid' not in params or
|
|
3329
3357
|
params['cid'] is None):
|
|
3330
3358
|
raise ValueError("Missing the required parameter `cid` when calling `get_subject_analyses`") # noqa: E501
|
|
3359
|
+
check_filename_params(params)
|
|
3331
3360
|
|
|
3332
3361
|
collection_formats = {}
|
|
3333
3362
|
|
|
@@ -3459,6 +3488,7 @@ class SubjectsApi(object):
|
|
|
3459
3488
|
if ('analysis_id' not in params or
|
|
3460
3489
|
params['analysis_id'] is None):
|
|
3461
3490
|
raise ValueError("Missing the required parameter `analysis_id` when calling `get_subject_analysis`") # noqa: E501
|
|
3491
|
+
check_filename_params(params)
|
|
3462
3492
|
|
|
3463
3493
|
collection_formats = {}
|
|
3464
3494
|
|
|
@@ -3569,6 +3599,7 @@ class SubjectsApi(object):
|
|
|
3569
3599
|
if ('filename' not in params or
|
|
3570
3600
|
params['filename'] is None):
|
|
3571
3601
|
raise ValueError("Missing the required parameter `filename` when calling `get_subject_file_info`") # noqa: E501
|
|
3602
|
+
check_filename_params(params)
|
|
3572
3603
|
|
|
3573
3604
|
collection_formats = {}
|
|
3574
3605
|
|
|
@@ -3673,6 +3704,7 @@ class SubjectsApi(object):
|
|
|
3673
3704
|
if ('note_id' not in params or
|
|
3674
3705
|
params['note_id'] is None):
|
|
3675
3706
|
raise ValueError("Missing the required parameter `note_id` when calling `get_subject_note`") # noqa: E501
|
|
3707
|
+
check_filename_params(params)
|
|
3676
3708
|
|
|
3677
3709
|
collection_formats = {}
|
|
3678
3710
|
|
|
@@ -3789,6 +3821,7 @@ class SubjectsApi(object):
|
|
|
3789
3821
|
if ('subject_id' not in params or
|
|
3790
3822
|
params['subject_id'] is None):
|
|
3791
3823
|
raise ValueError("Missing the required parameter `subject_id` when calling `get_subject_sessions`") # noqa: E501
|
|
3824
|
+
check_filename_params(params)
|
|
3792
3825
|
|
|
3793
3826
|
collection_formats = {}
|
|
3794
3827
|
|
|
@@ -3910,6 +3943,7 @@ class SubjectsApi(object):
|
|
|
3910
3943
|
if ('value' not in params or
|
|
3911
3944
|
params['value'] is None):
|
|
3912
3945
|
raise ValueError("Missing the required parameter `value` when calling `get_subject_tag`") # noqa: E501
|
|
3946
|
+
check_filename_params(params)
|
|
3913
3947
|
|
|
3914
3948
|
collection_formats = {}
|
|
3915
3949
|
|
|
@@ -4014,6 +4048,7 @@ class SubjectsApi(object):
|
|
|
4014
4048
|
if ('body' not in params or
|
|
4015
4049
|
params['body'] is None):
|
|
4016
4050
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject`") # noqa: E501
|
|
4051
|
+
check_filename_params(params)
|
|
4017
4052
|
|
|
4018
4053
|
collection_formats = {}
|
|
4019
4054
|
|
|
@@ -4135,6 +4170,7 @@ class SubjectsApi(object):
|
|
|
4135
4170
|
if ('body' not in params or
|
|
4136
4171
|
params['body'] is None):
|
|
4137
4172
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject_analysis`") # noqa: E501
|
|
4173
|
+
check_filename_params(params)
|
|
4138
4174
|
|
|
4139
4175
|
collection_formats = {}
|
|
4140
4176
|
|
|
@@ -4258,6 +4294,7 @@ class SubjectsApi(object):
|
|
|
4258
4294
|
if ('body' not in params or
|
|
4259
4295
|
params['body'] is None):
|
|
4260
4296
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject_file`") # noqa: E501
|
|
4297
|
+
check_filename_params(params)
|
|
4261
4298
|
|
|
4262
4299
|
collection_formats = {}
|
|
4263
4300
|
|
|
@@ -4381,6 +4418,7 @@ class SubjectsApi(object):
|
|
|
4381
4418
|
if ('body' not in params or
|
|
4382
4419
|
params['body'] is None):
|
|
4383
4420
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject_file_classification`") # noqa: E501
|
|
4421
|
+
check_filename_params(params)
|
|
4384
4422
|
|
|
4385
4423
|
collection_formats = {}
|
|
4386
4424
|
|
|
@@ -4504,6 +4542,7 @@ class SubjectsApi(object):
|
|
|
4504
4542
|
if ('body' not in params or
|
|
4505
4543
|
params['body'] is None):
|
|
4506
4544
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject_file_info`") # noqa: E501
|
|
4545
|
+
check_filename_params(params)
|
|
4507
4546
|
|
|
4508
4547
|
collection_formats = {}
|
|
4509
4548
|
|
|
@@ -4621,6 +4660,7 @@ class SubjectsApi(object):
|
|
|
4621
4660
|
if ('body' not in params or
|
|
4622
4661
|
params['body'] is None):
|
|
4623
4662
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject_info`") # noqa: E501
|
|
4663
|
+
check_filename_params(params)
|
|
4624
4664
|
|
|
4625
4665
|
collection_formats = {}
|
|
4626
4666
|
|
|
@@ -4742,6 +4782,7 @@ class SubjectsApi(object):
|
|
|
4742
4782
|
if ('body' not in params or
|
|
4743
4783
|
params['body'] is None):
|
|
4744
4784
|
raise ValueError("Missing the required parameter `body` when calling `modify_subject_note`") # noqa: E501
|
|
4785
|
+
check_filename_params(params)
|
|
4745
4786
|
|
|
4746
4787
|
collection_formats = {}
|
|
4747
4788
|
|
|
@@ -4865,6 +4906,7 @@ class SubjectsApi(object):
|
|
|
4865
4906
|
if ('body' not in params or
|
|
4866
4907
|
params['body'] is None):
|
|
4867
4908
|
raise ValueError("Missing the required parameter `body` when calling `rename_subject_tag`") # noqa: E501
|
|
4909
|
+
check_filename_params(params)
|
|
4868
4910
|
|
|
4869
4911
|
collection_formats = {}
|
|
4870
4912
|
|
|
@@ -4998,6 +5040,7 @@ class SubjectsApi(object):
|
|
|
4998
5040
|
if ('file' not in params or
|
|
4999
5041
|
params['file'] is None):
|
|
5000
5042
|
raise ValueError("Missing the required parameter `file` when calling `upload_file_to_subject`") # noqa: E501
|
|
5043
|
+
check_filename_params(params)
|
|
5001
5044
|
|
|
5002
5045
|
collection_formats = {}
|
|
5003
5046
|
|
|
@@ -5139,6 +5182,7 @@ class SubjectsApi(object):
|
|
|
5139
5182
|
if ('file' not in params or
|
|
5140
5183
|
params['file'] is None):
|
|
5141
5184
|
raise ValueError("Missing the required parameter `file` when calling `upload_output_to_subject_analysis`") # noqa: E501
|
|
5185
|
+
check_filename_params(params)
|
|
5142
5186
|
|
|
5143
5187
|
collection_formats = {}
|
|
5144
5188
|
|
|
@@ -5253,6 +5297,7 @@ class SubjectsApi(object):
|
|
|
5253
5297
|
if ('code' not in params or
|
|
5254
5298
|
params['code'] is None):
|
|
5255
5299
|
raise ValueError("Missing the required parameter `code` when calling `verify_master_subject_code`") # noqa: E501
|
|
5300
|
+
check_filename_params(params)
|
|
5256
5301
|
|
|
5257
5302
|
collection_formats = {}
|
|
5258
5303
|
|
flywheel/api/tree_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.
|
|
@@ -105,6 +106,7 @@ class TreeApi(object):
|
|
|
105
106
|
if ('body' not in params or
|
|
106
107
|
params['body'] is None):
|
|
107
108
|
raise ValueError("Missing the required parameter `body` when calling `fetch_tree`") # noqa: E501
|
|
109
|
+
check_filename_params(params)
|
|
108
110
|
|
|
109
111
|
collection_formats = {}
|
|
110
112
|
|
|
@@ -225,6 +227,7 @@ class TreeApi(object):
|
|
|
225
227
|
)
|
|
226
228
|
params[key] = val
|
|
227
229
|
del params['kwargs']
|
|
230
|
+
check_filename_params(params)
|
|
228
231
|
|
|
229
232
|
collection_formats = {}
|
|
230
233
|
|
flywheel/api/uids_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 UidsApi(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 `check_uids_exist`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
flywheel/api/upload_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.
|
|
@@ -85,6 +86,7 @@ class UploadApi(object):
|
|
|
85
86
|
if ('body' not in params or
|
|
86
87
|
params['body'] is None):
|
|
87
88
|
raise ValueError("Missing the required parameter `body` when calling `cleanup_signed_upload_url`") # noqa: E501
|
|
89
|
+
check_filename_params(params)
|
|
88
90
|
|
|
89
91
|
collection_formats = {}
|
|
90
92
|
|
|
@@ -192,6 +194,7 @@ class UploadApi(object):
|
|
|
192
194
|
if ('body' not in params or
|
|
193
195
|
params['body'] is None):
|
|
194
196
|
raise ValueError("Missing the required parameter `body` when calling `complete_s3_multipart_upload`") # noqa: E501
|
|
197
|
+
check_filename_params(params)
|
|
195
198
|
|
|
196
199
|
collection_formats = {}
|
|
197
200
|
|
|
@@ -299,6 +302,7 @@ class UploadApi(object):
|
|
|
299
302
|
if ('body' not in params or
|
|
300
303
|
params['body'] is None):
|
|
301
304
|
raise ValueError("Missing the required parameter `body` when calling `create_signed_upload_url`") # noqa: E501
|
|
305
|
+
check_filename_params(params)
|
|
302
306
|
|
|
303
307
|
collection_formats = {}
|
|
304
308
|
|
|
@@ -416,6 +420,7 @@ class UploadApi(object):
|
|
|
416
420
|
)
|
|
417
421
|
params[key] = val
|
|
418
422
|
del params['kwargs']
|
|
423
|
+
check_filename_params(params)
|
|
419
424
|
|
|
420
425
|
collection_formats = {}
|
|
421
426
|
|
|
@@ -542,6 +547,7 @@ class UploadApi(object):
|
|
|
542
547
|
)
|
|
543
548
|
params[key] = val
|
|
544
549
|
del params['kwargs']
|
|
550
|
+
check_filename_params(params)
|
|
545
551
|
|
|
546
552
|
collection_formats = {}
|
|
547
553
|
|
|
@@ -668,6 +674,7 @@ class UploadApi(object):
|
|
|
668
674
|
)
|
|
669
675
|
params[key] = val
|
|
670
676
|
del params['kwargs']
|
|
677
|
+
check_filename_params(params)
|
|
671
678
|
|
|
672
679
|
collection_formats = {}
|
|
673
680
|
|
|
@@ -788,6 +795,7 @@ class UploadApi(object):
|
|
|
788
795
|
if ('body' not in params or
|
|
789
796
|
params['body'] is None):
|
|
790
797
|
raise ValueError("Missing the required parameter `body` when calling `upload_signed_fs_file`") # noqa: E501
|
|
798
|
+
check_filename_params(params)
|
|
791
799
|
|
|
792
800
|
collection_formats = {}
|
|
793
801
|
|
flywheel/api/users_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 UsersApi(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_user`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -194,6 +196,7 @@ class UsersApi(object):
|
|
|
194
196
|
if ('user_id' not in params or
|
|
195
197
|
params['user_id'] is None):
|
|
196
198
|
raise ValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501
|
|
199
|
+
check_filename_params(params)
|
|
197
200
|
|
|
198
201
|
collection_formats = {}
|
|
199
202
|
|
|
@@ -288,6 +291,7 @@ class UsersApi(object):
|
|
|
288
291
|
if ('id_' not in params or
|
|
289
292
|
params['id_'] is None):
|
|
290
293
|
raise ValueError("Missing the required parameter `id_` when calling `delete_user_key`") # noqa: E501
|
|
294
|
+
check_filename_params(params)
|
|
291
295
|
|
|
292
296
|
collection_formats = {}
|
|
293
297
|
|
|
@@ -384,6 +388,7 @@ class UsersApi(object):
|
|
|
384
388
|
if ('body' not in params or
|
|
385
389
|
params['body'] is None):
|
|
386
390
|
raise ValueError("Missing the required parameter `body` when calling `generate_user_key`") # noqa: E501
|
|
391
|
+
check_filename_params(params)
|
|
387
392
|
|
|
388
393
|
collection_formats = {}
|
|
389
394
|
|
|
@@ -499,6 +504,7 @@ class UsersApi(object):
|
|
|
499
504
|
)
|
|
500
505
|
params[key] = val
|
|
501
506
|
del params['kwargs']
|
|
507
|
+
check_filename_params(params)
|
|
502
508
|
|
|
503
509
|
collection_formats = {}
|
|
504
510
|
|
|
@@ -602,6 +608,7 @@ class UsersApi(object):
|
|
|
602
608
|
)
|
|
603
609
|
params[key] = val
|
|
604
610
|
del params['kwargs']
|
|
611
|
+
check_filename_params(params)
|
|
605
612
|
|
|
606
613
|
collection_formats = {}
|
|
607
614
|
|
|
@@ -692,6 +699,7 @@ class UsersApi(object):
|
|
|
692
699
|
)
|
|
693
700
|
params[key] = val
|
|
694
701
|
del params['kwargs']
|
|
702
|
+
check_filename_params(params)
|
|
695
703
|
|
|
696
704
|
collection_formats = {}
|
|
697
705
|
|
|
@@ -784,6 +792,7 @@ class UsersApi(object):
|
|
|
784
792
|
)
|
|
785
793
|
params[key] = val
|
|
786
794
|
del params['kwargs']
|
|
795
|
+
check_filename_params(params)
|
|
787
796
|
|
|
788
797
|
collection_formats = {}
|
|
789
798
|
|
|
@@ -892,6 +901,7 @@ class UsersApi(object):
|
|
|
892
901
|
)
|
|
893
902
|
params[key] = val
|
|
894
903
|
del params['kwargs']
|
|
904
|
+
check_filename_params(params)
|
|
895
905
|
|
|
896
906
|
collection_formats = {}
|
|
897
907
|
|
|
@@ -1007,6 +1017,7 @@ class UsersApi(object):
|
|
|
1007
1017
|
if ('user_id' not in params or
|
|
1008
1018
|
params['user_id'] is None):
|
|
1009
1019
|
raise ValueError("Missing the required parameter `user_id` when calling `get_user`") # noqa: E501
|
|
1020
|
+
check_filename_params(params)
|
|
1010
1021
|
|
|
1011
1022
|
collection_formats = {}
|
|
1012
1023
|
|
|
@@ -1121,6 +1132,7 @@ class UsersApi(object):
|
|
|
1121
1132
|
if ('uid' not in params or
|
|
1122
1133
|
params['uid'] is None):
|
|
1123
1134
|
raise ValueError("Missing the required parameter `uid` when calling `get_user_acquisitions`") # noqa: E501
|
|
1135
|
+
check_filename_params(params)
|
|
1124
1136
|
|
|
1125
1137
|
collection_formats = {}
|
|
1126
1138
|
|
|
@@ -1235,6 +1247,7 @@ class UsersApi(object):
|
|
|
1235
1247
|
if ('user_id' not in params or
|
|
1236
1248
|
params['user_id'] is None):
|
|
1237
1249
|
raise ValueError("Missing the required parameter `user_id` when calling `get_user_avatar`") # noqa: E501
|
|
1250
|
+
check_filename_params(params)
|
|
1238
1251
|
|
|
1239
1252
|
collection_formats = {}
|
|
1240
1253
|
|
|
@@ -1345,6 +1358,7 @@ class UsersApi(object):
|
|
|
1345
1358
|
if ('user_id' not in params or
|
|
1346
1359
|
params['user_id'] is None):
|
|
1347
1360
|
raise ValueError("Missing the required parameter `user_id` when calling `get_user_collections`") # noqa: E501
|
|
1361
|
+
check_filename_params(params)
|
|
1348
1362
|
|
|
1349
1363
|
collection_formats = {}
|
|
1350
1364
|
|
|
@@ -1470,6 +1484,7 @@ class UsersApi(object):
|
|
|
1470
1484
|
if ('uid' not in params or
|
|
1471
1485
|
params['uid'] is None):
|
|
1472
1486
|
raise ValueError("Missing the required parameter `uid` when calling `get_user_groups`") # noqa: E501
|
|
1487
|
+
check_filename_params(params)
|
|
1473
1488
|
|
|
1474
1489
|
collection_formats = {}
|
|
1475
1490
|
|
|
@@ -1599,6 +1614,7 @@ class UsersApi(object):
|
|
|
1599
1614
|
if ('uid' not in params or
|
|
1600
1615
|
params['uid'] is None):
|
|
1601
1616
|
raise ValueError("Missing the required parameter `uid` when calling `get_user_projects`") # noqa: E501
|
|
1617
|
+
check_filename_params(params)
|
|
1602
1618
|
|
|
1603
1619
|
collection_formats = {}
|
|
1604
1620
|
|
|
@@ -1727,6 +1743,7 @@ class UsersApi(object):
|
|
|
1727
1743
|
if ('uid' not in params or
|
|
1728
1744
|
params['uid'] is None):
|
|
1729
1745
|
raise ValueError("Missing the required parameter `uid` when calling `get_user_sessions`") # noqa: E501
|
|
1746
|
+
check_filename_params(params)
|
|
1730
1747
|
|
|
1731
1748
|
collection_formats = {}
|
|
1732
1749
|
|
|
@@ -1839,6 +1856,7 @@ class UsersApi(object):
|
|
|
1839
1856
|
if ('body' not in params or
|
|
1840
1857
|
params['body'] is None):
|
|
1841
1858
|
raise ValueError("Missing the required parameter `body` when calling `modify_current_user_info`") # noqa: E501
|
|
1859
|
+
check_filename_params(params)
|
|
1842
1860
|
|
|
1843
1861
|
collection_formats = {}
|
|
1844
1862
|
|
|
@@ -1954,6 +1972,7 @@ class UsersApi(object):
|
|
|
1954
1972
|
if ('body' not in params or
|
|
1955
1973
|
params['body'] is None):
|
|
1956
1974
|
raise ValueError("Missing the required parameter `body` when calling `modify_user`") # noqa: E501
|
|
1975
|
+
check_filename_params(params)
|
|
1957
1976
|
|
|
1958
1977
|
collection_formats = {}
|
|
1959
1978
|
|
|
@@ -2069,6 +2088,7 @@ class UsersApi(object):
|
|
|
2069
2088
|
if ('body' not in params or
|
|
2070
2089
|
params['body'] is None):
|
|
2071
2090
|
raise ValueError("Missing the required parameter `body` when calling `sync_user`") # noqa: E501
|
|
2091
|
+
check_filename_params(params)
|
|
2072
2092
|
|
|
2073
2093
|
collection_formats = {}
|
|
2074
2094
|
|
flywheel/api/views_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.
|
|
@@ -79,6 +80,7 @@ class ViewsApi(object):
|
|
|
79
80
|
)
|
|
80
81
|
params[key] = val
|
|
81
82
|
del params['kwargs']
|
|
83
|
+
check_filename_params(params)
|
|
82
84
|
|
|
83
85
|
collection_formats = {}
|
|
84
86
|
|
|
@@ -173,6 +175,7 @@ class ViewsApi(object):
|
|
|
173
175
|
if ('view_id' not in params or
|
|
174
176
|
params['view_id'] is None):
|
|
175
177
|
raise ValueError("Missing the required parameter `view_id` when calling `delete_view`") # noqa: E501
|
|
178
|
+
check_filename_params(params)
|
|
176
179
|
|
|
177
180
|
collection_formats = {}
|
|
178
181
|
|
|
@@ -287,6 +290,7 @@ class ViewsApi(object):
|
|
|
287
290
|
if ('container_id' not in params or
|
|
288
291
|
params['container_id'] is None):
|
|
289
292
|
raise ValueError("Missing the required parameter `container_id` when calling `evaluate_view`") # noqa: E501
|
|
293
|
+
check_filename_params(params)
|
|
290
294
|
|
|
291
295
|
collection_formats = {}
|
|
292
296
|
|
|
@@ -417,6 +421,7 @@ class ViewsApi(object):
|
|
|
417
421
|
if ('body' not in params or
|
|
418
422
|
params['body'] is None):
|
|
419
423
|
raise ValueError("Missing the required parameter `body` when calling `evaluate_view_adhoc`") # noqa: E501
|
|
424
|
+
check_filename_params(params)
|
|
420
425
|
|
|
421
426
|
collection_formats = {}
|
|
422
427
|
|
|
@@ -538,6 +543,7 @@ class ViewsApi(object):
|
|
|
538
543
|
if ('view_id' not in params or
|
|
539
544
|
params['view_id'] is None):
|
|
540
545
|
raise ValueError("Missing the required parameter `view_id` when calling `get_view`") # noqa: E501
|
|
546
|
+
check_filename_params(params)
|
|
541
547
|
|
|
542
548
|
collection_formats = {}
|
|
543
549
|
|
|
@@ -638,6 +644,7 @@ class ViewsApi(object):
|
|
|
638
644
|
if ('body' not in params or
|
|
639
645
|
params['body'] is None):
|
|
640
646
|
raise ValueError("Missing the required parameter `body` when calling `modify_view`") # noqa: E501
|
|
647
|
+
check_filename_params(params)
|
|
641
648
|
|
|
642
649
|
collection_formats = {}
|
|
643
650
|
|
|
@@ -759,6 +766,7 @@ class ViewsApi(object):
|
|
|
759
766
|
if ('body' not in params or
|
|
760
767
|
params['body'] is None):
|
|
761
768
|
raise ValueError("Missing the required parameter `body` when calling `queue_adhoc`") # noqa: E501
|
|
769
|
+
check_filename_params(params)
|
|
762
770
|
|
|
763
771
|
collection_formats = {}
|
|
764
772
|
|
|
@@ -890,6 +898,7 @@ class ViewsApi(object):
|
|
|
890
898
|
if ('container_id' not in params or
|
|
891
899
|
params['container_id'] is None):
|
|
892
900
|
raise ValueError("Missing the required parameter `container_id` when calling `queue_saved`") # noqa: E501
|
|
901
|
+
check_filename_params(params)
|
|
893
902
|
|
|
894
903
|
collection_formats = {}
|
|
895
904
|
|
|
@@ -1014,6 +1023,7 @@ class ViewsApi(object):
|
|
|
1014
1023
|
if ('body' not in params or
|
|
1015
1024
|
params['body'] is None):
|
|
1016
1025
|
raise ValueError("Missing the required parameter `body` when calling `save_view_data_to_container`") # noqa: E501
|
|
1026
|
+
check_filename_params(params)
|
|
1017
1027
|
|
|
1018
1028
|
collection_formats = {}
|
|
1019
1029
|
|
flywheel/api_client.py
CHANGED
|
@@ -84,7 +84,7 @@ class ApiClient(object):
|
|
|
84
84
|
self.default_query_params = []
|
|
85
85
|
self.cookie = cookie
|
|
86
86
|
# Set default User-Agent.
|
|
87
|
-
self.user_agent = 'Swagger-Codegen/20.
|
|
87
|
+
self.user_agent = 'Swagger-Codegen/20.3.0/python'
|
|
88
88
|
self.last_response = None
|
|
89
89
|
self._version_check_fn = None
|
|
90
90
|
self._context = context
|