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/modalities_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 ModalitiesApi(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_modality`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -192,6 +194,7 @@ class ModalitiesApi(object):
|
|
|
192
194
|
if ('modality_id' not in params or
|
|
193
195
|
params['modality_id'] is None):
|
|
194
196
|
raise ValueError("Missing the required parameter `modality_id` when calling `delete_modality`") # noqa: E501
|
|
197
|
+
check_filename_params(params)
|
|
195
198
|
|
|
196
199
|
collection_formats = {}
|
|
197
200
|
|
|
@@ -296,6 +299,7 @@ class ModalitiesApi(object):
|
|
|
296
299
|
)
|
|
297
300
|
params[key] = val
|
|
298
301
|
del params['kwargs']
|
|
302
|
+
check_filename_params(params)
|
|
299
303
|
|
|
300
304
|
collection_formats = {}
|
|
301
305
|
|
|
@@ -403,6 +407,7 @@ class ModalitiesApi(object):
|
|
|
403
407
|
if ('modality_id' not in params or
|
|
404
408
|
params['modality_id'] is None):
|
|
405
409
|
raise ValueError("Missing the required parameter `modality_id` when calling `get_modality`") # noqa: E501
|
|
410
|
+
check_filename_params(params)
|
|
406
411
|
|
|
407
412
|
collection_formats = {}
|
|
408
413
|
|
|
@@ -503,6 +508,7 @@ class ModalitiesApi(object):
|
|
|
503
508
|
if ('body' not in params or
|
|
504
509
|
params['body'] is None):
|
|
505
510
|
raise ValueError("Missing the required parameter `body` when calling `replace_modality`") # noqa: E501
|
|
511
|
+
check_filename_params(params)
|
|
506
512
|
|
|
507
513
|
collection_formats = {}
|
|
508
514
|
|
flywheel/api/packfiles_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 PackfilesApi(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/projects_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 ProjectsApi(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_project`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -206,6 +208,7 @@ class ProjectsApi(object):
|
|
|
206
208
|
if ('body' not in params or
|
|
207
209
|
params['body'] is None):
|
|
208
210
|
raise ValueError("Missing the required parameter `body` when calling `add_project_analysis`") # noqa: E501
|
|
211
|
+
check_filename_params(params)
|
|
209
212
|
|
|
210
213
|
collection_formats = {}
|
|
211
214
|
|
|
@@ -333,6 +336,7 @@ class ProjectsApi(object):
|
|
|
333
336
|
if ('body' not in params or
|
|
334
337
|
params['body'] is None):
|
|
335
338
|
raise ValueError("Missing the required parameter `body` when calling `add_project_analysis_note`") # noqa: E501
|
|
339
|
+
check_filename_params(params)
|
|
336
340
|
|
|
337
341
|
collection_formats = {}
|
|
338
342
|
|
|
@@ -450,6 +454,7 @@ class ProjectsApi(object):
|
|
|
450
454
|
if ('body' not in params or
|
|
451
455
|
params['body'] is None):
|
|
452
456
|
raise ValueError("Missing the required parameter `body` when calling `add_project_note`") # noqa: E501
|
|
457
|
+
check_filename_params(params)
|
|
453
458
|
|
|
454
459
|
collection_formats = {}
|
|
455
460
|
|
|
@@ -567,6 +572,7 @@ class ProjectsApi(object):
|
|
|
567
572
|
if ('body' not in params or
|
|
568
573
|
params['body'] is None):
|
|
569
574
|
raise ValueError("Missing the required parameter `body` when calling `add_project_permission`") # noqa: E501
|
|
575
|
+
check_filename_params(params)
|
|
570
576
|
|
|
571
577
|
collection_formats = {}
|
|
572
578
|
|
|
@@ -683,6 +689,7 @@ class ProjectsApi(object):
|
|
|
683
689
|
if ('body' not in params or
|
|
684
690
|
params['body'] is None):
|
|
685
691
|
raise ValueError("Missing the required parameter `body` when calling `add_project_rule`") # noqa: E501
|
|
692
|
+
check_filename_params(params)
|
|
686
693
|
|
|
687
694
|
collection_formats = {}
|
|
688
695
|
|
|
@@ -798,6 +805,7 @@ class ProjectsApi(object):
|
|
|
798
805
|
if ('body' not in params or
|
|
799
806
|
params['body'] is None):
|
|
800
807
|
raise ValueError("Missing the required parameter `body` when calling `add_project_tag`") # noqa: E501
|
|
808
|
+
check_filename_params(params)
|
|
801
809
|
|
|
802
810
|
collection_formats = {}
|
|
803
811
|
|
|
@@ -913,6 +921,7 @@ class ProjectsApi(object):
|
|
|
913
921
|
if ('body' not in params or
|
|
914
922
|
params['body'] is None):
|
|
915
923
|
raise ValueError("Missing the required parameter `body` when calling `add_project_tags`") # noqa: E501
|
|
924
|
+
check_filename_params(params)
|
|
916
925
|
|
|
917
926
|
collection_formats = {}
|
|
918
927
|
|
|
@@ -1023,6 +1032,7 @@ class ProjectsApi(object):
|
|
|
1023
1032
|
)
|
|
1024
1033
|
params[key] = val
|
|
1025
1034
|
del params['kwargs']
|
|
1035
|
+
check_filename_params(params)
|
|
1026
1036
|
|
|
1027
1037
|
collection_formats = {}
|
|
1028
1038
|
|
|
@@ -1136,6 +1146,7 @@ class ProjectsApi(object):
|
|
|
1136
1146
|
if ('project_id' not in params or
|
|
1137
1147
|
params['project_id'] is None):
|
|
1138
1148
|
raise ValueError("Missing the required parameter `project_id` when calling `delete_project`") # noqa: E501
|
|
1149
|
+
check_filename_params(params)
|
|
1139
1150
|
|
|
1140
1151
|
collection_formats = {}
|
|
1141
1152
|
|
|
@@ -1242,6 +1253,7 @@ class ProjectsApi(object):
|
|
|
1242
1253
|
if ('analysis_id' not in params or
|
|
1243
1254
|
params['analysis_id'] is None):
|
|
1244
1255
|
raise ValueError("Missing the required parameter `analysis_id` when calling `delete_project_analysis`") # noqa: E501
|
|
1256
|
+
check_filename_params(params)
|
|
1245
1257
|
|
|
1246
1258
|
collection_formats = {}
|
|
1247
1259
|
|
|
@@ -1354,6 +1366,7 @@ class ProjectsApi(object):
|
|
|
1354
1366
|
if ('note_id' not in params or
|
|
1355
1367
|
params['note_id'] is None):
|
|
1356
1368
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_project_analysis_note`") # noqa: E501
|
|
1369
|
+
check_filename_params(params)
|
|
1357
1370
|
|
|
1358
1371
|
collection_formats = {}
|
|
1359
1372
|
|
|
@@ -1464,6 +1477,7 @@ class ProjectsApi(object):
|
|
|
1464
1477
|
if ('filename' not in params or
|
|
1465
1478
|
params['filename'] is None):
|
|
1466
1479
|
raise ValueError("Missing the required parameter `filename` when calling `delete_project_file`") # noqa: E501
|
|
1480
|
+
check_filename_params(params)
|
|
1467
1481
|
|
|
1468
1482
|
collection_formats = {}
|
|
1469
1483
|
|
|
@@ -1572,6 +1586,7 @@ class ProjectsApi(object):
|
|
|
1572
1586
|
if ('note_id' not in params or
|
|
1573
1587
|
params['note_id'] is None):
|
|
1574
1588
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_project_note`") # noqa: E501
|
|
1589
|
+
check_filename_params(params)
|
|
1575
1590
|
|
|
1576
1591
|
collection_formats = {}
|
|
1577
1592
|
|
|
@@ -1676,6 +1691,7 @@ class ProjectsApi(object):
|
|
|
1676
1691
|
if ('value' not in params or
|
|
1677
1692
|
params['value'] is None):
|
|
1678
1693
|
raise ValueError("Missing the required parameter `value` when calling `delete_project_tag`") # noqa: E501
|
|
1694
|
+
check_filename_params(params)
|
|
1679
1695
|
|
|
1680
1696
|
collection_formats = {}
|
|
1681
1697
|
|
|
@@ -1780,6 +1796,7 @@ class ProjectsApi(object):
|
|
|
1780
1796
|
if ('body' not in params or
|
|
1781
1797
|
params['body'] is None):
|
|
1782
1798
|
raise ValueError("Missing the required parameter `body` when calling `delete_project_tags`") # noqa: E501
|
|
1799
|
+
check_filename_params(params)
|
|
1783
1800
|
|
|
1784
1801
|
collection_formats = {}
|
|
1785
1802
|
|
|
@@ -1888,6 +1905,7 @@ class ProjectsApi(object):
|
|
|
1888
1905
|
if ('uid' not in params or
|
|
1889
1906
|
params['uid'] is None):
|
|
1890
1907
|
raise ValueError("Missing the required parameter `uid` when calling `delete_project_user_permission`") # noqa: E501
|
|
1908
|
+
check_filename_params(params)
|
|
1891
1909
|
|
|
1892
1910
|
collection_formats = {}
|
|
1893
1911
|
|
|
@@ -1991,6 +2009,7 @@ class ProjectsApi(object):
|
|
|
1991
2009
|
if ('body' not in params or
|
|
1992
2010
|
params['body'] is None):
|
|
1993
2011
|
raise ValueError("Missing the required parameter `body` when calling `delete_projects_by_ids`") # noqa: E501
|
|
2012
|
+
check_filename_params(params)
|
|
1994
2013
|
|
|
1995
2014
|
collection_formats = {}
|
|
1996
2015
|
|
|
@@ -2095,6 +2114,7 @@ class ProjectsApi(object):
|
|
|
2095
2114
|
if ('body' not in params or
|
|
2096
2115
|
params['body'] is None):
|
|
2097
2116
|
raise ValueError("Missing the required parameter `body` when calling `delete_projects_by_query`") # noqa: E501
|
|
2117
|
+
check_filename_params(params)
|
|
2098
2118
|
|
|
2099
2119
|
collection_formats = {}
|
|
2100
2120
|
|
|
@@ -2217,6 +2237,7 @@ class ProjectsApi(object):
|
|
|
2217
2237
|
if ('file_name' not in params or
|
|
2218
2238
|
params['file_name'] is None):
|
|
2219
2239
|
raise ValueError("Missing the required parameter `file_name` when calling `download_file_from_project`") # noqa: E501
|
|
2240
|
+
check_filename_params(params)
|
|
2220
2241
|
|
|
2221
2242
|
collection_formats = {}
|
|
2222
2243
|
|
|
@@ -2352,6 +2373,7 @@ class ProjectsApi(object):
|
|
|
2352
2373
|
if ('file_name' not in params or
|
|
2353
2374
|
params['file_name'] is None):
|
|
2354
2375
|
raise ValueError("Missing the required parameter `file_name` when calling `get_project_file_zip_info`") # noqa: E501
|
|
2376
|
+
check_filename_params(params)
|
|
2355
2377
|
|
|
2356
2378
|
collection_formats = {}
|
|
2357
2379
|
|
|
@@ -2489,6 +2511,7 @@ class ProjectsApi(object):
|
|
|
2489
2511
|
if ('file_name' not in params or
|
|
2490
2512
|
params['file_name'] is None):
|
|
2491
2513
|
raise ValueError("Missing the required parameter `file_name` when calling `get_project_download_ticket`") # noqa: E501
|
|
2514
|
+
check_filename_params(params)
|
|
2492
2515
|
|
|
2493
2516
|
collection_formats = {}
|
|
2494
2517
|
|
|
@@ -2626,6 +2649,7 @@ class ProjectsApi(object):
|
|
|
2626
2649
|
if ('filename' not in params or
|
|
2627
2650
|
params['filename'] is None):
|
|
2628
2651
|
raise ValueError("Missing the required parameter `filename` when calling `download_input_from_project_analysis`") # noqa: E501
|
|
2652
|
+
check_filename_params(params)
|
|
2629
2653
|
|
|
2630
2654
|
collection_formats = {}
|
|
2631
2655
|
|
|
@@ -2761,6 +2785,7 @@ class ProjectsApi(object):
|
|
|
2761
2785
|
if ('filename' not in params or
|
|
2762
2786
|
params['filename'] is None):
|
|
2763
2787
|
raise ValueError("Missing the required parameter `filename` when calling `get_project_analysis_input_zip_info`") # noqa: E501
|
|
2788
|
+
check_filename_params(params)
|
|
2764
2789
|
|
|
2765
2790
|
collection_formats = {}
|
|
2766
2791
|
|
|
@@ -2898,6 +2923,7 @@ class ProjectsApi(object):
|
|
|
2898
2923
|
if ('filename' not in params or
|
|
2899
2924
|
params['filename'] is None):
|
|
2900
2925
|
raise ValueError("Missing the required parameter `filename` when calling `get_project_analysis_input_download_ticket`") # noqa: E501
|
|
2926
|
+
check_filename_params(params)
|
|
2901
2927
|
|
|
2902
2928
|
collection_formats = {}
|
|
2903
2929
|
|
|
@@ -3033,6 +3059,7 @@ class ProjectsApi(object):
|
|
|
3033
3059
|
if ('filename' not in params or
|
|
3034
3060
|
params['filename'] is None):
|
|
3035
3061
|
raise ValueError("Missing the required parameter `filename` when calling `download_output_from_project_analysis`") # noqa: E501
|
|
3062
|
+
check_filename_params(params)
|
|
3036
3063
|
|
|
3037
3064
|
collection_formats = {}
|
|
3038
3065
|
|
|
@@ -3168,6 +3195,7 @@ class ProjectsApi(object):
|
|
|
3168
3195
|
if ('filename' not in params or
|
|
3169
3196
|
params['filename'] is None):
|
|
3170
3197
|
raise ValueError("Missing the required parameter `filename` when calling `get_project_analysis_output_zip_info`") # noqa: E501
|
|
3198
|
+
check_filename_params(params)
|
|
3171
3199
|
|
|
3172
3200
|
collection_formats = {}
|
|
3173
3201
|
|
|
@@ -3305,6 +3333,7 @@ class ProjectsApi(object):
|
|
|
3305
3333
|
if ('filename' not in params or
|
|
3306
3334
|
params['filename'] is None):
|
|
3307
3335
|
raise ValueError("Missing the required parameter `filename` when calling `get_project_analysis_output_download_ticket`") # noqa: E501
|
|
3336
|
+
check_filename_params(params)
|
|
3308
3337
|
|
|
3309
3338
|
collection_formats = {}
|
|
3310
3339
|
|
|
@@ -3434,6 +3463,7 @@ class ProjectsApi(object):
|
|
|
3434
3463
|
if ('project_id' not in params or
|
|
3435
3464
|
params['project_id'] is None):
|
|
3436
3465
|
raise ValueError("Missing the required parameter `project_id` when calling `end_project_packfile_upload`") # noqa: E501
|
|
3466
|
+
check_filename_params(params)
|
|
3437
3467
|
|
|
3438
3468
|
collection_formats = {}
|
|
3439
3469
|
|
|
@@ -3554,6 +3584,7 @@ class ProjectsApi(object):
|
|
|
3554
3584
|
)
|
|
3555
3585
|
params[key] = val
|
|
3556
3586
|
del params['kwargs']
|
|
3587
|
+
check_filename_params(params)
|
|
3557
3588
|
|
|
3558
3589
|
collection_formats = {}
|
|
3559
3590
|
|
|
@@ -3683,6 +3714,7 @@ class ProjectsApi(object):
|
|
|
3683
3714
|
)
|
|
3684
3715
|
params[key] = val
|
|
3685
3716
|
del params['kwargs']
|
|
3717
|
+
check_filename_params(params)
|
|
3686
3718
|
|
|
3687
3719
|
collection_formats = {}
|
|
3688
3720
|
|
|
@@ -3786,6 +3818,7 @@ class ProjectsApi(object):
|
|
|
3786
3818
|
)
|
|
3787
3819
|
params[key] = val
|
|
3788
3820
|
del params['kwargs']
|
|
3821
|
+
check_filename_params(params)
|
|
3789
3822
|
|
|
3790
3823
|
collection_formats = {}
|
|
3791
3824
|
|
|
@@ -3884,6 +3917,7 @@ class ProjectsApi(object):
|
|
|
3884
3917
|
if ('project_id' not in params or
|
|
3885
3918
|
params['project_id'] is None):
|
|
3886
3919
|
raise ValueError("Missing the required parameter `project_id` when calling `get_project`") # noqa: E501
|
|
3920
|
+
check_filename_params(params)
|
|
3887
3921
|
|
|
3888
3922
|
collection_formats = {}
|
|
3889
3923
|
|
|
@@ -4007,6 +4041,7 @@ class ProjectsApi(object):
|
|
|
4007
4041
|
if ('project_id' not in params or
|
|
4008
4042
|
params['project_id'] is None):
|
|
4009
4043
|
raise ValueError("Missing the required parameter `project_id` when calling `get_project_acquisitions`") # noqa: E501
|
|
4044
|
+
check_filename_params(params)
|
|
4010
4045
|
|
|
4011
4046
|
collection_formats = {}
|
|
4012
4047
|
|
|
@@ -4148,6 +4183,7 @@ class ProjectsApi(object):
|
|
|
4148
4183
|
if ('cid' not in params or
|
|
4149
4184
|
params['cid'] is None):
|
|
4150
4185
|
raise ValueError("Missing the required parameter `cid` when calling `get_project_analyses`") # noqa: E501
|
|
4186
|
+
check_filename_params(params)
|
|
4151
4187
|
|
|
4152
4188
|
collection_formats = {}
|
|
4153
4189
|
|
|
@@ -4279,6 +4315,7 @@ class ProjectsApi(object):
|
|
|
4279
4315
|
if ('analysis_id' not in params or
|
|
4280
4316
|
params['analysis_id'] is None):
|
|
4281
4317
|
raise ValueError("Missing the required parameter `analysis_id` when calling `get_project_analysis`") # noqa: E501
|
|
4318
|
+
check_filename_params(params)
|
|
4282
4319
|
|
|
4283
4320
|
collection_formats = {}
|
|
4284
4321
|
|
|
@@ -4389,6 +4426,7 @@ class ProjectsApi(object):
|
|
|
4389
4426
|
if ('filename' not in params or
|
|
4390
4427
|
params['filename'] is None):
|
|
4391
4428
|
raise ValueError("Missing the required parameter `filename` when calling `get_project_file_info`") # noqa: E501
|
|
4429
|
+
check_filename_params(params)
|
|
4392
4430
|
|
|
4393
4431
|
collection_formats = {}
|
|
4394
4432
|
|
|
@@ -4493,6 +4531,7 @@ class ProjectsApi(object):
|
|
|
4493
4531
|
if ('note_id' not in params or
|
|
4494
4532
|
params['note_id'] is None):
|
|
4495
4533
|
raise ValueError("Missing the required parameter `note_id` when calling `get_project_note`") # noqa: E501
|
|
4534
|
+
check_filename_params(params)
|
|
4496
4535
|
|
|
4497
4536
|
collection_formats = {}
|
|
4498
4537
|
|
|
@@ -4597,6 +4636,7 @@ class ProjectsApi(object):
|
|
|
4597
4636
|
if ('rule_id' not in params or
|
|
4598
4637
|
params['rule_id'] is None):
|
|
4599
4638
|
raise ValueError("Missing the required parameter `rule_id` when calling `get_project_rule`") # noqa: E501
|
|
4639
|
+
check_filename_params(params)
|
|
4600
4640
|
|
|
4601
4641
|
collection_formats = {}
|
|
4602
4642
|
|
|
@@ -4693,6 +4733,7 @@ class ProjectsApi(object):
|
|
|
4693
4733
|
if ('project_id' not in params or
|
|
4694
4734
|
params['project_id'] is None):
|
|
4695
4735
|
raise ValueError("Missing the required parameter `project_id` when calling `get_project_rules`") # noqa: E501
|
|
4736
|
+
check_filename_params(params)
|
|
4696
4737
|
|
|
4697
4738
|
collection_formats = {}
|
|
4698
4739
|
|
|
@@ -4807,6 +4848,7 @@ class ProjectsApi(object):
|
|
|
4807
4848
|
if ('project_id' not in params or
|
|
4808
4849
|
params['project_id'] is None):
|
|
4809
4850
|
raise ValueError("Missing the required parameter `project_id` when calling `get_project_sessions`") # noqa: E501
|
|
4851
|
+
check_filename_params(params)
|
|
4810
4852
|
|
|
4811
4853
|
collection_formats = {}
|
|
4812
4854
|
|
|
@@ -4922,6 +4964,7 @@ class ProjectsApi(object):
|
|
|
4922
4964
|
if ('project_id' not in params or
|
|
4923
4965
|
params['project_id'] is None):
|
|
4924
4966
|
raise ValueError("Missing the required parameter `project_id` when calling `get_project_settings`") # noqa: E501
|
|
4967
|
+
check_filename_params(params)
|
|
4925
4968
|
|
|
4926
4969
|
collection_formats = {}
|
|
4927
4970
|
|
|
@@ -5036,6 +5079,7 @@ class ProjectsApi(object):
|
|
|
5036
5079
|
if ('project_id' not in params or
|
|
5037
5080
|
params['project_id'] is None):
|
|
5038
5081
|
raise ValueError("Missing the required parameter `project_id` when calling `get_project_subjects`") # noqa: E501
|
|
5082
|
+
check_filename_params(params)
|
|
5039
5083
|
|
|
5040
5084
|
collection_formats = {}
|
|
5041
5085
|
|
|
@@ -5157,6 +5201,7 @@ class ProjectsApi(object):
|
|
|
5157
5201
|
if ('value' not in params or
|
|
5158
5202
|
params['value'] is None):
|
|
5159
5203
|
raise ValueError("Missing the required parameter `value` when calling `get_project_tag`") # noqa: E501
|
|
5204
|
+
check_filename_params(params)
|
|
5160
5205
|
|
|
5161
5206
|
collection_formats = {}
|
|
5162
5207
|
|
|
@@ -5261,6 +5306,7 @@ class ProjectsApi(object):
|
|
|
5261
5306
|
if ('uid' not in params or
|
|
5262
5307
|
params['uid'] is None):
|
|
5263
5308
|
raise ValueError("Missing the required parameter `uid` when calling `get_project_user_permission`") # noqa: E501
|
|
5309
|
+
check_filename_params(params)
|
|
5264
5310
|
|
|
5265
5311
|
collection_formats = {}
|
|
5266
5312
|
|
|
@@ -5365,6 +5411,7 @@ class ProjectsApi(object):
|
|
|
5365
5411
|
if ('body' not in params or
|
|
5366
5412
|
params['body'] is None):
|
|
5367
5413
|
raise ValueError("Missing the required parameter `body` when calling `modify_project`") # noqa: E501
|
|
5414
|
+
check_filename_params(params)
|
|
5368
5415
|
|
|
5369
5416
|
collection_formats = {}
|
|
5370
5417
|
|
|
@@ -5489,6 +5536,7 @@ class ProjectsApi(object):
|
|
|
5489
5536
|
if ('body' not in params or
|
|
5490
5537
|
params['body'] is None):
|
|
5491
5538
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_analysis`") # noqa: E501
|
|
5539
|
+
check_filename_params(params)
|
|
5492
5540
|
|
|
5493
5541
|
collection_formats = {}
|
|
5494
5542
|
|
|
@@ -5612,6 +5660,7 @@ class ProjectsApi(object):
|
|
|
5612
5660
|
if ('body' not in params or
|
|
5613
5661
|
params['body'] is None):
|
|
5614
5662
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_file`") # noqa: E501
|
|
5663
|
+
check_filename_params(params)
|
|
5615
5664
|
|
|
5616
5665
|
collection_formats = {}
|
|
5617
5666
|
|
|
@@ -5735,6 +5784,7 @@ class ProjectsApi(object):
|
|
|
5735
5784
|
if ('body' not in params or
|
|
5736
5785
|
params['body'] is None):
|
|
5737
5786
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_file_classification`") # noqa: E501
|
|
5787
|
+
check_filename_params(params)
|
|
5738
5788
|
|
|
5739
5789
|
collection_formats = {}
|
|
5740
5790
|
|
|
@@ -5858,6 +5908,7 @@ class ProjectsApi(object):
|
|
|
5858
5908
|
if ('body' not in params or
|
|
5859
5909
|
params['body'] is None):
|
|
5860
5910
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_file_info`") # noqa: E501
|
|
5911
|
+
check_filename_params(params)
|
|
5861
5912
|
|
|
5862
5913
|
collection_formats = {}
|
|
5863
5914
|
|
|
@@ -5975,6 +6026,7 @@ class ProjectsApi(object):
|
|
|
5975
6026
|
if ('body' not in params or
|
|
5976
6027
|
params['body'] is None):
|
|
5977
6028
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_info`") # noqa: E501
|
|
6029
|
+
check_filename_params(params)
|
|
5978
6030
|
|
|
5979
6031
|
collection_formats = {}
|
|
5980
6032
|
|
|
@@ -6096,6 +6148,7 @@ class ProjectsApi(object):
|
|
|
6096
6148
|
if ('body' not in params or
|
|
6097
6149
|
params['body'] is None):
|
|
6098
6150
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_note`") # noqa: E501
|
|
6151
|
+
check_filename_params(params)
|
|
6099
6152
|
|
|
6100
6153
|
collection_formats = {}
|
|
6101
6154
|
|
|
@@ -6219,6 +6272,7 @@ class ProjectsApi(object):
|
|
|
6219
6272
|
if ('body' not in params or
|
|
6220
6273
|
params['body'] is None):
|
|
6221
6274
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_rule`") # noqa: E501
|
|
6275
|
+
check_filename_params(params)
|
|
6222
6276
|
|
|
6223
6277
|
collection_formats = {}
|
|
6224
6278
|
|
|
@@ -6338,6 +6392,7 @@ class ProjectsApi(object):
|
|
|
6338
6392
|
if ('body' not in params or
|
|
6339
6393
|
params['body'] is None):
|
|
6340
6394
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_settings`") # noqa: E501
|
|
6395
|
+
check_filename_params(params)
|
|
6341
6396
|
|
|
6342
6397
|
collection_formats = {}
|
|
6343
6398
|
|
|
@@ -6464,6 +6519,7 @@ class ProjectsApi(object):
|
|
|
6464
6519
|
if ('body' not in params or
|
|
6465
6520
|
params['body'] is None):
|
|
6466
6521
|
raise ValueError("Missing the required parameter `body` when calling `modify_project_user_permission`") # noqa: E501
|
|
6522
|
+
check_filename_params(params)
|
|
6467
6523
|
|
|
6468
6524
|
collection_formats = {}
|
|
6469
6525
|
|
|
@@ -6584,6 +6640,7 @@ class ProjectsApi(object):
|
|
|
6584
6640
|
if ('body' not in params or
|
|
6585
6641
|
params['body'] is None):
|
|
6586
6642
|
raise ValueError("Missing the required parameter `body` when calling `project_copy`") # noqa: E501
|
|
6643
|
+
check_filename_params(params)
|
|
6587
6644
|
|
|
6588
6645
|
collection_formats = {}
|
|
6589
6646
|
|
|
@@ -6703,6 +6760,7 @@ class ProjectsApi(object):
|
|
|
6703
6760
|
if ('file' not in params or
|
|
6704
6761
|
params['file'] is None):
|
|
6705
6762
|
raise ValueError("Missing the required parameter `file` when calling `project_packfile_upload`") # noqa: E501
|
|
6763
|
+
check_filename_params(params)
|
|
6706
6764
|
|
|
6707
6765
|
collection_formats = {}
|
|
6708
6766
|
|
|
@@ -6801,6 +6859,7 @@ class ProjectsApi(object):
|
|
|
6801
6859
|
)
|
|
6802
6860
|
params[key] = val
|
|
6803
6861
|
del params['kwargs']
|
|
6862
|
+
check_filename_params(params)
|
|
6804
6863
|
|
|
6805
6864
|
collection_formats = {}
|
|
6806
6865
|
|
|
@@ -6895,6 +6954,7 @@ class ProjectsApi(object):
|
|
|
6895
6954
|
if ('project_id' not in params or
|
|
6896
6955
|
params['project_id'] is None):
|
|
6897
6956
|
raise ValueError("Missing the required parameter `project_id` when calling `recalc_project`") # noqa: E501
|
|
6957
|
+
check_filename_params(params)
|
|
6898
6958
|
|
|
6899
6959
|
collection_formats = {}
|
|
6900
6960
|
|
|
@@ -6995,6 +7055,7 @@ class ProjectsApi(object):
|
|
|
6995
7055
|
if ('rule_id' not in params or
|
|
6996
7056
|
params['rule_id'] is None):
|
|
6997
7057
|
raise ValueError("Missing the required parameter `rule_id` when calling `remove_project_rule`") # noqa: E501
|
|
7058
|
+
check_filename_params(params)
|
|
6998
7059
|
|
|
6999
7060
|
collection_formats = {}
|
|
7000
7061
|
|
|
@@ -7091,6 +7152,7 @@ class ProjectsApi(object):
|
|
|
7091
7152
|
if ('project_id' not in params or
|
|
7092
7153
|
params['project_id'] is None):
|
|
7093
7154
|
raise ValueError("Missing the required parameter `project_id` when calling `remove_project_template`") # noqa: E501
|
|
7155
|
+
check_filename_params(params)
|
|
7094
7156
|
|
|
7095
7157
|
collection_formats = {}
|
|
7096
7158
|
|
|
@@ -7199,6 +7261,7 @@ class ProjectsApi(object):
|
|
|
7199
7261
|
if ('body' not in params or
|
|
7200
7262
|
params['body'] is None):
|
|
7201
7263
|
raise ValueError("Missing the required parameter `body` when calling `rename_project_tag`") # noqa: E501
|
|
7264
|
+
check_filename_params(params)
|
|
7202
7265
|
|
|
7203
7266
|
collection_formats = {}
|
|
7204
7267
|
|
|
@@ -7314,6 +7377,7 @@ class ProjectsApi(object):
|
|
|
7314
7377
|
if ('body' not in params or
|
|
7315
7378
|
params['body'] is None):
|
|
7316
7379
|
raise ValueError("Missing the required parameter `body` when calling `set_project_template`") # noqa: E501
|
|
7380
|
+
check_filename_params(params)
|
|
7317
7381
|
|
|
7318
7382
|
collection_formats = {}
|
|
7319
7383
|
|
|
@@ -7421,6 +7485,7 @@ class ProjectsApi(object):
|
|
|
7421
7485
|
if ('project_id' not in params or
|
|
7422
7486
|
params['project_id'] is None):
|
|
7423
7487
|
raise ValueError("Missing the required parameter `project_id` when calling `start_project_packfile_upload`") # noqa: E501
|
|
7488
|
+
check_filename_params(params)
|
|
7424
7489
|
|
|
7425
7490
|
collection_formats = {}
|
|
7426
7491
|
|
|
@@ -7539,6 +7604,7 @@ class ProjectsApi(object):
|
|
|
7539
7604
|
if ('file' not in params or
|
|
7540
7605
|
params['file'] is None):
|
|
7541
7606
|
raise ValueError("Missing the required parameter `file` when calling `upload_file_to_project`") # noqa: E501
|
|
7607
|
+
check_filename_params(params)
|
|
7542
7608
|
|
|
7543
7609
|
collection_formats = {}
|
|
7544
7610
|
|
|
@@ -7680,6 +7746,7 @@ class ProjectsApi(object):
|
|
|
7680
7746
|
if ('file' not in params or
|
|
7681
7747
|
params['file'] is None):
|
|
7682
7748
|
raise ValueError("Missing the required parameter `file` when calling `upload_output_to_project_analysis`") # noqa: E501
|
|
7749
|
+
check_filename_params(params)
|
|
7683
7750
|
|
|
7684
7751
|
collection_formats = {}
|
|
7685
7752
|
|
|
@@ -7802,6 +7869,7 @@ class ProjectsApi(object):
|
|
|
7802
7869
|
if ('body' not in params or
|
|
7803
7870
|
params['body'] is None):
|
|
7804
7871
|
raise ValueError("Missing the required parameter `body` when calling `upsert_project_hierarchy`") # noqa: E501
|
|
7872
|
+
check_filename_params(params)
|
|
7805
7873
|
|
|
7806
7874
|
collection_formats = {}
|
|
7807
7875
|
|
flywheel/api/reports_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 ReportsApi(object):
|
|
|
87
88
|
)
|
|
88
89
|
params[key] = val
|
|
89
90
|
del params['kwargs']
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -207,6 +209,7 @@ class ReportsApi(object):
|
|
|
207
209
|
)
|
|
208
210
|
params[key] = val
|
|
209
211
|
del params['kwargs']
|
|
212
|
+
check_filename_params(params)
|
|
210
213
|
|
|
211
214
|
collection_formats = {}
|
|
212
215
|
|
|
@@ -323,6 +326,7 @@ class ReportsApi(object):
|
|
|
323
326
|
)
|
|
324
327
|
params[key] = val
|
|
325
328
|
del params['kwargs']
|
|
329
|
+
check_filename_params(params)
|
|
326
330
|
|
|
327
331
|
collection_formats = {}
|
|
328
332
|
|
|
@@ -417,6 +421,7 @@ class ReportsApi(object):
|
|
|
417
421
|
)
|
|
418
422
|
params[key] = val
|
|
419
423
|
del params['kwargs']
|
|
424
|
+
check_filename_params(params)
|
|
420
425
|
|
|
421
426
|
collection_formats = {}
|
|
422
427
|
|
|
@@ -521,6 +526,7 @@ class ReportsApi(object):
|
|
|
521
526
|
)
|
|
522
527
|
params[key] = val
|
|
523
528
|
del params['kwargs']
|
|
529
|
+
check_filename_params(params)
|
|
524
530
|
|
|
525
531
|
collection_formats = {}
|
|
526
532
|
|
|
@@ -627,6 +633,7 @@ class ReportsApi(object):
|
|
|
627
633
|
if ('type' not in params or
|
|
628
634
|
params['type'] is None):
|
|
629
635
|
raise ValueError("Missing the required parameter `type` when calling `get_legacy_usage_report`") # noqa: E501
|
|
636
|
+
check_filename_params(params)
|
|
630
637
|
|
|
631
638
|
collection_formats = {}
|
|
632
639
|
|
|
@@ -727,6 +734,7 @@ class ReportsApi(object):
|
|
|
727
734
|
)
|
|
728
735
|
params[key] = val
|
|
729
736
|
del params['kwargs']
|
|
737
|
+
check_filename_params(params)
|
|
730
738
|
|
|
731
739
|
collection_formats = {}
|
|
732
740
|
|
|
@@ -820,6 +828,7 @@ class ReportsApi(object):
|
|
|
820
828
|
)
|
|
821
829
|
params[key] = val
|
|
822
830
|
del params['kwargs']
|
|
831
|
+
check_filename_params(params)
|
|
823
832
|
|
|
824
833
|
collection_formats = {}
|
|
825
834
|
|
|
@@ -908,6 +917,7 @@ class ReportsApi(object):
|
|
|
908
917
|
)
|
|
909
918
|
params[key] = val
|
|
910
919
|
del params['kwargs']
|
|
920
|
+
check_filename_params(params)
|
|
911
921
|
|
|
912
922
|
collection_formats = {}
|
|
913
923
|
|
|
@@ -1002,6 +1012,7 @@ class ReportsApi(object):
|
|
|
1002
1012
|
)
|
|
1003
1013
|
params[key] = val
|
|
1004
1014
|
del params['kwargs']
|
|
1015
|
+
check_filename_params(params)
|
|
1005
1016
|
|
|
1006
1017
|
collection_formats = {}
|
|
1007
1018
|
|
flywheel/api/resolve_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 ResolveApi(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 `lookup_path`") # noqa: E501
|
|
97
|
+
check_filename_params(params)
|
|
96
98
|
|
|
97
99
|
collection_formats = {}
|
|
98
100
|
|
|
@@ -214,6 +216,7 @@ class ResolveApi(object):
|
|
|
214
216
|
if ('body' not in params or
|
|
215
217
|
params['body'] is None):
|
|
216
218
|
raise ValueError("Missing the required parameter `body` when calling `resolve_path`") # noqa: E501
|
|
219
|
+
check_filename_params(params)
|
|
217
220
|
|
|
218
221
|
collection_formats = {}
|
|
219
222
|
|