flywheel-sdk 20.2.0rc2__py2.py3-none-any.whl → 20.3.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flywheel/__init__.py +7 -2
- flywheel/api/acquisitions_api.py +42 -0
- flywheel/api/analyses_api.py +42 -4
- flywheel/api/audit_trail_api.py +6 -0
- flywheel/api/auth_api.py +2 -0
- flywheel/api/batch_api.py +7 -0
- flywheel/api/bulk_api.py +2 -0
- flywheel/api/change_log_api.py +3 -0
- flywheel/api/collections_api.py +35 -0
- flywheel/api/config_api.py +4 -0
- flywheel/api/container_type_api.py +2 -0
- flywheel/api/containers_api.py +40 -0
- flywheel/api/data_view_executions_api.py +6 -0
- flywheel/api/dataexplorer_api.py +12 -0
- flywheel/api/devices_api.py +12 -0
- flywheel/api/dimse_api.py +9 -0
- flywheel/api/download_api.py +3 -0
- flywheel/api/files_api.py +19 -0
- flywheel/api/gears_api.py +18 -0
- flywheel/api/groups_api.py +27 -0
- flywheel/api/jobs_api.py +22 -0
- flywheel/api/jupyterlab_servers_api.py +3 -0
- flywheel/api/modalities_api.py +6 -0
- flywheel/api/packfiles_api.py +2 -0
- flywheel/api/projects_api.py +68 -0
- flywheel/api/reports_api.py +11 -0
- flywheel/api/resolve_api.py +3 -0
- flywheel/api/roles_api.py +6 -0
- flywheel/api/sessions_api.py +160 -0
- flywheel/api/site_api.py +16 -0
- flywheel/api/subjects_api.py +45 -0
- flywheel/api/tree_api.py +3 -0
- flywheel/api/uids_api.py +2 -0
- flywheel/api/upload_api.py +8 -0
- flywheel/api/users_api.py +20 -0
- flywheel/api/views_api.py +10 -0
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +53 -2
- flywheel/flywheel.py +28 -2
- flywheel/models/__init__.py +8 -3
- flywheel/models/{project_copy_filter.py → copy_filter.py} +28 -28
- flywheel/models/{project_copy_status.py → copy_status.py} +1 -1
- flywheel/models/cvat_info.py +243 -0
- flywheel/models/cvat_settings.py +271 -0
- flywheel/models/cvat_settings_input.py +271 -0
- flywheel/models/cvat_sync_state.py +29 -0
- flywheel/models/features.py +55 -1
- flywheel/models/file.py +29 -1
- flywheel/models/file_list_output.py +29 -1
- flywheel/models/file_node.py +29 -1
- flywheel/models/file_output.py +29 -1
- flywheel/models/file_upsert_output.py +29 -1
- flywheel/models/mixins.py +0 -3
- flywheel/models/project_container_output.py +1 -1
- flywheel/models/project_copy_input.py +4 -4
- flywheel/models/project_modify.py +4 -4
- flywheel/models/project_node.py +1 -1
- flywheel/models/project_output.py +4 -4
- flywheel/models/project_settings_input.py +32 -4
- flywheel/models/project_settings_output.py +32 -4
- flywheel/models/search_parent_project.py +1 -1
- flywheel/models/search_parent_session.py +1 -0
- flywheel/models/session_container_output.py +1 -0
- flywheel/models/session_copy_input.py +251 -0
- flywheel/models/session_list_output.py +32 -4
- flywheel/models/session_node.py +1 -0
- flywheel/models/session_output.py +29 -1
- flywheel/util.py +10 -0
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/RECORD +73 -68
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/licenses/LICENSE.txt +0 -0
- {flywheel_sdk-20.2.0rc2.dist-info → flywheel_sdk-20.3.0.dist-info}/top_level.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -127,6 +127,10 @@ from flywheel.models.body_region import BodyRegion
|
|
|
127
127
|
from flywheel.models.bookmark import Bookmark
|
|
128
128
|
from flywheel.models.bulk_move_input import BulkMoveInput
|
|
129
129
|
from flywheel.models.bulk_move_sessions import BulkMoveSessions
|
|
130
|
+
from flywheel.models.cvat_info import CVATInfo
|
|
131
|
+
from flywheel.models.cvat_settings import CVATSettings
|
|
132
|
+
from flywheel.models.cvat_settings_input import CVATSettingsInput
|
|
133
|
+
from flywheel.models.cvat_sync_state import CVATSyncState
|
|
130
134
|
from flywheel.models.callbacks_virus_scan_input import CallbacksVirusScanInput
|
|
131
135
|
from flywheel.models.cancelled_batch_output import CancelledBatchOutput
|
|
132
136
|
from flywheel.models.catalog_list_output import CatalogListOutput
|
|
@@ -194,6 +198,8 @@ from flywheel.models.container_type import ContainerType
|
|
|
194
198
|
from flywheel.models.container_uidcheck import ContainerUidcheck
|
|
195
199
|
from flywheel.models.container_update import ContainerUpdate
|
|
196
200
|
from flywheel.models.context_input import ContextInput
|
|
201
|
+
from flywheel.models.copy_filter import CopyFilter
|
|
202
|
+
from flywheel.models.copy_status import CopyStatus
|
|
197
203
|
from flywheel.models.core_models_api_key_api_key_input import CoreModelsApiKeyApiKeyInput
|
|
198
204
|
from flywheel.models.core_models_common_source import CoreModelsCommonSource
|
|
199
205
|
from flywheel.models.core_models_jobs_api_key_input import CoreModelsJobsApiKeyInput
|
|
@@ -492,10 +498,8 @@ from flywheel.models.project_acquisition_upsert_output import ProjectAcquisition
|
|
|
492
498
|
from flywheel.models.project_catalog_list_output import ProjectCatalogListOutput
|
|
493
499
|
from flywheel.models.project_contact import ProjectContact
|
|
494
500
|
from flywheel.models.project_container_output import ProjectContainerOutput
|
|
495
|
-
from flywheel.models.project_copy_filter import ProjectCopyFilter
|
|
496
501
|
from flywheel.models.project_copy_input import ProjectCopyInput
|
|
497
502
|
from flywheel.models.project_copy_output import ProjectCopyOutput
|
|
498
|
-
from flywheel.models.project_copy_status import ProjectCopyStatus
|
|
499
503
|
from flywheel.models.project_counters import ProjectCounters
|
|
500
504
|
from flywheel.models.project_hierarchy_input import ProjectHierarchyInput
|
|
501
505
|
from flywheel.models.project_hierarchy_output import ProjectHierarchyOutput
|
|
@@ -631,6 +635,7 @@ from flywheel.models.service_aet import ServiceAET
|
|
|
631
635
|
from flywheel.models.service_aet_input import ServiceAETInput
|
|
632
636
|
from flywheel.models.session import Session
|
|
633
637
|
from flywheel.models.session_container_output import SessionContainerOutput
|
|
638
|
+
from flywheel.models.session_copy_input import SessionCopyInput
|
|
634
639
|
from flywheel.models.session_embedded_subject import SessionEmbeddedSubject
|
|
635
640
|
from flywheel.models.session_input import SessionInput
|
|
636
641
|
from flywheel.models.session_list_output import SessionListOutput
|
flywheel/api/acquisitions_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 AcquisitionsApi(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_acquisition`") # noqa: E501
|
|
91
|
+
check_filename_params(params)
|
|
90
92
|
|
|
91
93
|
collection_formats = {}
|
|
92
94
|
|
|
@@ -204,6 +206,7 @@ class AcquisitionsApi(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_acquisition_analysis`") # noqa: E501
|
|
209
|
+
check_filename_params(params)
|
|
207
210
|
|
|
208
211
|
collection_formats = {}
|
|
209
212
|
|
|
@@ -331,6 +334,7 @@ class AcquisitionsApi(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_acquisition_analysis_note`") # noqa: E501
|
|
337
|
+
check_filename_params(params)
|
|
334
338
|
|
|
335
339
|
collection_formats = {}
|
|
336
340
|
|
|
@@ -448,6 +452,7 @@ class AcquisitionsApi(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_acquisition_note`") # noqa: E501
|
|
455
|
+
check_filename_params(params)
|
|
451
456
|
|
|
452
457
|
collection_formats = {}
|
|
453
458
|
|
|
@@ -563,6 +568,7 @@ class AcquisitionsApi(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_acquisition_tag`") # noqa: E501
|
|
571
|
+
check_filename_params(params)
|
|
566
572
|
|
|
567
573
|
collection_formats = {}
|
|
568
574
|
|
|
@@ -678,6 +684,7 @@ class AcquisitionsApi(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_acquisition_tags`") # noqa: E501
|
|
687
|
+
check_filename_params(params)
|
|
681
688
|
|
|
682
689
|
collection_formats = {}
|
|
683
690
|
|
|
@@ -782,6 +789,7 @@ class AcquisitionsApi(object):
|
|
|
782
789
|
if ('acquisition_id' not in params or
|
|
783
790
|
params['acquisition_id'] is None):
|
|
784
791
|
raise ValueError("Missing the required parameter `acquisition_id` when calling `delete_acquisition`") # noqa: E501
|
|
792
|
+
check_filename_params(params)
|
|
785
793
|
|
|
786
794
|
collection_formats = {}
|
|
787
795
|
|
|
@@ -888,6 +896,7 @@ class AcquisitionsApi(object):
|
|
|
888
896
|
if ('analysis_id' not in params or
|
|
889
897
|
params['analysis_id'] is None):
|
|
890
898
|
raise ValueError("Missing the required parameter `analysis_id` when calling `delete_acquisition_analysis`") # noqa: E501
|
|
899
|
+
check_filename_params(params)
|
|
891
900
|
|
|
892
901
|
collection_formats = {}
|
|
893
902
|
|
|
@@ -1000,6 +1009,7 @@ class AcquisitionsApi(object):
|
|
|
1000
1009
|
if ('note_id' not in params or
|
|
1001
1010
|
params['note_id'] is None):
|
|
1002
1011
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_acquisition_analysis_note`") # noqa: E501
|
|
1012
|
+
check_filename_params(params)
|
|
1003
1013
|
|
|
1004
1014
|
collection_formats = {}
|
|
1005
1015
|
|
|
@@ -1110,6 +1120,7 @@ class AcquisitionsApi(object):
|
|
|
1110
1120
|
if ('filename' not in params or
|
|
1111
1121
|
params['filename'] is None):
|
|
1112
1122
|
raise ValueError("Missing the required parameter `filename` when calling `delete_acquisition_file`") # noqa: E501
|
|
1123
|
+
check_filename_params(params)
|
|
1113
1124
|
|
|
1114
1125
|
collection_formats = {}
|
|
1115
1126
|
|
|
@@ -1218,6 +1229,7 @@ class AcquisitionsApi(object):
|
|
|
1218
1229
|
if ('note_id' not in params or
|
|
1219
1230
|
params['note_id'] is None):
|
|
1220
1231
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_acquisition_note`") # noqa: E501
|
|
1232
|
+
check_filename_params(params)
|
|
1221
1233
|
|
|
1222
1234
|
collection_formats = {}
|
|
1223
1235
|
|
|
@@ -1322,6 +1334,7 @@ class AcquisitionsApi(object):
|
|
|
1322
1334
|
if ('value' not in params or
|
|
1323
1335
|
params['value'] is None):
|
|
1324
1336
|
raise ValueError("Missing the required parameter `value` when calling `delete_acquisition_tag`") # noqa: E501
|
|
1337
|
+
check_filename_params(params)
|
|
1325
1338
|
|
|
1326
1339
|
collection_formats = {}
|
|
1327
1340
|
|
|
@@ -1426,6 +1439,7 @@ class AcquisitionsApi(object):
|
|
|
1426
1439
|
if ('body' not in params or
|
|
1427
1440
|
params['body'] is None):
|
|
1428
1441
|
raise ValueError("Missing the required parameter `body` when calling `delete_acquisition_tags`") # noqa: E501
|
|
1442
|
+
check_filename_params(params)
|
|
1429
1443
|
|
|
1430
1444
|
collection_formats = {}
|
|
1431
1445
|
|
|
@@ -1530,6 +1544,7 @@ class AcquisitionsApi(object):
|
|
|
1530
1544
|
if ('body' not in params or
|
|
1531
1545
|
params['body'] is None):
|
|
1532
1546
|
raise ValueError("Missing the required parameter `body` when calling `delete_acquisitions_by_ids`") # noqa: E501
|
|
1547
|
+
check_filename_params(params)
|
|
1533
1548
|
|
|
1534
1549
|
collection_formats = {}
|
|
1535
1550
|
|
|
@@ -1634,6 +1649,7 @@ class AcquisitionsApi(object):
|
|
|
1634
1649
|
if ('body' not in params or
|
|
1635
1650
|
params['body'] is None):
|
|
1636
1651
|
raise ValueError("Missing the required parameter `body` when calling `delete_acquisitions_by_query`") # noqa: E501
|
|
1652
|
+
check_filename_params(params)
|
|
1637
1653
|
|
|
1638
1654
|
collection_formats = {}
|
|
1639
1655
|
|
|
@@ -1756,6 +1772,7 @@ class AcquisitionsApi(object):
|
|
|
1756
1772
|
if ('file_name' not in params or
|
|
1757
1773
|
params['file_name'] is None):
|
|
1758
1774
|
raise ValueError("Missing the required parameter `file_name` when calling `download_file_from_acquisition`") # noqa: E501
|
|
1775
|
+
check_filename_params(params)
|
|
1759
1776
|
|
|
1760
1777
|
collection_formats = {}
|
|
1761
1778
|
|
|
@@ -1891,6 +1908,7 @@ class AcquisitionsApi(object):
|
|
|
1891
1908
|
if ('file_name' not in params or
|
|
1892
1909
|
params['file_name'] is None):
|
|
1893
1910
|
raise ValueError("Missing the required parameter `file_name` when calling `get_acquisition_file_zip_info`") # noqa: E501
|
|
1911
|
+
check_filename_params(params)
|
|
1894
1912
|
|
|
1895
1913
|
collection_formats = {}
|
|
1896
1914
|
|
|
@@ -2028,6 +2046,7 @@ class AcquisitionsApi(object):
|
|
|
2028
2046
|
if ('file_name' not in params or
|
|
2029
2047
|
params['file_name'] is None):
|
|
2030
2048
|
raise ValueError("Missing the required parameter `file_name` when calling `get_acquisition_download_ticket`") # noqa: E501
|
|
2049
|
+
check_filename_params(params)
|
|
2031
2050
|
|
|
2032
2051
|
collection_formats = {}
|
|
2033
2052
|
|
|
@@ -2165,6 +2184,7 @@ class AcquisitionsApi(object):
|
|
|
2165
2184
|
if ('filename' not in params or
|
|
2166
2185
|
params['filename'] is None):
|
|
2167
2186
|
raise ValueError("Missing the required parameter `filename` when calling `download_input_from_acquisition_analysis`") # noqa: E501
|
|
2187
|
+
check_filename_params(params)
|
|
2168
2188
|
|
|
2169
2189
|
collection_formats = {}
|
|
2170
2190
|
|
|
@@ -2300,6 +2320,7 @@ class AcquisitionsApi(object):
|
|
|
2300
2320
|
if ('filename' not in params or
|
|
2301
2321
|
params['filename'] is None):
|
|
2302
2322
|
raise ValueError("Missing the required parameter `filename` when calling `get_acquisition_analysis_input_zip_info`") # noqa: E501
|
|
2323
|
+
check_filename_params(params)
|
|
2303
2324
|
|
|
2304
2325
|
collection_formats = {}
|
|
2305
2326
|
|
|
@@ -2437,6 +2458,7 @@ class AcquisitionsApi(object):
|
|
|
2437
2458
|
if ('filename' not in params or
|
|
2438
2459
|
params['filename'] is None):
|
|
2439
2460
|
raise ValueError("Missing the required parameter `filename` when calling `get_acquisition_analysis_input_download_ticket`") # noqa: E501
|
|
2461
|
+
check_filename_params(params)
|
|
2440
2462
|
|
|
2441
2463
|
collection_formats = {}
|
|
2442
2464
|
|
|
@@ -2572,6 +2594,7 @@ class AcquisitionsApi(object):
|
|
|
2572
2594
|
if ('filename' not in params or
|
|
2573
2595
|
params['filename'] is None):
|
|
2574
2596
|
raise ValueError("Missing the required parameter `filename` when calling `download_output_from_acquisition_analysis`") # noqa: E501
|
|
2597
|
+
check_filename_params(params)
|
|
2575
2598
|
|
|
2576
2599
|
collection_formats = {}
|
|
2577
2600
|
|
|
@@ -2707,6 +2730,7 @@ class AcquisitionsApi(object):
|
|
|
2707
2730
|
if ('filename' not in params or
|
|
2708
2731
|
params['filename'] is None):
|
|
2709
2732
|
raise ValueError("Missing the required parameter `filename` when calling `get_acquisition_analysis_output_zip_info`") # noqa: E501
|
|
2733
|
+
check_filename_params(params)
|
|
2710
2734
|
|
|
2711
2735
|
collection_formats = {}
|
|
2712
2736
|
|
|
@@ -2844,6 +2868,7 @@ class AcquisitionsApi(object):
|
|
|
2844
2868
|
if ('filename' not in params or
|
|
2845
2869
|
params['filename'] is None):
|
|
2846
2870
|
raise ValueError("Missing the required parameter `filename` when calling `get_acquisition_analysis_output_download_ticket`") # noqa: E501
|
|
2871
|
+
check_filename_params(params)
|
|
2847
2872
|
|
|
2848
2873
|
collection_formats = {}
|
|
2849
2874
|
|
|
@@ -2963,6 +2988,7 @@ class AcquisitionsApi(object):
|
|
|
2963
2988
|
if ('acquisition_id' not in params or
|
|
2964
2989
|
params['acquisition_id'] is None):
|
|
2965
2990
|
raise ValueError("Missing the required parameter `acquisition_id` when calling `get_acquisition`") # noqa: E501
|
|
2991
|
+
check_filename_params(params)
|
|
2966
2992
|
|
|
2967
2993
|
collection_formats = {}
|
|
2968
2994
|
|
|
@@ -3088,6 +3114,7 @@ class AcquisitionsApi(object):
|
|
|
3088
3114
|
if ('cid' not in params or
|
|
3089
3115
|
params['cid'] is None):
|
|
3090
3116
|
raise ValueError("Missing the required parameter `cid` when calling `get_acquisition_analyses`") # noqa: E501
|
|
3117
|
+
check_filename_params(params)
|
|
3091
3118
|
|
|
3092
3119
|
collection_formats = {}
|
|
3093
3120
|
|
|
@@ -3219,6 +3246,7 @@ class AcquisitionsApi(object):
|
|
|
3219
3246
|
if ('analysis_id' not in params or
|
|
3220
3247
|
params['analysis_id'] is None):
|
|
3221
3248
|
raise ValueError("Missing the required parameter `analysis_id` when calling `get_acquisition_analysis`") # noqa: E501
|
|
3249
|
+
check_filename_params(params)
|
|
3222
3250
|
|
|
3223
3251
|
collection_formats = {}
|
|
3224
3252
|
|
|
@@ -3329,6 +3357,7 @@ class AcquisitionsApi(object):
|
|
|
3329
3357
|
if ('filename' not in params or
|
|
3330
3358
|
params['filename'] is None):
|
|
3331
3359
|
raise ValueError("Missing the required parameter `filename` when calling `get_acquisition_file_info`") # noqa: E501
|
|
3360
|
+
check_filename_params(params)
|
|
3332
3361
|
|
|
3333
3362
|
collection_formats = {}
|
|
3334
3363
|
|
|
@@ -3433,6 +3462,7 @@ class AcquisitionsApi(object):
|
|
|
3433
3462
|
if ('note_id' not in params or
|
|
3434
3463
|
params['note_id'] is None):
|
|
3435
3464
|
raise ValueError("Missing the required parameter `note_id` when calling `get_acquisition_note`") # noqa: E501
|
|
3465
|
+
check_filename_params(params)
|
|
3436
3466
|
|
|
3437
3467
|
collection_formats = {}
|
|
3438
3468
|
|
|
@@ -3537,6 +3567,7 @@ class AcquisitionsApi(object):
|
|
|
3537
3567
|
if ('value' not in params or
|
|
3538
3568
|
params['value'] is None):
|
|
3539
3569
|
raise ValueError("Missing the required parameter `value` when calling `get_acquisition_tag`") # noqa: E501
|
|
3570
|
+
check_filename_params(params)
|
|
3540
3571
|
|
|
3541
3572
|
collection_formats = {}
|
|
3542
3573
|
|
|
@@ -3653,6 +3684,7 @@ class AcquisitionsApi(object):
|
|
|
3653
3684
|
)
|
|
3654
3685
|
params[key] = val
|
|
3655
3686
|
del params['kwargs']
|
|
3687
|
+
check_filename_params(params)
|
|
3656
3688
|
|
|
3657
3689
|
collection_formats = {}
|
|
3658
3690
|
|
|
@@ -3778,6 +3810,7 @@ class AcquisitionsApi(object):
|
|
|
3778
3810
|
if ('body' not in params or
|
|
3779
3811
|
params['body'] is None):
|
|
3780
3812
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition`") # noqa: E501
|
|
3813
|
+
check_filename_params(params)
|
|
3781
3814
|
|
|
3782
3815
|
collection_formats = {}
|
|
3783
3816
|
|
|
@@ -3899,6 +3932,7 @@ class AcquisitionsApi(object):
|
|
|
3899
3932
|
if ('body' not in params or
|
|
3900
3933
|
params['body'] is None):
|
|
3901
3934
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition_analysis`") # noqa: E501
|
|
3935
|
+
check_filename_params(params)
|
|
3902
3936
|
|
|
3903
3937
|
collection_formats = {}
|
|
3904
3938
|
|
|
@@ -4022,6 +4056,7 @@ class AcquisitionsApi(object):
|
|
|
4022
4056
|
if ('body' not in params or
|
|
4023
4057
|
params['body'] is None):
|
|
4024
4058
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition_file`") # noqa: E501
|
|
4059
|
+
check_filename_params(params)
|
|
4025
4060
|
|
|
4026
4061
|
collection_formats = {}
|
|
4027
4062
|
|
|
@@ -4145,6 +4180,7 @@ class AcquisitionsApi(object):
|
|
|
4145
4180
|
if ('body' not in params or
|
|
4146
4181
|
params['body'] is None):
|
|
4147
4182
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition_file_classification`") # noqa: E501
|
|
4183
|
+
check_filename_params(params)
|
|
4148
4184
|
|
|
4149
4185
|
collection_formats = {}
|
|
4150
4186
|
|
|
@@ -4268,6 +4304,7 @@ class AcquisitionsApi(object):
|
|
|
4268
4304
|
if ('body' not in params or
|
|
4269
4305
|
params['body'] is None):
|
|
4270
4306
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition_file_info`") # noqa: E501
|
|
4307
|
+
check_filename_params(params)
|
|
4271
4308
|
|
|
4272
4309
|
collection_formats = {}
|
|
4273
4310
|
|
|
@@ -4385,6 +4422,7 @@ class AcquisitionsApi(object):
|
|
|
4385
4422
|
if ('body' not in params or
|
|
4386
4423
|
params['body'] is None):
|
|
4387
4424
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition_info`") # noqa: E501
|
|
4425
|
+
check_filename_params(params)
|
|
4388
4426
|
|
|
4389
4427
|
collection_formats = {}
|
|
4390
4428
|
|
|
@@ -4506,6 +4544,7 @@ class AcquisitionsApi(object):
|
|
|
4506
4544
|
if ('body' not in params or
|
|
4507
4545
|
params['body'] is None):
|
|
4508
4546
|
raise ValueError("Missing the required parameter `body` when calling `modify_acquisition_note`") # noqa: E501
|
|
4547
|
+
check_filename_params(params)
|
|
4509
4548
|
|
|
4510
4549
|
collection_formats = {}
|
|
4511
4550
|
|
|
@@ -4629,6 +4668,7 @@ class AcquisitionsApi(object):
|
|
|
4629
4668
|
if ('body' not in params or
|
|
4630
4669
|
params['body'] is None):
|
|
4631
4670
|
raise ValueError("Missing the required parameter `body` when calling `rename_acquisition_tag`") # noqa: E501
|
|
4671
|
+
check_filename_params(params)
|
|
4632
4672
|
|
|
4633
4673
|
collection_formats = {}
|
|
4634
4674
|
|
|
@@ -4762,6 +4802,7 @@ class AcquisitionsApi(object):
|
|
|
4762
4802
|
if ('file' not in params or
|
|
4763
4803
|
params['file'] is None):
|
|
4764
4804
|
raise ValueError("Missing the required parameter `file` when calling `upload_file_to_acquisition`") # noqa: E501
|
|
4805
|
+
check_filename_params(params)
|
|
4765
4806
|
|
|
4766
4807
|
collection_formats = {}
|
|
4767
4808
|
|
|
@@ -4903,6 +4944,7 @@ class AcquisitionsApi(object):
|
|
|
4903
4944
|
if ('file' not in params or
|
|
4904
4945
|
params['file'] is None):
|
|
4905
4946
|
raise ValueError("Missing the required parameter `file` when calling `upload_output_to_acquisition_analysis`") # noqa: E501
|
|
4947
|
+
check_filename_params(params)
|
|
4906
4948
|
|
|
4907
4949
|
collection_formats = {}
|
|
4908
4950
|
|
flywheel/api/analyses_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 AnalysesApi(object):
|
|
|
93
94
|
if ('body' not in params or
|
|
94
95
|
params['body'] is None):
|
|
95
96
|
raise ValueError("Missing the required parameter `body` when calling `add_analysis_note`") # noqa: E501
|
|
97
|
+
check_filename_params(params)
|
|
96
98
|
|
|
97
99
|
collection_formats = {}
|
|
98
100
|
|
|
@@ -208,6 +210,7 @@ class AnalysesApi(object):
|
|
|
208
210
|
if ('body' not in params or
|
|
209
211
|
params['body'] is None):
|
|
210
212
|
raise ValueError("Missing the required parameter `body` when calling `add_analysis_tag`") # noqa: E501
|
|
213
|
+
check_filename_params(params)
|
|
211
214
|
|
|
212
215
|
collection_formats = {}
|
|
213
216
|
|
|
@@ -319,6 +322,7 @@ class AnalysesApi(object):
|
|
|
319
322
|
if ('body' not in params or
|
|
320
323
|
params['body'] is None):
|
|
321
324
|
raise ValueError("Missing the required parameter `body` when calling `delete_analyses_by_ids`") # noqa: E501
|
|
325
|
+
check_filename_params(params)
|
|
322
326
|
|
|
323
327
|
collection_formats = {}
|
|
324
328
|
|
|
@@ -423,6 +427,7 @@ class AnalysesApi(object):
|
|
|
423
427
|
if ('body' not in params or
|
|
424
428
|
params['body'] is None):
|
|
425
429
|
raise ValueError("Missing the required parameter `body` when calling `delete_analyses_by_query`") # noqa: E501
|
|
430
|
+
check_filename_params(params)
|
|
426
431
|
|
|
427
432
|
collection_formats = {}
|
|
428
433
|
|
|
@@ -527,6 +532,7 @@ class AnalysesApi(object):
|
|
|
527
532
|
if ('analysis_id' not in params or
|
|
528
533
|
params['analysis_id'] is None):
|
|
529
534
|
raise ValueError("Missing the required parameter `analysis_id` when calling `delete_analysis`") # noqa: E501
|
|
535
|
+
check_filename_params(params)
|
|
530
536
|
|
|
531
537
|
collection_formats = {}
|
|
532
538
|
|
|
@@ -635,6 +641,7 @@ class AnalysesApi(object):
|
|
|
635
641
|
if ('filename' not in params or
|
|
636
642
|
params['filename'] is None):
|
|
637
643
|
raise ValueError("Missing the required parameter `filename` when calling `delete_analysis_file`") # noqa: E501
|
|
644
|
+
check_filename_params(params)
|
|
638
645
|
|
|
639
646
|
collection_formats = {}
|
|
640
647
|
|
|
@@ -743,6 +750,7 @@ class AnalysesApi(object):
|
|
|
743
750
|
if ('note_id' not in params or
|
|
744
751
|
params['note_id'] is None):
|
|
745
752
|
raise ValueError("Missing the required parameter `note_id` when calling `delete_analysis_note`") # noqa: E501
|
|
753
|
+
check_filename_params(params)
|
|
746
754
|
|
|
747
755
|
collection_formats = {}
|
|
748
756
|
|
|
@@ -847,6 +855,7 @@ class AnalysesApi(object):
|
|
|
847
855
|
if ('value' not in params or
|
|
848
856
|
params['value'] is None):
|
|
849
857
|
raise ValueError("Missing the required parameter `value` when calling `delete_analysis_tag`") # noqa: E501
|
|
858
|
+
check_filename_params(params)
|
|
850
859
|
|
|
851
860
|
collection_formats = {}
|
|
852
861
|
|
|
@@ -965,6 +974,7 @@ class AnalysesApi(object):
|
|
|
965
974
|
if ('file_name' not in params or
|
|
966
975
|
params['file_name'] is None):
|
|
967
976
|
raise ValueError("Missing the required parameter `file_name` when calling `download_file_from_analysis`") # noqa: E501
|
|
977
|
+
check_filename_params(params)
|
|
968
978
|
|
|
969
979
|
collection_formats = {}
|
|
970
980
|
|
|
@@ -1100,6 +1110,7 @@ class AnalysesApi(object):
|
|
|
1100
1110
|
if ('file_name' not in params or
|
|
1101
1111
|
params['file_name'] is None):
|
|
1102
1112
|
raise ValueError("Missing the required parameter `file_name` when calling `get_analysis_file_zip_info`") # noqa: E501
|
|
1113
|
+
check_filename_params(params)
|
|
1103
1114
|
|
|
1104
1115
|
collection_formats = {}
|
|
1105
1116
|
|
|
@@ -1237,6 +1248,7 @@ class AnalysesApi(object):
|
|
|
1237
1248
|
if ('file_name' not in params or
|
|
1238
1249
|
params['file_name'] is None):
|
|
1239
1250
|
raise ValueError("Missing the required parameter `file_name` when calling `get_analysis_download_ticket`") # noqa: E501
|
|
1251
|
+
check_filename_params(params)
|
|
1240
1252
|
|
|
1241
1253
|
collection_formats = {}
|
|
1242
1254
|
|
|
@@ -1368,6 +1380,7 @@ class AnalysesApi(object):
|
|
|
1368
1380
|
if ('filename' not in params or
|
|
1369
1381
|
params['filename'] is None):
|
|
1370
1382
|
raise ValueError("Missing the required parameter `filename` when calling `download_input_from_analysis`") # noqa: E501
|
|
1383
|
+
check_filename_params(params)
|
|
1371
1384
|
|
|
1372
1385
|
collection_formats = {}
|
|
1373
1386
|
|
|
@@ -1495,6 +1508,7 @@ class AnalysesApi(object):
|
|
|
1495
1508
|
if ('filename' not in params or
|
|
1496
1509
|
params['filename'] is None):
|
|
1497
1510
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_input_zip_info`") # noqa: E501
|
|
1511
|
+
check_filename_params(params)
|
|
1498
1512
|
|
|
1499
1513
|
collection_formats = {}
|
|
1500
1514
|
|
|
@@ -1624,6 +1638,7 @@ class AnalysesApi(object):
|
|
|
1624
1638
|
if ('filename' not in params or
|
|
1625
1639
|
params['filename'] is None):
|
|
1626
1640
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_input_download_ticket`") # noqa: E501
|
|
1641
|
+
check_filename_params(params)
|
|
1627
1642
|
|
|
1628
1643
|
collection_formats = {}
|
|
1629
1644
|
|
|
@@ -1751,6 +1766,7 @@ class AnalysesApi(object):
|
|
|
1751
1766
|
if ('filename' not in params or
|
|
1752
1767
|
params['filename'] is None):
|
|
1753
1768
|
raise ValueError("Missing the required parameter `filename` when calling `download_output_from_analysis`") # noqa: E501
|
|
1769
|
+
check_filename_params(params)
|
|
1754
1770
|
|
|
1755
1771
|
collection_formats = {}
|
|
1756
1772
|
|
|
@@ -1878,6 +1894,7 @@ class AnalysesApi(object):
|
|
|
1878
1894
|
if ('filename' not in params or
|
|
1879
1895
|
params['filename'] is None):
|
|
1880
1896
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_output_zip_info`") # noqa: E501
|
|
1897
|
+
check_filename_params(params)
|
|
1881
1898
|
|
|
1882
1899
|
collection_formats = {}
|
|
1883
1900
|
|
|
@@ -2007,6 +2024,7 @@ class AnalysesApi(object):
|
|
|
2007
2024
|
if ('filename' not in params or
|
|
2008
2025
|
params['filename'] is None):
|
|
2009
2026
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_output_download_ticket`") # noqa: E501
|
|
2027
|
+
check_filename_params(params)
|
|
2010
2028
|
|
|
2011
2029
|
collection_formats = {}
|
|
2012
2030
|
|
|
@@ -2130,6 +2148,7 @@ class AnalysesApi(object):
|
|
|
2130
2148
|
)
|
|
2131
2149
|
params[key] = val
|
|
2132
2150
|
del params['kwargs']
|
|
2151
|
+
check_filename_params(params)
|
|
2133
2152
|
|
|
2134
2153
|
collection_formats = {}
|
|
2135
2154
|
|
|
@@ -2255,6 +2274,7 @@ class AnalysesApi(object):
|
|
|
2255
2274
|
if ('subcontainer_name' not in params or
|
|
2256
2275
|
params['subcontainer_name'] is None):
|
|
2257
2276
|
raise ValueError("Missing the required parameter `subcontainer_name` when calling `get_analyses`") # noqa: E501
|
|
2277
|
+
check_filename_params(params)
|
|
2258
2278
|
|
|
2259
2279
|
collection_formats = {}
|
|
2260
2280
|
|
|
@@ -2361,6 +2381,7 @@ class AnalysesApi(object):
|
|
|
2361
2381
|
if ('analysis_id' not in params or
|
|
2362
2382
|
params['analysis_id'] is None):
|
|
2363
2383
|
raise ValueError("Missing the required parameter `analysis_id` when calling `get_analysis`") # noqa: E501
|
|
2384
|
+
check_filename_params(params)
|
|
2364
2385
|
|
|
2365
2386
|
collection_formats = {}
|
|
2366
2387
|
|
|
@@ -2471,6 +2492,7 @@ class AnalysesApi(object):
|
|
|
2471
2492
|
if ('filename' not in params or
|
|
2472
2493
|
params['filename'] is None):
|
|
2473
2494
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_file_info`") # noqa: E501
|
|
2495
|
+
check_filename_params(params)
|
|
2474
2496
|
|
|
2475
2497
|
collection_formats = {}
|
|
2476
2498
|
|
|
@@ -2575,6 +2597,7 @@ class AnalysesApi(object):
|
|
|
2575
2597
|
if ('filename' not in params or
|
|
2576
2598
|
params['filename'] is None):
|
|
2577
2599
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_input_files`") # noqa: E501
|
|
2600
|
+
check_filename_params(params)
|
|
2578
2601
|
|
|
2579
2602
|
collection_formats = {}
|
|
2580
2603
|
|
|
@@ -2679,6 +2702,7 @@ class AnalysesApi(object):
|
|
|
2679
2702
|
if ('note_id' not in params or
|
|
2680
2703
|
params['note_id'] is None):
|
|
2681
2704
|
raise ValueError("Missing the required parameter `note_id` when calling `get_analysis_note`") # noqa: E501
|
|
2705
|
+
check_filename_params(params)
|
|
2682
2706
|
|
|
2683
2707
|
collection_formats = {}
|
|
2684
2708
|
|
|
@@ -2785,6 +2809,7 @@ class AnalysesApi(object):
|
|
|
2785
2809
|
if ('filename' not in params or
|
|
2786
2810
|
params['filename'] is None):
|
|
2787
2811
|
raise ValueError("Missing the required parameter `filename` when calling `get_analysis_output_file`") # noqa: E501
|
|
2812
|
+
check_filename_params(params)
|
|
2788
2813
|
|
|
2789
2814
|
collection_formats = {}
|
|
2790
2815
|
|
|
@@ -2891,6 +2916,7 @@ class AnalysesApi(object):
|
|
|
2891
2916
|
if ('value' not in params or
|
|
2892
2917
|
params['value'] is None):
|
|
2893
2918
|
raise ValueError("Missing the required parameter `value` when calling `get_analysis_tag`") # noqa: E501
|
|
2919
|
+
check_filename_params(params)
|
|
2894
2920
|
|
|
2895
2921
|
collection_formats = {}
|
|
2896
2922
|
|
|
@@ -2995,6 +3021,7 @@ class AnalysesApi(object):
|
|
|
2995
3021
|
if ('body' not in params or
|
|
2996
3022
|
params['body'] is None):
|
|
2997
3023
|
raise ValueError("Missing the required parameter `body` when calling `modify_analysis`") # noqa: E501
|
|
3024
|
+
check_filename_params(params)
|
|
2998
3025
|
|
|
2999
3026
|
collection_formats = {}
|
|
3000
3027
|
|
|
@@ -3116,6 +3143,7 @@ class AnalysesApi(object):
|
|
|
3116
3143
|
if ('body' not in params or
|
|
3117
3144
|
params['body'] is None):
|
|
3118
3145
|
raise ValueError("Missing the required parameter `body` when calling `modify_analysis_file`") # noqa: E501
|
|
3146
|
+
check_filename_params(params)
|
|
3119
3147
|
|
|
3120
3148
|
collection_formats = {}
|
|
3121
3149
|
|
|
@@ -3239,6 +3267,7 @@ class AnalysesApi(object):
|
|
|
3239
3267
|
if ('body' not in params or
|
|
3240
3268
|
params['body'] is None):
|
|
3241
3269
|
raise ValueError("Missing the required parameter `body` when calling `modify_analysis_file_classification`") # noqa: E501
|
|
3270
|
+
check_filename_params(params)
|
|
3242
3271
|
|
|
3243
3272
|
collection_formats = {}
|
|
3244
3273
|
|
|
@@ -3362,6 +3391,7 @@ class AnalysesApi(object):
|
|
|
3362
3391
|
if ('body' not in params or
|
|
3363
3392
|
params['body'] is None):
|
|
3364
3393
|
raise ValueError("Missing the required parameter `body` when calling `modify_analysis_file_info`") # noqa: E501
|
|
3394
|
+
check_filename_params(params)
|
|
3365
3395
|
|
|
3366
3396
|
collection_formats = {}
|
|
3367
3397
|
|
|
@@ -3479,6 +3509,7 @@ class AnalysesApi(object):
|
|
|
3479
3509
|
if ('body' not in params or
|
|
3480
3510
|
params['body'] is None):
|
|
3481
3511
|
raise ValueError("Missing the required parameter `body` when calling `modify_analysis_info`") # noqa: E501
|
|
3512
|
+
check_filename_params(params)
|
|
3482
3513
|
|
|
3483
3514
|
collection_formats = {}
|
|
3484
3515
|
|
|
@@ -3600,6 +3631,7 @@ class AnalysesApi(object):
|
|
|
3600
3631
|
if ('body' not in params or
|
|
3601
3632
|
params['body'] is None):
|
|
3602
3633
|
raise ValueError("Missing the required parameter `body` when calling `modify_analysis_note`") # noqa: E501
|
|
3634
|
+
check_filename_params(params)
|
|
3603
3635
|
|
|
3604
3636
|
collection_formats = {}
|
|
3605
3637
|
|
|
@@ -3723,6 +3755,7 @@ class AnalysesApi(object):
|
|
|
3723
3755
|
if ('body' not in params or
|
|
3724
3756
|
params['body'] is None):
|
|
3725
3757
|
raise ValueError("Missing the required parameter `body` when calling `rename_analysis_tag`") # noqa: E501
|
|
3758
|
+
check_filename_params(params)
|
|
3726
3759
|
|
|
3727
3760
|
collection_formats = {}
|
|
3728
3761
|
|
|
@@ -3790,10 +3823,11 @@ class AnalysesApi(object):
|
|
|
3790
3823
|
:param str id:
|
|
3791
3824
|
:param ContainerType level:
|
|
3792
3825
|
:param str job:
|
|
3826
|
+
:param str metadata: Metadata object as a JSON-encoded string
|
|
3793
3827
|
:param list[str] x_accept_feature: redirect header
|
|
3794
3828
|
:param str content_type:
|
|
3795
3829
|
:param bool async_: Perform the request asynchronously
|
|
3796
|
-
:return:
|
|
3830
|
+
:return: union[list[FileOutput],UploadTicketOutput]
|
|
3797
3831
|
"""
|
|
3798
3832
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
3799
3833
|
kwargs['_return_http_data_only'] = True
|
|
@@ -3824,13 +3858,14 @@ class AnalysesApi(object):
|
|
|
3824
3858
|
:param str id:
|
|
3825
3859
|
:param ContainerType level:
|
|
3826
3860
|
:param str job:
|
|
3861
|
+
:param str metadata: Metadata object as a JSON-encoded string
|
|
3827
3862
|
:param list[str] x_accept_feature: redirect header
|
|
3828
3863
|
:param str content_type:
|
|
3829
3864
|
:param bool async_: Perform the request asynchronously
|
|
3830
|
-
:return:
|
|
3865
|
+
:return: union[list[FileOutput],UploadTicketOutput]
|
|
3831
3866
|
"""
|
|
3832
3867
|
|
|
3833
|
-
all_params = ['container_id','file','ticket','preserve_metadata','id','level','job','x_accept_feature','content_type',] # noqa: E501
|
|
3868
|
+
all_params = ['container_id','file','ticket','preserve_metadata','id','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
3834
3869
|
all_params.append('async_')
|
|
3835
3870
|
all_params.append('_return_http_data_only')
|
|
3836
3871
|
all_params.append('_preload_content')
|
|
@@ -3854,6 +3889,7 @@ class AnalysesApi(object):
|
|
|
3854
3889
|
if ('file' not in params or
|
|
3855
3890
|
params['file'] is None):
|
|
3856
3891
|
raise ValueError("Missing the required parameter `file` when calling `upload_output_to_analysis`") # noqa: E501
|
|
3892
|
+
check_filename_params(params)
|
|
3857
3893
|
|
|
3858
3894
|
collection_formats = {}
|
|
3859
3895
|
|
|
@@ -3884,6 +3920,8 @@ class AnalysesApi(object):
|
|
|
3884
3920
|
local_var_files = {}
|
|
3885
3921
|
if 'file' in params:
|
|
3886
3922
|
local_var_files['file'] = params['file'] # noqa: E501
|
|
3923
|
+
if 'metadata' in params:
|
|
3924
|
+
form_params.append(('metadata', params['metadata'])) # noqa: E501
|
|
3887
3925
|
|
|
3888
3926
|
body_params = None
|
|
3889
3927
|
# HTTP header `Accept`
|
|
@@ -3905,7 +3943,7 @@ class AnalysesApi(object):
|
|
|
3905
3943
|
body=body_params,
|
|
3906
3944
|
post_params=form_params,
|
|
3907
3945
|
files=local_var_files,
|
|
3908
|
-
response_type=
|
|
3946
|
+
response_type='union[list[FileOutput],UploadTicketOutput]', # noqa: E501
|
|
3909
3947
|
auth_settings=auth_settings,
|
|
3910
3948
|
async_=params.get('async_'),
|
|
3911
3949
|
_return_http_data_only=params.get('_return_http_data_only'),
|