flywheel-sdk 20.6.0__py2.py3-none-any.whl → 21.0.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.
- flywheel/__init__.py +3 -2
- flywheel/api/acquisitions_api.py +0 -105
- flywheel/api/analyses_api.py +0 -105
- flywheel/api/collections_api.py +0 -105
- flywheel/api/custom_filters_api.py +6 -6
- flywheel/api/devices_api.py +0 -110
- flywheel/api/files_api.py +0 -105
- flywheel/api/groups_api.py +0 -105
- flywheel/api/projects_api.py +0 -105
- flywheel/api/sessions_api.py +0 -105
- flywheel/api/subjects_api.py +0 -105
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/drone_login.py +3 -2
- flywheel/flywheel.py +21 -143
- flywheel/gear_context.py +0 -1
- flywheel/models/__init__.py +4 -3
- flywheel/models/features.py +1 -55
- flywheel/models/{core_models_custom_filters_filter.py → filter.py} +36 -36
- flywheel/models/ingress_site_settings.py +32 -4
- flywheel/models/mfa_channel.py +29 -0
- flywheel/models/{core_models_paginations_filter.py → mfa_settings.py} +24 -76
- flywheel/models/page_generic_filter.py +4 -4
- flywheel/models/site_settings.py +32 -4
- flywheel/models/work_in_progress_features.py +1 -30
- flywheel/view_builder.py +3 -3
- {flywheel_sdk-20.6.0.dist-info → flywheel_sdk-21.0.0rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.6.0.dist-info → flywheel_sdk-21.0.0rc0.dist-info}/RECORD +31 -30
- {flywheel_sdk-20.6.0.dist-info → flywheel_sdk-21.0.0rc0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-20.6.0.dist-info → flywheel_sdk-21.0.0rc0.dist-info}/licenses/LICENSE.txt +0 -0
- {flywheel_sdk-20.6.0.dist-info → flywheel_sdk-21.0.0rc0.dist-info}/top_level.txt +0 -0
flywheel/flywheel.py
CHANGED
|
@@ -40,7 +40,7 @@ from flywheel.view_builder import ViewBuilder
|
|
|
40
40
|
from flywheel.finder import Finder
|
|
41
41
|
import flywheel.api
|
|
42
42
|
|
|
43
|
-
SDK_VERSION = "
|
|
43
|
+
SDK_VERSION = "21.0.0-rc0"
|
|
44
44
|
|
|
45
45
|
def config_from_api_key(api_key):
|
|
46
46
|
parts = api_key.split(':')
|
|
@@ -408,19 +408,6 @@ class Flywheel:
|
|
|
408
408
|
return self.acquisitions_api.delete_acquisitions_by_ids(body, **kwargs)
|
|
409
409
|
|
|
410
410
|
|
|
411
|
-
def delete_acquisitions_by_query(self, body, **kwargs): # noqa: E501
|
|
412
|
-
"""*DEPRECATED* Delete multiple acquisitions by query
|
|
413
|
-
|
|
414
|
-
Delete multiple acquisitions by query
|
|
415
|
-
|
|
416
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
417
|
-
:param ContainerDeleteReason delete_reason:
|
|
418
|
-
:param bool async_: Perform the request asynchronously
|
|
419
|
-
:return: DeletedResult
|
|
420
|
-
"""
|
|
421
|
-
return self.acquisitions_api.delete_acquisitions_by_query(body, **kwargs)
|
|
422
|
-
|
|
423
|
-
|
|
424
411
|
def download_file_from_acquisition(self, acquisition_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
425
412
|
"""Download a file.
|
|
426
413
|
|
|
@@ -928,19 +915,6 @@ class Flywheel:
|
|
|
928
915
|
return self.analyses_api.delete_analyses_by_ids(body, **kwargs)
|
|
929
916
|
|
|
930
917
|
|
|
931
|
-
def delete_analyses_by_query(self, body, **kwargs): # noqa: E501
|
|
932
|
-
"""*DEPRECATED* Delete multiple analyses by query
|
|
933
|
-
|
|
934
|
-
Delete multiple analyses by query
|
|
935
|
-
|
|
936
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
937
|
-
:param ContainerDeleteReason delete_reason:
|
|
938
|
-
:param bool async_: Perform the request asynchronously
|
|
939
|
-
:return: DeletedResult
|
|
940
|
-
"""
|
|
941
|
-
return self.analyses_api.delete_analyses_by_query(body, **kwargs)
|
|
942
|
-
|
|
943
|
-
|
|
944
918
|
def delete_analysis(self, analysis_id, **kwargs): # noqa: E501
|
|
945
919
|
"""Delete an analysis
|
|
946
920
|
|
|
@@ -1759,19 +1733,6 @@ class Flywheel:
|
|
|
1759
1733
|
return self.collections_api.delete_collections_by_ids(body, **kwargs)
|
|
1760
1734
|
|
|
1761
1735
|
|
|
1762
|
-
def delete_collections_by_query(self, body, **kwargs): # noqa: E501
|
|
1763
|
-
"""*DEPRECATED* Delete multiple collections by query
|
|
1764
|
-
|
|
1765
|
-
Delete multiple collections by query
|
|
1766
|
-
|
|
1767
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
1768
|
-
:param ContainerDeleteReason delete_reason:
|
|
1769
|
-
:param bool async_: Perform the request asynchronously
|
|
1770
|
-
:return: DeletedResult
|
|
1771
|
-
"""
|
|
1772
|
-
return self.collections_api.delete_collections_by_query(body, **kwargs)
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
1736
|
def download_file_from_collection(self, collection_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
1776
1737
|
"""Download a file.
|
|
1777
1738
|
|
|
@@ -2815,7 +2776,7 @@ class Flywheel:
|
|
|
2815
2776
|
|
|
2816
2777
|
:param FilterInput body: (required)
|
|
2817
2778
|
:param bool async_: Perform the request asynchronously
|
|
2818
|
-
:return:
|
|
2779
|
+
:return: Filter
|
|
2819
2780
|
"""
|
|
2820
2781
|
return self.custom_filters_api.create_custom_filter(body, **kwargs)
|
|
2821
2782
|
|
|
@@ -2857,7 +2818,7 @@ class Flywheel:
|
|
|
2857
2818
|
:param str custom_filter_id: (required)
|
|
2858
2819
|
:param FilterInput body: (required)
|
|
2859
2820
|
:param bool async_: Perform the request asynchronously
|
|
2860
|
-
:return:
|
|
2821
|
+
:return: Filter
|
|
2861
2822
|
"""
|
|
2862
2823
|
return self.custom_filters_api.update_custom_filter(custom_filter_id, body, **kwargs)
|
|
2863
2824
|
|
|
@@ -3161,17 +3122,6 @@ class Flywheel:
|
|
|
3161
3122
|
return self.devices_api.modify_device(device_id, body, **kwargs)
|
|
3162
3123
|
|
|
3163
3124
|
|
|
3164
|
-
def regenerate_key(self, device_id, **kwargs): # noqa: E501
|
|
3165
|
-
"""This method is DEPRECATED, use generate_key instead
|
|
3166
|
-
|
|
3167
|
-
:param str device_id: (required)
|
|
3168
|
-
:param ApiKeyInputWithOptionalLabel body:
|
|
3169
|
-
:param bool async_: Perform the request asynchronously
|
|
3170
|
-
:return: object
|
|
3171
|
-
"""
|
|
3172
|
-
return self.devices_api.regenerate_key(device_id, **kwargs)
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
3125
|
def update_device(self, body, **kwargs): # noqa: E501
|
|
3176
3126
|
"""Modify a device's type, name, interval, info or set errors.
|
|
3177
3127
|
|
|
@@ -3363,19 +3313,6 @@ class Flywheel:
|
|
|
3363
3313
|
return self.files_api.delete_files_by_ids(body, **kwargs)
|
|
3364
3314
|
|
|
3365
3315
|
|
|
3366
|
-
def delete_files_by_query(self, body, **kwargs): # noqa: E501
|
|
3367
|
-
"""*DEPRECATED* Delete multiple files by query
|
|
3368
|
-
|
|
3369
|
-
Delete multiple files by query
|
|
3370
|
-
|
|
3371
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
3372
|
-
:param ContainerDeleteReason delete_reason:
|
|
3373
|
-
:param bool async_: Perform the request asynchronously
|
|
3374
|
-
:return: DeletedResult
|
|
3375
|
-
"""
|
|
3376
|
-
return self.files_api.delete_files_by_query(body, **kwargs)
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
3316
|
def get_all_files(self, **kwargs): # noqa: E501
|
|
3380
3317
|
"""Return all files
|
|
3381
3318
|
|
|
@@ -3921,19 +3858,6 @@ class Flywheel:
|
|
|
3921
3858
|
return self.groups_api.delete_groups_by_ids(body, **kwargs)
|
|
3922
3859
|
|
|
3923
3860
|
|
|
3924
|
-
def delete_groups_by_query(self, body, **kwargs): # noqa: E501
|
|
3925
|
-
"""*DEPRECATED* Delete multiple groups by query
|
|
3926
|
-
|
|
3927
|
-
Delete multiple groups by query
|
|
3928
|
-
|
|
3929
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
3930
|
-
:param ContainerDeleteReason delete_reason:
|
|
3931
|
-
:param bool async_: Perform the request asynchronously
|
|
3932
|
-
:return: DeletedResult
|
|
3933
|
-
"""
|
|
3934
|
-
return self.groups_api.delete_groups_by_query(body, **kwargs)
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
3861
|
def get_all_group_roles(self, group_id, **kwargs): # noqa: E501
|
|
3938
3862
|
"""Get list of group roles
|
|
3939
3863
|
|
|
@@ -4699,19 +4623,6 @@ class Flywheel:
|
|
|
4699
4623
|
return self.projects_api.delete_projects_by_ids(body, **kwargs)
|
|
4700
4624
|
|
|
4701
4625
|
|
|
4702
|
-
def delete_projects_by_query(self, body, **kwargs): # noqa: E501
|
|
4703
|
-
"""*DEPRECATED* Delete multiple projects by query
|
|
4704
|
-
|
|
4705
|
-
Delete multiple projects by query
|
|
4706
|
-
|
|
4707
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
4708
|
-
:param ContainerDeleteReason delete_reason:
|
|
4709
|
-
:param bool async_: Perform the request asynchronously
|
|
4710
|
-
:return: DeletedResult
|
|
4711
|
-
"""
|
|
4712
|
-
return self.projects_api.delete_projects_by_query(body, **kwargs)
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
4626
|
def download_file_from_project(self, project_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
4716
4627
|
"""Download a file.
|
|
4717
4628
|
|
|
@@ -5886,19 +5797,6 @@ class Flywheel:
|
|
|
5886
5797
|
return self.sessions_api.delete_sessions_by_ids(body, **kwargs)
|
|
5887
5798
|
|
|
5888
5799
|
|
|
5889
|
-
def delete_sessions_by_query(self, body, **kwargs): # noqa: E501
|
|
5890
|
-
"""*DEPRECATED* Delete multiple sessions by query
|
|
5891
|
-
|
|
5892
|
-
Delete multiple sessions by query
|
|
5893
|
-
|
|
5894
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
5895
|
-
:param ContainerDeleteReason delete_reason:
|
|
5896
|
-
:param bool async_: Perform the request asynchronously
|
|
5897
|
-
:return: DeletedResult
|
|
5898
|
-
"""
|
|
5899
|
-
return self.sessions_api.delete_sessions_by_query(body, **kwargs)
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
5800
|
def download_file_from_session(self, session_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
5903
5801
|
"""Download a file.
|
|
5904
5802
|
|
|
@@ -6795,19 +6693,6 @@ class Flywheel:
|
|
|
6795
6693
|
return self.subjects_api.delete_subjects_by_ids(body, **kwargs)
|
|
6796
6694
|
|
|
6797
6695
|
|
|
6798
|
-
def delete_subjects_by_query(self, body, **kwargs): # noqa: E501
|
|
6799
|
-
"""*DEPRECATED* Delete multiple subjects by query
|
|
6800
|
-
|
|
6801
|
-
Delete multiple subjects by query
|
|
6802
|
-
|
|
6803
|
-
:param list[CoreModelsPaginationsFilter] body: Query for containers to delete (required)
|
|
6804
|
-
:param ContainerDeleteReason delete_reason:
|
|
6805
|
-
:param bool async_: Perform the request asynchronously
|
|
6806
|
-
:return: DeletedResult
|
|
6807
|
-
"""
|
|
6808
|
-
return self.subjects_api.delete_subjects_by_query(body, **kwargs)
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
6696
|
def download_file_from_subject(self, subject_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
6812
6697
|
"""Download a file.
|
|
6813
6698
|
|
|
@@ -9277,34 +9162,28 @@ class Flywheel:
|
|
|
9277
9162
|
)
|
|
9278
9163
|
view.swagger_types.pop("error_column", None)
|
|
9279
9164
|
|
|
9280
|
-
|
|
9281
|
-
view_format = kwargs.pop('format', 'json')
|
|
9165
|
+
view_format = kwargs.pop('format', 'json')
|
|
9282
9166
|
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9167
|
+
if isinstance(view, six.string_types):
|
|
9168
|
+
resp = self.views_api.queue_saved(view, container_id, **kwargs)
|
|
9169
|
+
else:
|
|
9170
|
+
resp = self.views_api.queue_adhoc(container_id, view, **kwargs)
|
|
9286
9171
|
|
|
9287
|
-
|
|
9172
|
+
data_view_execution_id = resp.json()["_id"]
|
|
9288
9173
|
|
|
9289
|
-
|
|
9174
|
+
while True:
|
|
9175
|
+
data_view_execution = self.get_data_view_execution(data_view_execution_id)
|
|
9176
|
+
if data_view_execution.state == 'failed':
|
|
9177
|
+
raise RuntimeError("Execution of data view failed")
|
|
9178
|
+
if data_view_execution.state == 'completed':
|
|
9179
|
+
break
|
|
9180
|
+
time.sleep(1)
|
|
9290
9181
|
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
if data_view_execution.state == 'failed':
|
|
9294
|
-
raise RuntimeError("Execution of data view failed")
|
|
9295
|
-
if data_view_execution.state == 'completed':
|
|
9296
|
-
break
|
|
9297
|
-
time.sleep(1)
|
|
9182
|
+
kwargs['file_format'] = view_format
|
|
9183
|
+
retrieve_data_kwargs = {k: v for k, v in kwargs.items() if k not in ["filter", "skip", "limit"]}
|
|
9298
9184
|
|
|
9299
|
-
|
|
9300
|
-
retrieve_data_kwargs = {k: v for k, v in kwargs.items() if k not in ["filter", "skip", "limit"]}
|
|
9185
|
+
resp = self.get_data_view_execution_data(data_view_execution_id, **retrieve_data_kwargs)
|
|
9301
9186
|
|
|
9302
|
-
resp = self.get_data_view_execution_data(data_view_execution_id, **retrieve_data_kwargs)
|
|
9303
|
-
else:
|
|
9304
|
-
if isinstance(view, six.string_types):
|
|
9305
|
-
resp = self.views_api.evaluate_view_with_http_info(view, container_id, **kwargs)
|
|
9306
|
-
else:
|
|
9307
|
-
resp = self.views_api.evaluate_view_adhoc_with_http_info(container_id, view, **kwargs)
|
|
9308
9187
|
resp.raw.decode_content = True
|
|
9309
9188
|
if decode:
|
|
9310
9189
|
return codecs.getreader(resp.encoding)(resp.raw)
|
|
@@ -9384,9 +9263,8 @@ class Flywheel:
|
|
|
9384
9263
|
kwargs['_return_http_data_only'] = True
|
|
9385
9264
|
kwargs['_preload_content'] = False
|
|
9386
9265
|
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
return
|
|
9266
|
+
self.save_view_data_task_manager(view,container_id, dest_file, **kwargs)
|
|
9267
|
+
return
|
|
9390
9268
|
|
|
9391
9269
|
# Stream response to file
|
|
9392
9270
|
with open(dest_file, 'wb') as out_file:
|
flywheel/gear_context.py
CHANGED
flywheel/models/__init__.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Flywheel: API for data import, automated curation, image processing, machine learning workflows, and secure collaboration. # noqa: E501
|
|
8
8
|
|
|
9
|
-
OpenAPI spec version:
|
|
9
|
+
OpenAPI spec version: 21.0.0-rc0
|
|
10
10
|
|
|
11
11
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
"""
|
|
@@ -150,9 +150,7 @@ from flywheel.models.copy_filter import CopyFilter
|
|
|
150
150
|
from flywheel.models.copy_status import CopyStatus
|
|
151
151
|
from flywheel.models.core_models_api_key_api_key_input import CoreModelsApiKeyApiKeyInput
|
|
152
152
|
from flywheel.models.core_models_common_source import CoreModelsCommonSource
|
|
153
|
-
from flywheel.models.core_models_custom_filters_filter import CoreModelsCustomFiltersFilter
|
|
154
153
|
from flywheel.models.core_models_jobs_api_key_input import CoreModelsJobsApiKeyInput
|
|
155
|
-
from flywheel.models.core_models_paginations_filter import CoreModelsPaginationsFilter
|
|
156
154
|
from flywheel.models.create_report_input import CreateReportInput
|
|
157
155
|
from flywheel.models.creds import Creds
|
|
158
156
|
from flywheel.models.curator import Curator
|
|
@@ -242,6 +240,7 @@ from flywheel.models.file_version_output import FileVersionOutput
|
|
|
242
240
|
from flywheel.models.file_via import FileVia
|
|
243
241
|
from flywheel.models.file_zip_entry import FileZipEntry
|
|
244
242
|
from flywheel.models.file_zip_info import FileZipInfo
|
|
243
|
+
from flywheel.models.filter import Filter
|
|
245
244
|
from flywheel.models.filter_input import FilterInput
|
|
246
245
|
from flywheel.models.filter_values import FilterValues
|
|
247
246
|
from flywheel.models.filter_view import FilterView
|
|
@@ -406,6 +405,8 @@ from flywheel.models.legacys_usage_project_entry import LegacysUsageProjectEntry
|
|
|
406
405
|
from flywheel.models.local_storage import LocalStorage
|
|
407
406
|
from flywheel.models.location import Location
|
|
408
407
|
from flywheel.models.locked import Locked
|
|
408
|
+
from flywheel.models.mfa_channel import MFAChannel
|
|
409
|
+
from flywheel.models.mfa_settings import MFASettings
|
|
409
410
|
from flywheel.models.ml_set_filter import MLSetFilter
|
|
410
411
|
from flywheel.models.ml_type import MLType
|
|
411
412
|
from flywheel.models.master_subject_code_dob_input import MasterSubjectCodeDobInput
|
flywheel/models/features.py
CHANGED
|
@@ -56,11 +56,9 @@ class Features(object):
|
|
|
56
56
|
'ohif_multi_subject_view': 'bool',
|
|
57
57
|
'ohif_meteor': 'bool',
|
|
58
58
|
'ohif_react': 'bool',
|
|
59
|
-
'ohif_react_beta': 'bool',
|
|
60
59
|
'ohif_slice_order': 'str',
|
|
61
60
|
'ohif_v2_adhoc_indexing': 'bool',
|
|
62
61
|
'ohif_v3': 'bool',
|
|
63
|
-
'ohif_v3_beta': 'bool',
|
|
64
62
|
'ohif_v3_default_app': 'bool',
|
|
65
63
|
'ohif_v3_readonly': 'bool',
|
|
66
64
|
'project_export': 'bool',
|
|
@@ -125,11 +123,9 @@ class Features(object):
|
|
|
125
123
|
'ohif_multi_subject_view': 'ohif_multi_subject_view',
|
|
126
124
|
'ohif_meteor': 'ohif_meteor',
|
|
127
125
|
'ohif_react': 'ohif_react',
|
|
128
|
-
'ohif_react_beta': 'ohif_react_beta',
|
|
129
126
|
'ohif_slice_order': 'ohif_slice_order',
|
|
130
127
|
'ohif_v2_adhoc_indexing': 'ohif_v2_adhoc_indexing',
|
|
131
128
|
'ohif_v3': 'ohif_v3',
|
|
132
|
-
'ohif_v3_beta': 'ohif_v3_beta',
|
|
133
129
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
134
130
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
135
131
|
'project_export': 'project_export',
|
|
@@ -194,11 +190,9 @@ class Features(object):
|
|
|
194
190
|
'ohif_multi_subject_view': 'ohif_multi_subject_view',
|
|
195
191
|
'ohif_meteor': 'ohif_meteor',
|
|
196
192
|
'ohif_react': 'ohif_react',
|
|
197
|
-
'ohif_react_beta': 'ohif_react_beta',
|
|
198
193
|
'ohif_slice_order': 'ohif_slice_order',
|
|
199
194
|
'ohif_v2_adhoc_indexing': 'ohif_v2_adhoc_indexing',
|
|
200
195
|
'ohif_v3': 'ohif_v3',
|
|
201
|
-
'ohif_v3_beta': 'ohif_v3_beta',
|
|
202
196
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
203
197
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
204
198
|
'project_export': 'project_export',
|
|
@@ -227,7 +221,7 @@ class Features(object):
|
|
|
227
221
|
'tasks_refactor': 'tasks_refactor'
|
|
228
222
|
}
|
|
229
223
|
|
|
230
|
-
def __init__(self, api_enabled_gear_rules=True, auth0=None, audit_trail=False, azureml_integration=False, cold_job_logs=False, collections=False, copy_by_reference=True, core_api=True, crawler=False, cvat=False, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dimse=False, elastic_search_primary=False, exchange=False, case_uploader=False, exchange_admin=False, external_routing=False, gear_access=True, google_analytics=True, healthcare_api=False, job_ask=True, job_prioritization=True, job_tickets=True, jupyter_integration=False, jupyterhub_external_storage=True, ldap_sync=False, multifactor_auth=False, multipart_signed_url=True, multiproject=False, ohif_multi_subject_view=False, ohif_meteor=False, ohif_react=False,
|
|
224
|
+
def __init__(self, api_enabled_gear_rules=True, auth0=None, audit_trail=False, azureml_integration=False, cold_job_logs=False, collections=False, copy_by_reference=True, core_api=True, crawler=False, cvat=False, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dimse=False, elastic_search_primary=False, exchange=False, case_uploader=False, exchange_admin=False, external_routing=False, gear_access=True, google_analytics=True, healthcare_api=False, job_ask=True, job_prioritization=True, job_tickets=True, jupyter_integration=False, jupyterhub_external_storage=True, ldap_sync=False, multifactor_auth=False, multipart_signed_url=True, multiproject=False, ohif_multi_subject_view=False, ohif_meteor=False, ohif_react=False, ohif_slice_order=None, ohif_v2_adhoc_indexing=True, ohif_v3=True, ohif_v3_default_app=False, ohif_v3_readonly=False, project_export=True, project_import=True, project_list_uses_stats=False, project_locking=False, reader_tasks=False, rts_sync=False, sentry_logging=None, session_templates_non_21_cfr=True, shared_projects=False, signed_url=False, study_task_status=False, tagging=False, tags_in_lists=True, task_manager_data_views=True, transform_search_fields=True, unsafe_login=False, url_access_apps=False, userpilot=None, validate_classification=True, viewer_annotations_v3=False, engine_validate_classification=False, virus_scan=False, legacy_dicom_uploader=False, tasks_refactor=False): # noqa: E501
|
|
231
225
|
"""Features - a model defined in Swagger"""
|
|
232
226
|
super(Features, self).__init__()
|
|
233
227
|
|
|
@@ -266,11 +260,9 @@ class Features(object):
|
|
|
266
260
|
self._ohif_multi_subject_view = None
|
|
267
261
|
self._ohif_meteor = None
|
|
268
262
|
self._ohif_react = None
|
|
269
|
-
self._ohif_react_beta = None
|
|
270
263
|
self._ohif_slice_order = None
|
|
271
264
|
self._ohif_v2_adhoc_indexing = None
|
|
272
265
|
self._ohif_v3 = None
|
|
273
|
-
self._ohif_v3_beta = None
|
|
274
266
|
self._ohif_v3_default_app = None
|
|
275
267
|
self._ohif_v3_readonly = None
|
|
276
268
|
self._project_export = None
|
|
@@ -370,16 +362,12 @@ class Features(object):
|
|
|
370
362
|
self.ohif_meteor = ohif_meteor
|
|
371
363
|
if ohif_react is not None:
|
|
372
364
|
self.ohif_react = ohif_react
|
|
373
|
-
if ohif_react_beta is not None:
|
|
374
|
-
self.ohif_react_beta = ohif_react_beta
|
|
375
365
|
if ohif_slice_order is not None:
|
|
376
366
|
self.ohif_slice_order = ohif_slice_order
|
|
377
367
|
if ohif_v2_adhoc_indexing is not None:
|
|
378
368
|
self.ohif_v2_adhoc_indexing = ohif_v2_adhoc_indexing
|
|
379
369
|
if ohif_v3 is not None:
|
|
380
370
|
self.ohif_v3 = ohif_v3
|
|
381
|
-
if ohif_v3_beta is not None:
|
|
382
|
-
self.ohif_v3_beta = ohif_v3_beta
|
|
383
371
|
if ohif_v3_default_app is not None:
|
|
384
372
|
self.ohif_v3_default_app = ohif_v3_default_app
|
|
385
373
|
if ohif_v3_readonly is not None:
|
|
@@ -1168,27 +1156,6 @@ class Features(object):
|
|
|
1168
1156
|
|
|
1169
1157
|
self._ohif_react = ohif_react
|
|
1170
1158
|
|
|
1171
|
-
@property
|
|
1172
|
-
def ohif_react_beta(self):
|
|
1173
|
-
"""Gets the ohif_react_beta of this Features.
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
:return: The ohif_react_beta of this Features.
|
|
1177
|
-
:rtype: bool
|
|
1178
|
-
"""
|
|
1179
|
-
return self._ohif_react_beta
|
|
1180
|
-
|
|
1181
|
-
@ohif_react_beta.setter
|
|
1182
|
-
def ohif_react_beta(self, ohif_react_beta):
|
|
1183
|
-
"""Sets the ohif_react_beta of this Features.
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
:param ohif_react_beta: The ohif_react_beta of this Features. # noqa: E501
|
|
1187
|
-
:type: bool
|
|
1188
|
-
"""
|
|
1189
|
-
|
|
1190
|
-
self._ohif_react_beta = ohif_react_beta
|
|
1191
|
-
|
|
1192
1159
|
@property
|
|
1193
1160
|
def ohif_slice_order(self):
|
|
1194
1161
|
"""Gets the ohif_slice_order of this Features.
|
|
@@ -1252,27 +1219,6 @@ class Features(object):
|
|
|
1252
1219
|
|
|
1253
1220
|
self._ohif_v3 = ohif_v3
|
|
1254
1221
|
|
|
1255
|
-
@property
|
|
1256
|
-
def ohif_v3_beta(self):
|
|
1257
|
-
"""Gets the ohif_v3_beta of this Features.
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
:return: The ohif_v3_beta of this Features.
|
|
1261
|
-
:rtype: bool
|
|
1262
|
-
"""
|
|
1263
|
-
return self._ohif_v3_beta
|
|
1264
|
-
|
|
1265
|
-
@ohif_v3_beta.setter
|
|
1266
|
-
def ohif_v3_beta(self, ohif_v3_beta):
|
|
1267
|
-
"""Sets the ohif_v3_beta of this Features.
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
:param ohif_v3_beta: The ohif_v3_beta of this Features. # noqa: E501
|
|
1271
|
-
:type: bool
|
|
1272
|
-
"""
|
|
1273
|
-
|
|
1274
|
-
self._ohif_v3_beta = ohif_v3_beta
|
|
1275
|
-
|
|
1276
1222
|
@property
|
|
1277
1223
|
def ohif_v3_default_app(self):
|
|
1278
1224
|
"""Gets the ohif_v3_default_app of this Features.
|
|
@@ -21,7 +21,7 @@ import six
|
|
|
21
21
|
from flywheel.models.filter_view import FilterView # noqa: F401,E501
|
|
22
22
|
from flywheel.models.origin import Origin # noqa: F401,E501
|
|
23
23
|
|
|
24
|
-
class
|
|
24
|
+
class Filter(object):
|
|
25
25
|
|
|
26
26
|
swagger_types = {
|
|
27
27
|
'filter': 'union[str,object]',
|
|
@@ -57,8 +57,8 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
def __init__(self, filter=None, view=None, origin=None, created=None, modified=None, deleted=None, id=None, label=None): # noqa: E501
|
|
60
|
-
"""
|
|
61
|
-
super(
|
|
60
|
+
"""Filter - a model defined in Swagger"""
|
|
61
|
+
super(Filter, self).__init__()
|
|
62
62
|
|
|
63
63
|
self._filter = None
|
|
64
64
|
self._view = None
|
|
@@ -83,20 +83,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
83
83
|
|
|
84
84
|
@property
|
|
85
85
|
def filter(self):
|
|
86
|
-
"""Gets the filter of this
|
|
86
|
+
"""Gets the filter of this Filter.
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
:return: The filter of this
|
|
89
|
+
:return: The filter of this Filter.
|
|
90
90
|
:rtype: union[str,object]
|
|
91
91
|
"""
|
|
92
92
|
return self._filter
|
|
93
93
|
|
|
94
94
|
@filter.setter
|
|
95
95
|
def filter(self, filter):
|
|
96
|
-
"""Sets the filter of this
|
|
96
|
+
"""Sets the filter of this Filter.
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
:param filter: The filter of this
|
|
99
|
+
:param filter: The filter of this Filter. # noqa: E501
|
|
100
100
|
:type: union[str,object]
|
|
101
101
|
"""
|
|
102
102
|
|
|
@@ -104,20 +104,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
104
104
|
|
|
105
105
|
@property
|
|
106
106
|
def view(self):
|
|
107
|
-
"""Gets the view of this
|
|
107
|
+
"""Gets the view of this Filter.
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
:return: The view of this
|
|
110
|
+
:return: The view of this Filter.
|
|
111
111
|
:rtype: FilterView
|
|
112
112
|
"""
|
|
113
113
|
return self._view
|
|
114
114
|
|
|
115
115
|
@view.setter
|
|
116
116
|
def view(self, view):
|
|
117
|
-
"""Sets the view of this
|
|
117
|
+
"""Sets the view of this Filter.
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
:param view: The view of this
|
|
120
|
+
:param view: The view of this Filter. # noqa: E501
|
|
121
121
|
:type: FilterView
|
|
122
122
|
"""
|
|
123
123
|
|
|
@@ -125,20 +125,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
125
125
|
|
|
126
126
|
@property
|
|
127
127
|
def origin(self):
|
|
128
|
-
"""Gets the origin of this
|
|
128
|
+
"""Gets the origin of this Filter.
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
:return: The origin of this
|
|
131
|
+
:return: The origin of this Filter.
|
|
132
132
|
:rtype: Origin
|
|
133
133
|
"""
|
|
134
134
|
return self._origin
|
|
135
135
|
|
|
136
136
|
@origin.setter
|
|
137
137
|
def origin(self, origin):
|
|
138
|
-
"""Sets the origin of this
|
|
138
|
+
"""Sets the origin of this Filter.
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
:param origin: The origin of this
|
|
141
|
+
:param origin: The origin of this Filter. # noqa: E501
|
|
142
142
|
:type: Origin
|
|
143
143
|
"""
|
|
144
144
|
|
|
@@ -146,20 +146,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
146
146
|
|
|
147
147
|
@property
|
|
148
148
|
def created(self):
|
|
149
|
-
"""Gets the created of this
|
|
149
|
+
"""Gets the created of this Filter.
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
:return: The created of this
|
|
152
|
+
:return: The created of this Filter.
|
|
153
153
|
:rtype: datetime
|
|
154
154
|
"""
|
|
155
155
|
return self._created
|
|
156
156
|
|
|
157
157
|
@created.setter
|
|
158
158
|
def created(self, created):
|
|
159
|
-
"""Sets the created of this
|
|
159
|
+
"""Sets the created of this Filter.
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
:param created: The created of this
|
|
162
|
+
:param created: The created of this Filter. # noqa: E501
|
|
163
163
|
:type: datetime
|
|
164
164
|
"""
|
|
165
165
|
|
|
@@ -167,20 +167,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
167
167
|
|
|
168
168
|
@property
|
|
169
169
|
def modified(self):
|
|
170
|
-
"""Gets the modified of this
|
|
170
|
+
"""Gets the modified of this Filter.
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
:return: The modified of this
|
|
173
|
+
:return: The modified of this Filter.
|
|
174
174
|
:rtype: datetime
|
|
175
175
|
"""
|
|
176
176
|
return self._modified
|
|
177
177
|
|
|
178
178
|
@modified.setter
|
|
179
179
|
def modified(self, modified):
|
|
180
|
-
"""Sets the modified of this
|
|
180
|
+
"""Sets the modified of this Filter.
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
:param modified: The modified of this
|
|
183
|
+
:param modified: The modified of this Filter. # noqa: E501
|
|
184
184
|
:type: datetime
|
|
185
185
|
"""
|
|
186
186
|
|
|
@@ -188,20 +188,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
188
188
|
|
|
189
189
|
@property
|
|
190
190
|
def deleted(self):
|
|
191
|
-
"""Gets the deleted of this
|
|
191
|
+
"""Gets the deleted of this Filter.
|
|
192
192
|
|
|
193
193
|
|
|
194
|
-
:return: The deleted of this
|
|
194
|
+
:return: The deleted of this Filter.
|
|
195
195
|
:rtype: datetime
|
|
196
196
|
"""
|
|
197
197
|
return self._deleted
|
|
198
198
|
|
|
199
199
|
@deleted.setter
|
|
200
200
|
def deleted(self, deleted):
|
|
201
|
-
"""Sets the deleted of this
|
|
201
|
+
"""Sets the deleted of this Filter.
|
|
202
202
|
|
|
203
203
|
|
|
204
|
-
:param deleted: The deleted of this
|
|
204
|
+
:param deleted: The deleted of this Filter. # noqa: E501
|
|
205
205
|
:type: datetime
|
|
206
206
|
"""
|
|
207
207
|
|
|
@@ -209,20 +209,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
209
209
|
|
|
210
210
|
@property
|
|
211
211
|
def id(self):
|
|
212
|
-
"""Gets the id of this
|
|
212
|
+
"""Gets the id of this Filter.
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
:return: The id of this
|
|
215
|
+
:return: The id of this Filter.
|
|
216
216
|
:rtype: str
|
|
217
217
|
"""
|
|
218
218
|
return self._id
|
|
219
219
|
|
|
220
220
|
@id.setter
|
|
221
221
|
def id(self, id):
|
|
222
|
-
"""Sets the id of this
|
|
222
|
+
"""Sets the id of this Filter.
|
|
223
223
|
|
|
224
224
|
|
|
225
|
-
:param id: The id of this
|
|
225
|
+
:param id: The id of this Filter. # noqa: E501
|
|
226
226
|
:type: str
|
|
227
227
|
"""
|
|
228
228
|
|
|
@@ -230,20 +230,20 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
230
230
|
|
|
231
231
|
@property
|
|
232
232
|
def label(self):
|
|
233
|
-
"""Gets the label of this
|
|
233
|
+
"""Gets the label of this Filter.
|
|
234
234
|
|
|
235
235
|
|
|
236
|
-
:return: The label of this
|
|
236
|
+
:return: The label of this Filter.
|
|
237
237
|
:rtype: str
|
|
238
238
|
"""
|
|
239
239
|
return self._label
|
|
240
240
|
|
|
241
241
|
@label.setter
|
|
242
242
|
def label(self, label):
|
|
243
|
-
"""Sets the label of this
|
|
243
|
+
"""Sets the label of this Filter.
|
|
244
244
|
|
|
245
245
|
|
|
246
|
-
:param label: The label of this
|
|
246
|
+
:param label: The label of this Filter. # noqa: E501
|
|
247
247
|
:type: str
|
|
248
248
|
"""
|
|
249
249
|
|
|
@@ -293,7 +293,7 @@ class CoreModelsCustomFiltersFilter(object):
|
|
|
293
293
|
|
|
294
294
|
def __eq__(self, other):
|
|
295
295
|
"""Returns true if both objects are equal"""
|
|
296
|
-
if not isinstance(other,
|
|
296
|
+
if not isinstance(other, Filter):
|
|
297
297
|
return False
|
|
298
298
|
|
|
299
299
|
return self.__dict__ == other.__dict__
|