flywheel-sdk 20.2.0rc2__py2.py3-none-any.whl → 20.3.0rc0__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.
Files changed (73) hide show
  1. flywheel/__init__.py +7 -2
  2. flywheel/api/acquisitions_api.py +42 -0
  3. flywheel/api/analyses_api.py +42 -4
  4. flywheel/api/audit_trail_api.py +6 -0
  5. flywheel/api/auth_api.py +2 -0
  6. flywheel/api/batch_api.py +7 -0
  7. flywheel/api/bulk_api.py +2 -0
  8. flywheel/api/change_log_api.py +3 -0
  9. flywheel/api/collections_api.py +35 -0
  10. flywheel/api/config_api.py +4 -0
  11. flywheel/api/container_type_api.py +2 -0
  12. flywheel/api/containers_api.py +40 -0
  13. flywheel/api/data_view_executions_api.py +6 -0
  14. flywheel/api/dataexplorer_api.py +12 -0
  15. flywheel/api/devices_api.py +12 -0
  16. flywheel/api/dimse_api.py +9 -0
  17. flywheel/api/download_api.py +3 -0
  18. flywheel/api/files_api.py +19 -0
  19. flywheel/api/gears_api.py +18 -0
  20. flywheel/api/groups_api.py +27 -0
  21. flywheel/api/jobs_api.py +22 -0
  22. flywheel/api/jupyterlab_servers_api.py +3 -0
  23. flywheel/api/modalities_api.py +6 -0
  24. flywheel/api/packfiles_api.py +2 -0
  25. flywheel/api/projects_api.py +68 -0
  26. flywheel/api/reports_api.py +11 -0
  27. flywheel/api/resolve_api.py +3 -0
  28. flywheel/api/roles_api.py +6 -0
  29. flywheel/api/sessions_api.py +160 -0
  30. flywheel/api/site_api.py +16 -0
  31. flywheel/api/subjects_api.py +45 -0
  32. flywheel/api/tree_api.py +3 -0
  33. flywheel/api/uids_api.py +2 -0
  34. flywheel/api/upload_api.py +8 -0
  35. flywheel/api/users_api.py +20 -0
  36. flywheel/api/views_api.py +10 -0
  37. flywheel/api_client.py +1 -1
  38. flywheel/configuration.py +53 -2
  39. flywheel/flywheel.py +28 -2
  40. flywheel/models/__init__.py +8 -3
  41. flywheel/models/{project_copy_filter.py → copy_filter.py} +28 -28
  42. flywheel/models/{project_copy_status.py → copy_status.py} +1 -1
  43. flywheel/models/cvat_info.py +243 -0
  44. flywheel/models/cvat_settings.py +271 -0
  45. flywheel/models/cvat_settings_input.py +271 -0
  46. flywheel/models/cvat_sync_state.py +29 -0
  47. flywheel/models/features.py +55 -1
  48. flywheel/models/file.py +29 -1
  49. flywheel/models/file_list_output.py +29 -1
  50. flywheel/models/file_node.py +29 -1
  51. flywheel/models/file_output.py +29 -1
  52. flywheel/models/file_upsert_output.py +29 -1
  53. flywheel/models/mixins.py +0 -3
  54. flywheel/models/project_container_output.py +1 -1
  55. flywheel/models/project_copy_input.py +4 -4
  56. flywheel/models/project_modify.py +4 -4
  57. flywheel/models/project_node.py +1 -1
  58. flywheel/models/project_output.py +4 -4
  59. flywheel/models/project_settings_input.py +32 -4
  60. flywheel/models/project_settings_output.py +32 -4
  61. flywheel/models/search_parent_project.py +1 -1
  62. flywheel/models/search_parent_session.py +1 -0
  63. flywheel/models/session_container_output.py +1 -0
  64. flywheel/models/session_copy_input.py +244 -0
  65. flywheel/models/session_list_output.py +32 -4
  66. flywheel/models/session_node.py +1 -0
  67. flywheel/models/session_output.py +29 -1
  68. flywheel/util.py +10 -0
  69. {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/METADATA +1 -1
  70. {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/RECORD +73 -68
  71. {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/WHEEL +0 -0
  72. {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/licenses/LICENSE.txt +0 -0
  73. {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/top_level.txt +0 -0
@@ -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.
@@ -97,6 +98,7 @@ class ContainersApi(object):
97
98
  if ('body' not in params or
98
99
  params['body'] is None):
99
100
  raise ValueError("Missing the required parameter `body` when calling `add_container_analysis`") # noqa: E501
101
+ check_filename_params(params)
100
102
 
101
103
  collection_formats = {}
102
104
 
@@ -224,6 +226,7 @@ class ContainersApi(object):
224
226
  if ('body' not in params or
225
227
  params['body'] is None):
226
228
  raise ValueError("Missing the required parameter `body` when calling `add_container_analysis_note`") # noqa: E501
229
+ check_filename_params(params)
227
230
 
228
231
  collection_formats = {}
229
232
 
@@ -341,6 +344,7 @@ class ContainersApi(object):
341
344
  if ('body' not in params or
342
345
  params['body'] is None):
343
346
  raise ValueError("Missing the required parameter `body` when calling `add_container_note`") # noqa: E501
347
+ check_filename_params(params)
344
348
 
345
349
  collection_formats = {}
346
350
 
@@ -456,6 +460,7 @@ class ContainersApi(object):
456
460
  if ('body' not in params or
457
461
  params['body'] is None):
458
462
  raise ValueError("Missing the required parameter `body` when calling `add_container_tag`") # noqa: E501
463
+ check_filename_params(params)
459
464
 
460
465
  collection_formats = {}
461
466
 
@@ -571,6 +576,7 @@ class ContainersApi(object):
571
576
  if ('body' not in params or
572
577
  params['body'] is None):
573
578
  raise ValueError("Missing the required parameter `body` when calling `add_container_tags`") # noqa: E501
579
+ check_filename_params(params)
574
580
 
575
581
  collection_formats = {}
576
582
 
@@ -679,6 +685,7 @@ class ContainersApi(object):
679
685
  if ('body' not in params or
680
686
  params['body'] is None):
681
687
  raise ValueError("Missing the required parameter `body` when calling `add_view`") # noqa: E501
688
+ check_filename_params(params)
682
689
 
683
690
  collection_formats = {}
684
691
 
@@ -790,6 +797,7 @@ class ContainersApi(object):
790
797
  if ('container_id' not in params or
791
798
  params['container_id'] is None):
792
799
  raise ValueError("Missing the required parameter `container_id` when calling `delete_container`") # noqa: E501
800
+ check_filename_params(params)
793
801
 
794
802
  collection_formats = {}
795
803
 
@@ -896,6 +904,7 @@ class ContainersApi(object):
896
904
  if ('analysis_id' not in params or
897
905
  params['analysis_id'] is None):
898
906
  raise ValueError("Missing the required parameter `analysis_id` when calling `delete_container_analysis`") # noqa: E501
907
+ check_filename_params(params)
899
908
 
900
909
  collection_formats = {}
901
910
 
@@ -1008,6 +1017,7 @@ class ContainersApi(object):
1008
1017
  if ('note_id' not in params or
1009
1018
  params['note_id'] is None):
1010
1019
  raise ValueError("Missing the required parameter `note_id` when calling `delete_container_analysis_note`") # noqa: E501
1020
+ check_filename_params(params)
1011
1021
 
1012
1022
  collection_formats = {}
1013
1023
 
@@ -1118,6 +1128,7 @@ class ContainersApi(object):
1118
1128
  if ('filename' not in params or
1119
1129
  params['filename'] is None):
1120
1130
  raise ValueError("Missing the required parameter `filename` when calling `delete_container_file`") # noqa: E501
1131
+ check_filename_params(params)
1121
1132
 
1122
1133
  collection_formats = {}
1123
1134
 
@@ -1226,6 +1237,7 @@ class ContainersApi(object):
1226
1237
  if ('note_id' not in params or
1227
1238
  params['note_id'] is None):
1228
1239
  raise ValueError("Missing the required parameter `note_id` when calling `delete_container_note`") # noqa: E501
1240
+ check_filename_params(params)
1229
1241
 
1230
1242
  collection_formats = {}
1231
1243
 
@@ -1330,6 +1342,7 @@ class ContainersApi(object):
1330
1342
  if ('value' not in params or
1331
1343
  params['value'] is None):
1332
1344
  raise ValueError("Missing the required parameter `value` when calling `delete_container_tag`") # noqa: E501
1345
+ check_filename_params(params)
1333
1346
 
1334
1347
  collection_formats = {}
1335
1348
 
@@ -1434,6 +1447,7 @@ class ContainersApi(object):
1434
1447
  if ('body' not in params or
1435
1448
  params['body'] is None):
1436
1449
  raise ValueError("Missing the required parameter `body` when calling `delete_container_tags`") # noqa: E501
1450
+ check_filename_params(params)
1437
1451
 
1438
1452
  collection_formats = {}
1439
1453
 
@@ -1556,6 +1570,7 @@ class ContainersApi(object):
1556
1570
  if ('file_name' not in params or
1557
1571
  params['file_name'] is None):
1558
1572
  raise ValueError("Missing the required parameter `file_name` when calling `download_file_from_container`") # noqa: E501
1573
+ check_filename_params(params)
1559
1574
 
1560
1575
  collection_formats = {}
1561
1576
 
@@ -1691,6 +1706,7 @@ class ContainersApi(object):
1691
1706
  if ('file_name' not in params or
1692
1707
  params['file_name'] is None):
1693
1708
  raise ValueError("Missing the required parameter `file_name` when calling `get_container_file_zip_info`") # noqa: E501
1709
+ check_filename_params(params)
1694
1710
 
1695
1711
  collection_formats = {}
1696
1712
 
@@ -1828,6 +1844,7 @@ class ContainersApi(object):
1828
1844
  if ('file_name' not in params or
1829
1845
  params['file_name'] is None):
1830
1846
  raise ValueError("Missing the required parameter `file_name` when calling `get_container_download_ticket`") # noqa: E501
1847
+ check_filename_params(params)
1831
1848
 
1832
1849
  collection_formats = {}
1833
1850
 
@@ -1965,6 +1982,7 @@ class ContainersApi(object):
1965
1982
  if ('filename' not in params or
1966
1983
  params['filename'] is None):
1967
1984
  raise ValueError("Missing the required parameter `filename` when calling `download_input_from_container_analysis`") # noqa: E501
1985
+ check_filename_params(params)
1968
1986
 
1969
1987
  collection_formats = {}
1970
1988
 
@@ -2100,6 +2118,7 @@ class ContainersApi(object):
2100
2118
  if ('filename' not in params or
2101
2119
  params['filename'] is None):
2102
2120
  raise ValueError("Missing the required parameter `filename` when calling `get_container_analysis_input_zip_info`") # noqa: E501
2121
+ check_filename_params(params)
2103
2122
 
2104
2123
  collection_formats = {}
2105
2124
 
@@ -2237,6 +2256,7 @@ class ContainersApi(object):
2237
2256
  if ('filename' not in params or
2238
2257
  params['filename'] is None):
2239
2258
  raise ValueError("Missing the required parameter `filename` when calling `get_container_analysis_input_download_ticket`") # noqa: E501
2259
+ check_filename_params(params)
2240
2260
 
2241
2261
  collection_formats = {}
2242
2262
 
@@ -2372,6 +2392,7 @@ class ContainersApi(object):
2372
2392
  if ('filename' not in params or
2373
2393
  params['filename'] is None):
2374
2394
  raise ValueError("Missing the required parameter `filename` when calling `download_output_from_container_analysis`") # noqa: E501
2395
+ check_filename_params(params)
2375
2396
 
2376
2397
  collection_formats = {}
2377
2398
 
@@ -2507,6 +2528,7 @@ class ContainersApi(object):
2507
2528
  if ('filename' not in params or
2508
2529
  params['filename'] is None):
2509
2530
  raise ValueError("Missing the required parameter `filename` when calling `get_container_analysis_output_zip_info`") # noqa: E501
2531
+ check_filename_params(params)
2510
2532
 
2511
2533
  collection_formats = {}
2512
2534
 
@@ -2644,6 +2666,7 @@ class ContainersApi(object):
2644
2666
  if ('filename' not in params or
2645
2667
  params['filename'] is None):
2646
2668
  raise ValueError("Missing the required parameter `filename` when calling `get_container_analysis_output_download_ticket`") # noqa: E501
2669
+ check_filename_params(params)
2647
2670
 
2648
2671
  collection_formats = {}
2649
2672
 
@@ -2761,6 +2784,7 @@ class ContainersApi(object):
2761
2784
  if ('container_id' not in params or
2762
2785
  params['container_id'] is None):
2763
2786
  raise ValueError("Missing the required parameter `container_id` when calling `get_container`") # noqa: E501
2787
+ check_filename_params(params)
2764
2788
 
2765
2789
  collection_formats = {}
2766
2790
 
@@ -2883,6 +2907,7 @@ class ContainersApi(object):
2883
2907
  if ('cid' not in params or
2884
2908
  params['cid'] is None):
2885
2909
  raise ValueError("Missing the required parameter `cid` when calling `get_container_analyses`") # noqa: E501
2910
+ check_filename_params(params)
2886
2911
 
2887
2912
  collection_formats = {}
2888
2913
 
@@ -3014,6 +3039,7 @@ class ContainersApi(object):
3014
3039
  if ('analysis_id' not in params or
3015
3040
  params['analysis_id'] is None):
3016
3041
  raise ValueError("Missing the required parameter `analysis_id` when calling `get_container_analysis`") # noqa: E501
3042
+ check_filename_params(params)
3017
3043
 
3018
3044
  collection_formats = {}
3019
3045
 
@@ -3124,6 +3150,7 @@ class ContainersApi(object):
3124
3150
  if ('filename' not in params or
3125
3151
  params['filename'] is None):
3126
3152
  raise ValueError("Missing the required parameter `filename` when calling `get_container_file_info`") # noqa: E501
3153
+ check_filename_params(params)
3127
3154
 
3128
3155
  collection_formats = {}
3129
3156
 
@@ -3228,6 +3255,7 @@ class ContainersApi(object):
3228
3255
  if ('note_id' not in params or
3229
3256
  params['note_id'] is None):
3230
3257
  raise ValueError("Missing the required parameter `note_id` when calling `get_container_note`") # noqa: E501
3258
+ check_filename_params(params)
3231
3259
 
3232
3260
  collection_formats = {}
3233
3261
 
@@ -3332,6 +3360,7 @@ class ContainersApi(object):
3332
3360
  if ('value' not in params or
3333
3361
  params['value'] is None):
3334
3362
  raise ValueError("Missing the required parameter `value` when calling `get_container_tag`") # noqa: E501
3363
+ check_filename_params(params)
3335
3364
 
3336
3365
  collection_formats = {}
3337
3366
 
@@ -3442,6 +3471,7 @@ class ContainersApi(object):
3442
3471
  if ('container_id' not in params or
3443
3472
  params['container_id'] is None):
3444
3473
  raise ValueError("Missing the required parameter `container_id` when calling `get_views`") # noqa: E501
3474
+ check_filename_params(params)
3445
3475
 
3446
3476
  collection_formats = {}
3447
3477
 
@@ -3556,6 +3586,7 @@ class ContainersApi(object):
3556
3586
  if ('body' not in params or
3557
3587
  params['body'] is None):
3558
3588
  raise ValueError("Missing the required parameter `body` when calling `modify_container`") # noqa: E501
3589
+ check_filename_params(params)
3559
3590
 
3560
3591
  collection_formats = {}
3561
3592
 
@@ -3677,6 +3708,7 @@ class ContainersApi(object):
3677
3708
  if ('body' not in params or
3678
3709
  params['body'] is None):
3679
3710
  raise ValueError("Missing the required parameter `body` when calling `modify_container_analysis`") # noqa: E501
3711
+ check_filename_params(params)
3680
3712
 
3681
3713
  collection_formats = {}
3682
3714
 
@@ -3800,6 +3832,7 @@ class ContainersApi(object):
3800
3832
  if ('body' not in params or
3801
3833
  params['body'] is None):
3802
3834
  raise ValueError("Missing the required parameter `body` when calling `modify_container_file`") # noqa: E501
3835
+ check_filename_params(params)
3803
3836
 
3804
3837
  collection_formats = {}
3805
3838
 
@@ -3923,6 +3956,7 @@ class ContainersApi(object):
3923
3956
  if ('body' not in params or
3924
3957
  params['body'] is None):
3925
3958
  raise ValueError("Missing the required parameter `body` when calling `modify_container_file_classification`") # noqa: E501
3959
+ check_filename_params(params)
3926
3960
 
3927
3961
  collection_formats = {}
3928
3962
 
@@ -4046,6 +4080,7 @@ class ContainersApi(object):
4046
4080
  if ('body' not in params or
4047
4081
  params['body'] is None):
4048
4082
  raise ValueError("Missing the required parameter `body` when calling `modify_container_file_info`") # noqa: E501
4083
+ check_filename_params(params)
4049
4084
 
4050
4085
  collection_formats = {}
4051
4086
 
@@ -4163,6 +4198,7 @@ class ContainersApi(object):
4163
4198
  if ('body' not in params or
4164
4199
  params['body'] is None):
4165
4200
  raise ValueError("Missing the required parameter `body` when calling `modify_container_info`") # noqa: E501
4201
+ check_filename_params(params)
4166
4202
 
4167
4203
  collection_formats = {}
4168
4204
 
@@ -4284,6 +4320,7 @@ class ContainersApi(object):
4284
4320
  if ('body' not in params or
4285
4321
  params['body'] is None):
4286
4322
  raise ValueError("Missing the required parameter `body` when calling `modify_container_note`") # noqa: E501
4323
+ check_filename_params(params)
4287
4324
 
4288
4325
  collection_formats = {}
4289
4326
 
@@ -4407,6 +4444,7 @@ class ContainersApi(object):
4407
4444
  if ('body' not in params or
4408
4445
  params['body'] is None):
4409
4446
  raise ValueError("Missing the required parameter `body` when calling `rename_container_tag`") # noqa: E501
4447
+ check_filename_params(params)
4410
4448
 
4411
4449
  collection_formats = {}
4412
4450
 
@@ -4540,6 +4578,7 @@ class ContainersApi(object):
4540
4578
  if ('file' not in params or
4541
4579
  params['file'] is None):
4542
4580
  raise ValueError("Missing the required parameter `file` when calling `upload_file_to_container`") # noqa: E501
4581
+ check_filename_params(params)
4543
4582
 
4544
4583
  collection_formats = {}
4545
4584
 
@@ -4681,6 +4720,7 @@ class ContainersApi(object):
4681
4720
  if ('file' not in params or
4682
4721
  params['file'] is None):
4683
4722
  raise ValueError("Missing the required parameter `file` when calling `upload_output_to_container_analysis`") # noqa: E501
4723
+ check_filename_params(params)
4684
4724
 
4685
4725
  collection_formats = {}
4686
4726
 
@@ -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 DataViewExecutionsApi(object):
85
86
  if ('data_view_execution_id' not in params or
86
87
  params['data_view_execution_id'] is None):
87
88
  raise ValueError("Missing the required parameter `data_view_execution_id` when calling `delete_view_execution`") # noqa: E501
89
+ check_filename_params(params)
88
90
 
89
91
  collection_formats = {}
90
92
 
@@ -189,6 +191,7 @@ class DataViewExecutionsApi(object):
189
191
  )
190
192
  params[key] = val
191
193
  del params['kwargs']
194
+ check_filename_params(params)
192
195
 
193
196
  collection_formats = {}
194
197
 
@@ -298,6 +301,7 @@ class DataViewExecutionsApi(object):
298
301
  if ('data_view_execution_id' not in params or
299
302
  params['data_view_execution_id'] is None):
300
303
  raise ValueError("Missing the required parameter `data_view_execution_id` when calling `get_data_view_execution`") # noqa: E501
304
+ check_filename_params(params)
301
305
 
302
306
  collection_formats = {}
303
307
 
@@ -399,6 +403,7 @@ class DataViewExecutionsApi(object):
399
403
  if ('data_view_execution_id' not in params or
400
404
  params['data_view_execution_id'] is None):
401
405
  raise ValueError("Missing the required parameter `data_view_execution_id` when calling `get_data_view_execution_data`") # noqa: E501
406
+ check_filename_params(params)
402
407
 
403
408
  collection_formats = {}
404
409
 
@@ -501,6 +506,7 @@ class DataViewExecutionsApi(object):
501
506
  if ('data_view_execution_id' not in params or
502
507
  params['data_view_execution_id'] is None):
503
508
  raise ValueError("Missing the required parameter `data_view_execution_id` when calling `save_data_view_execution`") # noqa: E501
509
+ check_filename_params(params)
504
510
 
505
511
  collection_formats = {}
506
512
 
@@ -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 DataexplorerApi(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 `delete_by_search`") # noqa: E501
91
+ check_filename_params(params)
90
92
 
91
93
  collection_formats = {}
92
94
 
@@ -194,6 +196,7 @@ class DataexplorerApi(object):
194
196
  if ('search_id' not in params or
195
197
  params['search_id'] is None):
196
198
  raise ValueError("Missing the required parameter `search_id` when calling `delete_save_search`") # noqa: E501
199
+ check_filename_params(params)
197
200
 
198
201
  collection_formats = {}
199
202
 
@@ -298,6 +301,7 @@ class DataexplorerApi(object):
298
301
  )
299
302
  params[key] = val
300
303
  del params['kwargs']
304
+ check_filename_params(params)
301
305
 
302
306
  collection_formats = {}
303
307
 
@@ -403,6 +407,7 @@ class DataexplorerApi(object):
403
407
  )
404
408
  params[key] = val
405
409
  del params['kwargs']
410
+ check_filename_params(params)
406
411
 
407
412
  collection_formats = {}
408
413
 
@@ -497,6 +502,7 @@ class DataexplorerApi(object):
497
502
  if ('sid' not in params or
498
503
  params['sid'] is None):
499
504
  raise ValueError("Missing the required parameter `sid` when calling `get_saved_search`") # noqa: E501
505
+ check_filename_params(params)
500
506
 
501
507
  collection_formats = {}
502
508
 
@@ -593,6 +599,7 @@ class DataexplorerApi(object):
593
599
  if ('body' not in params or
594
600
  params['body'] is None):
595
601
  raise ValueError("Missing the required parameter `body` when calling `get_search_query_suggestions`") # noqa: E501
602
+ check_filename_params(params)
596
603
 
597
604
  collection_formats = {}
598
605
 
@@ -692,6 +699,7 @@ class DataexplorerApi(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
 
@@ -786,6 +794,7 @@ class DataexplorerApi(object):
786
794
  if ('body' not in params or
787
795
  params['body'] is None):
788
796
  raise ValueError("Missing the required parameter `body` when calling `parse_search_query`") # noqa: E501
797
+ check_filename_params(params)
789
798
 
790
799
  collection_formats = {}
791
800
 
@@ -897,6 +906,7 @@ class DataexplorerApi(object):
897
906
  if ('body' not in params or
898
907
  params['body'] is None):
899
908
  raise ValueError("Missing the required parameter `body` when calling `replace_search`") # noqa: E501
909
+ check_filename_params(params)
900
910
 
901
911
  collection_formats = {}
902
912
 
@@ -1004,6 +1014,7 @@ class DataexplorerApi(object):
1004
1014
  if ('body' not in params or
1005
1015
  params['body'] is None):
1006
1016
  raise ValueError("Missing the required parameter `body` when calling `save_search`") # noqa: E501
1017
+ check_filename_params(params)
1007
1018
 
1008
1019
  collection_formats = {}
1009
1020
 
@@ -1117,6 +1128,7 @@ class DataexplorerApi(object):
1117
1128
  if ('body' not in params or
1118
1129
  params['body'] is None):
1119
1130
  raise ValueError("Missing the required parameter `body` when calling `search`") # noqa: E501
1131
+ check_filename_params(params)
1120
1132
 
1121
1133
  collection_formats = {}
1122
1134
 
@@ -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 DevicesApi(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 `create_device`") # noqa: E501
91
+ check_filename_params(params)
90
92
 
91
93
  collection_formats = {}
92
94
 
@@ -194,6 +196,7 @@ class DevicesApi(object):
194
196
  if ('device_id' not in params or
195
197
  params['device_id'] is None):
196
198
  raise ValueError("Missing the required parameter `device_id` when calling `delete_device`") # noqa: E501
199
+ check_filename_params(params)
197
200
 
198
201
  collection_formats = {}
199
202
 
@@ -294,6 +297,7 @@ class DevicesApi(object):
294
297
  if ('key_id' not in params or
295
298
  params['key_id'] is None):
296
299
  raise ValueError("Missing the required parameter `key_id` when calling `delete_device_key`") # noqa: E501
300
+ check_filename_params(params)
297
301
 
298
302
  collection_formats = {}
299
303
 
@@ -394,6 +398,7 @@ class DevicesApi(object):
394
398
  if ('device_id' not in params or
395
399
  params['device_id'] is None):
396
400
  raise ValueError("Missing the required parameter `device_id` when calling `generate_key`") # noqa: E501
401
+ check_filename_params(params)
397
402
 
398
403
  collection_formats = {}
399
404
 
@@ -513,6 +518,7 @@ class DevicesApi(object):
513
518
  )
514
519
  params[key] = val
515
520
  del params['kwargs']
521
+ check_filename_params(params)
516
522
 
517
523
  collection_formats = {}
518
524
 
@@ -618,6 +624,7 @@ class DevicesApi(object):
618
624
  )
619
625
  params[key] = val
620
626
  del params['kwargs']
627
+ check_filename_params(params)
621
628
 
622
629
  collection_formats = {}
623
630
 
@@ -706,6 +713,7 @@ class DevicesApi(object):
706
713
  )
707
714
  params[key] = val
708
715
  del params['kwargs']
716
+ check_filename_params(params)
709
717
 
710
718
  collection_formats = {}
711
719
 
@@ -798,6 +806,7 @@ class DevicesApi(object):
798
806
  if ('device_id' not in params or
799
807
  params['device_id'] is None):
800
808
  raise ValueError("Missing the required parameter `device_id` when calling `get_device`") # noqa: E501
809
+ check_filename_params(params)
801
810
 
802
811
  collection_formats = {}
803
812
 
@@ -900,6 +909,7 @@ class DevicesApi(object):
900
909
  if ('body' not in params or
901
910
  params['body'] is None):
902
911
  raise ValueError("Missing the required parameter `body` when calling `modify_device`") # noqa: E501
912
+ check_filename_params(params)
903
913
 
904
914
  collection_formats = {}
905
915
 
@@ -1009,6 +1019,7 @@ class DevicesApi(object):
1009
1019
  if ('device_id' not in params or
1010
1020
  params['device_id'] is None):
1011
1021
  raise ValueError("Missing the required parameter `device_id` when calling `regenerate_key`") # noqa: E501
1022
+ check_filename_params(params)
1012
1023
 
1013
1024
  collection_formats = {}
1014
1025
 
@@ -1118,6 +1129,7 @@ class DevicesApi(object):
1118
1129
  if ('body' not in params or
1119
1130
  params['body'] is None):
1120
1131
  raise ValueError("Missing the required parameter `body` when calling `update_device`") # noqa: E501
1132
+ check_filename_params(params)
1121
1133
 
1122
1134
  collection_formats = {}
1123
1135
 
flywheel/api/dimse_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 DimseApi(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 `create_project_aet`") # noqa: E501
91
+ check_filename_params(params)
90
92
 
91
93
  collection_formats = {}
92
94
 
@@ -194,6 +196,7 @@ class DimseApi(object):
194
196
  if ('body' not in params or
195
197
  params['body'] is None):
196
198
  raise ValueError("Missing the required parameter `body` when calling `create_service_aet`") # noqa: E501
199
+ check_filename_params(params)
197
200
 
198
201
  collection_formats = {}
199
202
 
@@ -301,6 +304,7 @@ class DimseApi(object):
301
304
  if ('project_aet' not in params or
302
305
  params['project_aet'] is None):
303
306
  raise ValueError("Missing the required parameter `project_aet` when calling `delete_project_aet`") # noqa: E501
307
+ check_filename_params(params)
304
308
 
305
309
  collection_formats = {}
306
310
 
@@ -397,6 +401,7 @@ class DimseApi(object):
397
401
  if ('service_aet' not in params or
398
402
  params['service_aet'] is None):
399
403
  raise ValueError("Missing the required parameter `service_aet` when calling `delete_service_aet`") # noqa: E501
404
+ check_filename_params(params)
400
405
 
401
406
  collection_formats = {}
402
407
 
@@ -487,6 +492,7 @@ class DimseApi(object):
487
492
  )
488
493
  params[key] = val
489
494
  del params['kwargs']
495
+ check_filename_params(params)
490
496
 
491
497
  collection_formats = {}
492
498
 
@@ -575,6 +581,7 @@ class DimseApi(object):
575
581
  )
576
582
  params[key] = val
577
583
  del params['kwargs']
584
+ check_filename_params(params)
578
585
 
579
586
  collection_formats = {}
580
587
 
@@ -669,6 +676,7 @@ class DimseApi(object):
669
676
  if ('project_aet' not in params or
670
677
  params['project_aet'] is None):
671
678
  raise ValueError("Missing the required parameter `project_aet` when calling `get_project_aet`") # noqa: E501
679
+ check_filename_params(params)
672
680
 
673
681
  collection_formats = {}
674
682
 
@@ -765,6 +773,7 @@ class DimseApi(object):
765
773
  if ('service_aet' not in params or
766
774
  params['service_aet'] is None):
767
775
  raise ValueError("Missing the required parameter `service_aet` when calling `get_service_aet`") # noqa: E501
776
+ check_filename_params(params)
768
777
 
769
778
  collection_formats = {}
770
779
 
@@ -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.
@@ -97,6 +98,7 @@ class DownloadApi(object):
97
98
  if ('body' not in params or
98
99
  params['body'] is None):
99
100
  raise ValueError("Missing the required parameter `body` when calling `create_download_ticket`") # noqa: E501
101
+ check_filename_params(params)
100
102
 
101
103
  collection_formats = {}
102
104
 
@@ -216,6 +218,7 @@ class DownloadApi(object):
216
218
  if ('ticket' not in params or
217
219
  params['ticket'] is None):
218
220
  raise ValueError("Missing the required parameter `ticket` when calling `download_ticket`") # noqa: E501
221
+ check_filename_params(params)
219
222
 
220
223
  collection_formats = {}
221
224