flywheel-sdk 20.0.0rc0__py2.py3-none-any.whl → 20.1.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 +1 -6
- flywheel/api/acquisitions_api.py +2 -2
- flywheel/api/analyses_api.py +2 -2
- flywheel/api/collections_api.py +2 -2
- flywheel/api/dataexplorer_api.py +109 -0
- flywheel/api/files_api.py +2 -2
- flywheel/api/groups_api.py +2 -2
- flywheel/api/jobs_api.py +211 -0
- flywheel/api/projects_api.py +2 -2
- flywheel/api/resolve_api.py +10 -2
- flywheel/api/sessions_api.py +2 -2
- flywheel/api/subjects_api.py +2 -2
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +44 -9
- flywheel/models/__init__.py +2 -7
- flywheel/models/action.py +4 -3
- flywheel/models/container_type.py +0 -1
- flywheel/models/current_user_output.py +4 -32
- flywheel/models/{azure_ml_workspace_input.py → delete_by_search_query.py} +96 -34
- flywheel/models/features.py +58 -4
- flywheel/models/modify_user_input.py +4 -32
- flywheel/models/project_settings_workspaces.py +4 -31
- flywheel/models/project_settings_workspaces_input.py +4 -32
- flywheel/models/search_query.py +30 -30
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0.dist-info}/RECORD +30 -35
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0.dist-info}/WHEEL +1 -1
- flywheel/models/azure_ml_account.py +0 -188
- flywheel/models/azure_ml_initialization.py +0 -244
- flywheel/models/azure_ml_integration.py +0 -218
- flywheel/models/azure_ml_resource_init_status.py +0 -31
- flywheel/models/azure_ml_workspace.py +0 -347
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0.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 = "20.
|
|
43
|
+
SDK_VERSION = "20.1.0"
|
|
44
44
|
|
|
45
45
|
def config_from_api_key(api_key):
|
|
46
46
|
parts = api_key.split(':')
|
|
@@ -382,7 +382,7 @@ class Flywheel:
|
|
|
382
382
|
|
|
383
383
|
|
|
384
384
|
def delete_acquisitions_by_query(self, body, **kwargs): # noqa: E501
|
|
385
|
-
"""Delete multiple acquisitions by query
|
|
385
|
+
"""*DEPRECATED* Delete multiple acquisitions by query
|
|
386
386
|
|
|
387
387
|
Delete multiple acquisitions by query
|
|
388
388
|
|
|
@@ -902,7 +902,7 @@ class Flywheel:
|
|
|
902
902
|
|
|
903
903
|
|
|
904
904
|
def delete_analyses_by_query(self, body, **kwargs): # noqa: E501
|
|
905
|
-
"""Delete multiple analyses by query
|
|
905
|
+
"""*DEPRECATED* Delete multiple analyses by query
|
|
906
906
|
|
|
907
907
|
Delete multiple analyses by query
|
|
908
908
|
|
|
@@ -1582,7 +1582,7 @@ class Flywheel:
|
|
|
1582
1582
|
|
|
1583
1583
|
|
|
1584
1584
|
def delete_collections_by_query(self, body, **kwargs): # noqa: E501
|
|
1585
|
-
"""Delete multiple collections by query
|
|
1585
|
+
"""*DEPRECATED* Delete multiple collections by query
|
|
1586
1586
|
|
|
1587
1587
|
Delete multiple collections by query
|
|
1588
1588
|
|
|
@@ -2677,6 +2677,17 @@ class Flywheel:
|
|
|
2677
2677
|
return self.data_view_executions_api.save_data_view_execution(data_view_execution_id, **kwargs)
|
|
2678
2678
|
|
|
2679
2679
|
|
|
2680
|
+
def delete_by_search(self, body, **kwargs): # noqa: E501
|
|
2681
|
+
"""Delete containers by a search query
|
|
2682
|
+
|
|
2683
|
+
:param DeleteBySearchQuery body: (required)
|
|
2684
|
+
:param ContainerDeleteReason delete_reason:
|
|
2685
|
+
:param bool async_: Perform the request asynchronously
|
|
2686
|
+
:return: DeletedResult
|
|
2687
|
+
"""
|
|
2688
|
+
return self.dataexplorer_api.delete_by_search(body, **kwargs)
|
|
2689
|
+
|
|
2690
|
+
|
|
2680
2691
|
def delete_save_search(self, search_id, **kwargs): # noqa: E501
|
|
2681
2692
|
"""Delete a saved search
|
|
2682
2693
|
|
|
@@ -3097,7 +3108,7 @@ class Flywheel:
|
|
|
3097
3108
|
|
|
3098
3109
|
|
|
3099
3110
|
def delete_files_by_query(self, body, **kwargs): # noqa: E501
|
|
3100
|
-
"""Delete multiple files by query
|
|
3111
|
+
"""*DEPRECATED* Delete multiple files by query
|
|
3101
3112
|
|
|
3102
3113
|
Delete multiple files by query
|
|
3103
3114
|
|
|
@@ -3603,7 +3614,7 @@ class Flywheel:
|
|
|
3603
3614
|
|
|
3604
3615
|
|
|
3605
3616
|
def delete_groups_by_query(self, body, **kwargs): # noqa: E501
|
|
3606
|
-
"""Delete multiple groups by query
|
|
3617
|
+
"""*DEPRECATED* Delete multiple groups by query
|
|
3607
3618
|
|
|
3608
3619
|
Delete multiple groups by query
|
|
3609
3620
|
|
|
@@ -3871,6 +3882,28 @@ class Flywheel:
|
|
|
3871
3882
|
return self.jobs_api.determine_provider_for_job(body, **kwargs)
|
|
3872
3883
|
|
|
3873
3884
|
|
|
3885
|
+
def engine_complete_job(self, job_id, body, **kwargs): # noqa: E501
|
|
3886
|
+
"""Complete a job, with information.
|
|
3887
|
+
|
|
3888
|
+
:param str job_id: (required)
|
|
3889
|
+
:param JobComplete body: (required)
|
|
3890
|
+
:param str job_ticket_id: ticket id for job completion
|
|
3891
|
+
:param bool async_: Perform the request asynchronously
|
|
3892
|
+
:return: None
|
|
3893
|
+
"""
|
|
3894
|
+
return self.jobs_api.engine_complete_job(job_id, body, **kwargs)
|
|
3895
|
+
|
|
3896
|
+
|
|
3897
|
+
def engine_prepare_complete_job(self, job_id, **kwargs): # noqa: E501
|
|
3898
|
+
"""Create a ticket for completing a job, with id and status.
|
|
3899
|
+
|
|
3900
|
+
:param str job_id: (required)
|
|
3901
|
+
:param bool async_: Perform the request asynchronously
|
|
3902
|
+
:return: JobTicketOutput
|
|
3903
|
+
"""
|
|
3904
|
+
return self.jobs_api.engine_prepare_complete_job(job_id, **kwargs)
|
|
3905
|
+
|
|
3906
|
+
|
|
3874
3907
|
def get_all_jobs(self, **kwargs): # noqa: E501
|
|
3875
3908
|
"""Return all jobs
|
|
3876
3909
|
|
|
@@ -4359,7 +4392,7 @@ class Flywheel:
|
|
|
4359
4392
|
|
|
4360
4393
|
|
|
4361
4394
|
def delete_projects_by_query(self, body, **kwargs): # noqa: E501
|
|
4362
|
-
"""Delete multiple projects by query
|
|
4395
|
+
"""*DEPRECATED* Delete multiple projects by query
|
|
4363
4396
|
|
|
4364
4397
|
Delete multiple projects by query
|
|
4365
4398
|
|
|
@@ -5263,6 +5296,7 @@ class Flywheel:
|
|
|
5263
5296
|
:param ResolveInput body: (required)
|
|
5264
5297
|
:param bool full_tree:
|
|
5265
5298
|
:param bool exhaustive:
|
|
5299
|
+
:param bool include_all_info: Include all info in returned objects
|
|
5266
5300
|
:param bool async_: Perform the request asynchronously
|
|
5267
5301
|
:return: ResolverNode
|
|
5268
5302
|
"""
|
|
@@ -5278,6 +5312,7 @@ class Flywheel:
|
|
|
5278
5312
|
:param bool full_tree: Parse full download style paths (e.g. group/PROJECTS/project_label/SUBJECTS/...)
|
|
5279
5313
|
:param bool minattr: Return only minimal attributes
|
|
5280
5314
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
5315
|
+
:param bool include_all_info: Include all info in returned objects
|
|
5281
5316
|
:param bool async_: Perform the request asynchronously
|
|
5282
5317
|
:return: ResolveOutput
|
|
5283
5318
|
"""
|
|
@@ -5531,7 +5566,7 @@ class Flywheel:
|
|
|
5531
5566
|
|
|
5532
5567
|
|
|
5533
5568
|
def delete_sessions_by_query(self, body, **kwargs): # noqa: E501
|
|
5534
|
-
"""Delete multiple sessions by query
|
|
5569
|
+
"""*DEPRECATED* Delete multiple sessions by query
|
|
5535
5570
|
|
|
5536
5571
|
Delete multiple sessions by query
|
|
5537
5572
|
|
|
@@ -6427,7 +6462,7 @@ class Flywheel:
|
|
|
6427
6462
|
|
|
6428
6463
|
|
|
6429
6464
|
def delete_subjects_by_query(self, body, **kwargs): # noqa: E501
|
|
6430
|
-
"""Delete multiple subjects by query
|
|
6465
|
+
"""*DEPRECATED* Delete multiple subjects by query
|
|
6431
6466
|
|
|
6432
6467
|
Delete multiple subjects by query
|
|
6433
6468
|
|
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: 20.
|
|
9
|
+
OpenAPI spec version: 20.1.0
|
|
10
10
|
|
|
11
11
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
"""
|
|
@@ -59,12 +59,6 @@ from flywheel.models.avatars import Avatars
|
|
|
59
59
|
from flywheel.models.aws_creds import AwsCreds
|
|
60
60
|
from flywheel.models.aws_storage import AwsStorage
|
|
61
61
|
from flywheel.models.azure_creds import AzureCreds
|
|
62
|
-
from flywheel.models.azure_ml_account import AzureMLAccount
|
|
63
|
-
from flywheel.models.azure_ml_initialization import AzureMLInitialization
|
|
64
|
-
from flywheel.models.azure_ml_integration import AzureMLIntegration
|
|
65
|
-
from flywheel.models.azure_ml_resource_init_status import AzureMLResourceInitStatus
|
|
66
|
-
from flywheel.models.azure_ml_workspace import AzureMLWorkspace
|
|
67
|
-
from flywheel.models.azure_ml_workspace_input import AzureMLWorkspaceInput
|
|
68
62
|
from flywheel.models.base_aet import BaseAET
|
|
69
63
|
from flywheel.models.base_compute import BaseCompute
|
|
70
64
|
from flywheel.models.batch import Batch
|
|
@@ -172,6 +166,7 @@ from flywheel.models.data_view_save_data_view_input import DataViewSaveDataViewI
|
|
|
172
166
|
from flywheel.models.data_view_zip_filter_spec import DataViewZipFilterSpec
|
|
173
167
|
from flywheel.models.default_flywheel_role import DefaultFlywheelRole
|
|
174
168
|
from flywheel.models.deid_log_skip_reason import DeidLogSkipReason
|
|
169
|
+
from flywheel.models.delete_by_search_query import DeleteBySearchQuery
|
|
175
170
|
from flywheel.models.deleted_file import DeletedFile
|
|
176
171
|
from flywheel.models.deleted_result import DeletedResult
|
|
177
172
|
from flywheel.models.deprecated_action import DeprecatedAction
|
flywheel/models/action.py
CHANGED
|
@@ -76,11 +76,12 @@ class Action(str, enum.Enum):
|
|
|
76
76
|
JUPYTERLAB_SERVERS_CREATE = "jupyterlab_servers_create"
|
|
77
77
|
JUPYTERLAB_SERVERS_MODIFY = "jupyterlab_servers_modify"
|
|
78
78
|
JUPYTERLAB_SERVERS_DELETE = "jupyterlab_servers_delete"
|
|
79
|
-
AZUREML_READ = "azureml_read"
|
|
80
|
-
AZUREML_MODIFY = "azureml_modify"
|
|
81
|
-
AZUREML_ACCESS = "azureml_access"
|
|
82
79
|
AUDIT_TRAIL_REPORTS_MANAGE = "audit_trail_reports_manage"
|
|
83
80
|
AUDIT_TRAIL_REPORTS_VIEW = "audit_trail_reports_view"
|
|
81
|
+
TASKS_VIEW = "tasks_view"
|
|
82
|
+
TASKS_CREATE = "tasks_create"
|
|
83
|
+
TASKS_MODIFY = "tasks_modify"
|
|
84
|
+
TASKS_ASSIGN = "tasks_assign"
|
|
84
85
|
|
|
85
86
|
def __str__(self):
|
|
86
87
|
return self.value
|
|
@@ -19,7 +19,6 @@ import re # noqa: F401
|
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
21
|
from flywheel.models.api_key_output import ApiKeyOutput # noqa: F401,E501
|
|
22
|
-
from flywheel.models.azure_ml_account import AzureMLAccount # noqa: F401,E501
|
|
23
22
|
from flywheel.models.legacy_api_key_output import LegacyApiKeyOutput # noqa: F401,E501
|
|
24
23
|
from flywheel.models.user_preferences import UserPreferences # noqa: F401,E501
|
|
25
24
|
|
|
@@ -45,8 +44,7 @@ class CurrentUserOutput(object):
|
|
|
45
44
|
'info': 'object',
|
|
46
45
|
'firstlogin': 'str',
|
|
47
46
|
'lastlogin': 'str',
|
|
48
|
-
'visited_projects': 'list[str]'
|
|
49
|
-
'azureml_account': 'AzureMLAccount'
|
|
47
|
+
'visited_projects': 'list[str]'
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
attribute_map = {
|
|
@@ -69,8 +67,7 @@ class CurrentUserOutput(object):
|
|
|
69
67
|
'info': 'info',
|
|
70
68
|
'firstlogin': 'firstlogin',
|
|
71
69
|
'lastlogin': 'lastlogin',
|
|
72
|
-
'visited_projects': 'visited_projects'
|
|
73
|
-
'azureml_account': 'azureml_account'
|
|
70
|
+
'visited_projects': 'visited_projects'
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
rattribute_map = {
|
|
@@ -93,11 +90,10 @@ class CurrentUserOutput(object):
|
|
|
93
90
|
'info': 'info',
|
|
94
91
|
'firstlogin': 'firstlogin',
|
|
95
92
|
'lastlogin': 'lastlogin',
|
|
96
|
-
'visited_projects': 'visited_projects'
|
|
97
|
-
'azureml_account': 'azureml_account'
|
|
93
|
+
'visited_projects': 'visited_projects'
|
|
98
94
|
}
|
|
99
95
|
|
|
100
|
-
def __init__(self, id=None, user_id=None, firstname=None, lastname=None, email=None, auth0sub=None, roles=None, root=False, api_key=None, api_keys=None, avatar=None, avatars=None, disabled=None, preferences=None, created=None, modified=None, info=None, firstlogin=None, lastlogin=None, visited_projects=None
|
|
96
|
+
def __init__(self, id=None, user_id=None, firstname=None, lastname=None, email=None, auth0sub=None, roles=None, root=False, api_key=None, api_keys=None, avatar=None, avatars=None, disabled=None, preferences=None, created=None, modified=None, info=None, firstlogin=None, lastlogin=None, visited_projects=None): # noqa: E501
|
|
101
97
|
"""CurrentUserOutput - a model defined in Swagger"""
|
|
102
98
|
super(CurrentUserOutput, self).__init__()
|
|
103
99
|
|
|
@@ -121,7 +117,6 @@ class CurrentUserOutput(object):
|
|
|
121
117
|
self._firstlogin = None
|
|
122
118
|
self._lastlogin = None
|
|
123
119
|
self._visited_projects = None
|
|
124
|
-
self._azureml_account = None
|
|
125
120
|
self.discriminator = None
|
|
126
121
|
self.alt_discriminator = None
|
|
127
122
|
|
|
@@ -157,8 +152,6 @@ class CurrentUserOutput(object):
|
|
|
157
152
|
self.lastlogin = lastlogin
|
|
158
153
|
if visited_projects is not None:
|
|
159
154
|
self.visited_projects = visited_projects
|
|
160
|
-
if azureml_account is not None:
|
|
161
|
-
self.azureml_account = azureml_account
|
|
162
155
|
|
|
163
156
|
@property
|
|
164
157
|
def id(self):
|
|
@@ -580,27 +573,6 @@ class CurrentUserOutput(object):
|
|
|
580
573
|
|
|
581
574
|
self._visited_projects = visited_projects
|
|
582
575
|
|
|
583
|
-
@property
|
|
584
|
-
def azureml_account(self):
|
|
585
|
-
"""Gets the azureml_account of this CurrentUserOutput.
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
:return: The azureml_account of this CurrentUserOutput.
|
|
589
|
-
:rtype: AzureMLAccount
|
|
590
|
-
"""
|
|
591
|
-
return self._azureml_account
|
|
592
|
-
|
|
593
|
-
@azureml_account.setter
|
|
594
|
-
def azureml_account(self, azureml_account):
|
|
595
|
-
"""Sets the azureml_account of this CurrentUserOutput.
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
:param azureml_account: The azureml_account of this CurrentUserOutput. # noqa: E501
|
|
599
|
-
:type: AzureMLAccount
|
|
600
|
-
"""
|
|
601
|
-
|
|
602
|
-
self._azureml_account = azureml_account
|
|
603
|
-
|
|
604
576
|
|
|
605
577
|
@staticmethod
|
|
606
578
|
def positional_to_model(value):
|
|
@@ -18,77 +18,139 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class DeleteBySearchQuery(object):
|
|
22
22
|
|
|
23
23
|
swagger_types = {
|
|
24
|
-
'
|
|
25
|
-
'
|
|
24
|
+
'return_type': 'SearchReturnType',
|
|
25
|
+
'structured_query': 'str',
|
|
26
|
+
'search_string': 'str',
|
|
27
|
+
'filters': 'list[object]'
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
attribute_map = {
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
+
'return_type': 'return_type',
|
|
32
|
+
'structured_query': 'structured_query',
|
|
33
|
+
'search_string': 'search_string',
|
|
34
|
+
'filters': 'filters'
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
rattribute_map = {
|
|
34
|
-
'
|
|
35
|
-
'
|
|
38
|
+
'return_type': 'return_type',
|
|
39
|
+
'structured_query': 'structured_query',
|
|
40
|
+
'search_string': 'search_string',
|
|
41
|
+
'filters': 'filters'
|
|
36
42
|
}
|
|
37
43
|
|
|
38
|
-
def __init__(self,
|
|
39
|
-
"""
|
|
40
|
-
super(
|
|
44
|
+
def __init__(self, return_type=None, structured_query=None, search_string=None, filters=None): # noqa: E501
|
|
45
|
+
"""DeleteBySearchQuery - a model defined in Swagger"""
|
|
46
|
+
super(DeleteBySearchQuery, self).__init__()
|
|
41
47
|
|
|
42
|
-
self.
|
|
43
|
-
self.
|
|
48
|
+
self._return_type = None
|
|
49
|
+
self._structured_query = None
|
|
50
|
+
self._search_string = None
|
|
51
|
+
self._filters = None
|
|
44
52
|
self.discriminator = None
|
|
45
53
|
self.alt_discriminator = None
|
|
46
54
|
|
|
47
|
-
self.
|
|
48
|
-
if
|
|
49
|
-
self.
|
|
55
|
+
self.return_type = return_type
|
|
56
|
+
if structured_query is not None:
|
|
57
|
+
self.structured_query = structured_query
|
|
58
|
+
if search_string is not None:
|
|
59
|
+
self.search_string = search_string
|
|
60
|
+
if filters is not None:
|
|
61
|
+
self.filters = filters
|
|
50
62
|
|
|
51
63
|
@property
|
|
52
|
-
def
|
|
53
|
-
"""Gets the
|
|
64
|
+
def return_type(self):
|
|
65
|
+
"""Gets the return_type of this DeleteBySearchQuery.
|
|
54
66
|
|
|
67
|
+
Sets the type of search results to delete
|
|
55
68
|
|
|
56
|
-
:return: The
|
|
69
|
+
:return: The return_type of this DeleteBySearchQuery.
|
|
70
|
+
:rtype: SearchReturnType
|
|
71
|
+
"""
|
|
72
|
+
return self._return_type
|
|
73
|
+
|
|
74
|
+
@return_type.setter
|
|
75
|
+
def return_type(self, return_type):
|
|
76
|
+
"""Sets the return_type of this DeleteBySearchQuery.
|
|
77
|
+
|
|
78
|
+
Sets the type of search results to delete
|
|
79
|
+
|
|
80
|
+
:param return_type: The return_type of this DeleteBySearchQuery. # noqa: E501
|
|
81
|
+
:type: SearchReturnType
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._return_type = return_type
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def structured_query(self):
|
|
88
|
+
"""Gets the structured_query of this DeleteBySearchQuery.
|
|
89
|
+
|
|
90
|
+
Represents structured query language search
|
|
91
|
+
|
|
92
|
+
:return: The structured_query of this DeleteBySearchQuery.
|
|
57
93
|
:rtype: str
|
|
58
94
|
"""
|
|
59
|
-
return self.
|
|
95
|
+
return self._structured_query
|
|
60
96
|
|
|
61
|
-
@
|
|
62
|
-
def
|
|
63
|
-
"""Sets the
|
|
97
|
+
@structured_query.setter
|
|
98
|
+
def structured_query(self, structured_query):
|
|
99
|
+
"""Sets the structured_query of this DeleteBySearchQuery.
|
|
64
100
|
|
|
101
|
+
Represents structured query language search
|
|
65
102
|
|
|
66
|
-
:param
|
|
103
|
+
:param structured_query: The structured_query of this DeleteBySearchQuery. # noqa: E501
|
|
67
104
|
:type: str
|
|
68
105
|
"""
|
|
69
106
|
|
|
70
|
-
self.
|
|
107
|
+
self._structured_query = structured_query
|
|
71
108
|
|
|
72
109
|
@property
|
|
73
|
-
def
|
|
74
|
-
"""Gets the
|
|
110
|
+
def search_string(self):
|
|
111
|
+
"""Gets the search_string of this DeleteBySearchQuery.
|
|
75
112
|
|
|
113
|
+
Represents the plain text search query
|
|
76
114
|
|
|
77
|
-
:return: The
|
|
115
|
+
:return: The search_string of this DeleteBySearchQuery.
|
|
78
116
|
:rtype: str
|
|
79
117
|
"""
|
|
80
|
-
return self.
|
|
118
|
+
return self._search_string
|
|
81
119
|
|
|
82
|
-
@
|
|
83
|
-
def
|
|
84
|
-
"""Sets the
|
|
120
|
+
@search_string.setter
|
|
121
|
+
def search_string(self, search_string):
|
|
122
|
+
"""Sets the search_string of this DeleteBySearchQuery.
|
|
85
123
|
|
|
124
|
+
Represents the plain text search query
|
|
86
125
|
|
|
87
|
-
:param
|
|
126
|
+
:param search_string: The search_string of this DeleteBySearchQuery. # noqa: E501
|
|
88
127
|
:type: str
|
|
89
128
|
"""
|
|
90
129
|
|
|
91
|
-
self.
|
|
130
|
+
self._search_string = search_string
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def filters(self):
|
|
134
|
+
"""Gets the filters of this DeleteBySearchQuery.
|
|
135
|
+
|
|
136
|
+
See https://www.elastic.co/guide/en/elasticsearch/reference/current/term-level-queries.html
|
|
137
|
+
|
|
138
|
+
:return: The filters of this DeleteBySearchQuery.
|
|
139
|
+
:rtype: list[object]
|
|
140
|
+
"""
|
|
141
|
+
return self._filters
|
|
142
|
+
|
|
143
|
+
@filters.setter
|
|
144
|
+
def filters(self, filters):
|
|
145
|
+
"""Sets the filters of this DeleteBySearchQuery.
|
|
146
|
+
|
|
147
|
+
See https://www.elastic.co/guide/en/elasticsearch/reference/current/term-level-queries.html
|
|
148
|
+
|
|
149
|
+
:param filters: The filters of this DeleteBySearchQuery. # noqa: E501
|
|
150
|
+
:type: list[object]
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._filters = filters
|
|
92
154
|
|
|
93
155
|
|
|
94
156
|
@staticmethod
|
|
@@ -134,7 +196,7 @@ class AzureMLWorkspaceInput(object):
|
|
|
134
196
|
|
|
135
197
|
def __eq__(self, other):
|
|
136
198
|
"""Returns true if both objects are equal"""
|
|
137
|
-
if not isinstance(other,
|
|
199
|
+
if not isinstance(other, DeleteBySearchQuery):
|
|
138
200
|
return False
|
|
139
201
|
|
|
140
202
|
return self.__dict__ == other.__dict__
|
flywheel/models/features.py
CHANGED
|
@@ -53,6 +53,7 @@ class Features(object):
|
|
|
53
53
|
'multipart_signed_url': 'bool',
|
|
54
54
|
'multiproject': 'bool',
|
|
55
55
|
'ohif_multi_subject_view': 'bool',
|
|
56
|
+
'ohif_meteor': 'bool',
|
|
56
57
|
'ohif_react': 'bool',
|
|
57
58
|
'ohif_react_beta': 'bool',
|
|
58
59
|
'ohif_slice_order': 'str',
|
|
@@ -81,7 +82,8 @@ class Features(object):
|
|
|
81
82
|
'userpilot': 'bool',
|
|
82
83
|
'validate_classification': 'bool',
|
|
83
84
|
'virus_scan': 'bool',
|
|
84
|
-
'legacy_dicom_uploader': 'bool'
|
|
85
|
+
'legacy_dicom_uploader': 'bool',
|
|
86
|
+
'tasks_refactor': 'bool'
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
attribute_map = {
|
|
@@ -117,6 +119,7 @@ class Features(object):
|
|
|
117
119
|
'multipart_signed_url': 'multipart_signed_url',
|
|
118
120
|
'multiproject': 'multiproject',
|
|
119
121
|
'ohif_multi_subject_view': 'ohif_multi_subject_view',
|
|
122
|
+
'ohif_meteor': 'ohif_meteor',
|
|
120
123
|
'ohif_react': 'ohif_react',
|
|
121
124
|
'ohif_react_beta': 'ohif_react_beta',
|
|
122
125
|
'ohif_slice_order': 'ohif_slice_order',
|
|
@@ -145,7 +148,8 @@ class Features(object):
|
|
|
145
148
|
'userpilot': 'userpilot',
|
|
146
149
|
'validate_classification': 'validate_classification',
|
|
147
150
|
'virus_scan': 'virus_scan',
|
|
148
|
-
'legacy_dicom_uploader': 'legacy_dicom_uploader'
|
|
151
|
+
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
152
|
+
'tasks_refactor': 'tasks_refactor'
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
rattribute_map = {
|
|
@@ -181,6 +185,7 @@ class Features(object):
|
|
|
181
185
|
'multipart_signed_url': 'multipart_signed_url',
|
|
182
186
|
'multiproject': 'multiproject',
|
|
183
187
|
'ohif_multi_subject_view': 'ohif_multi_subject_view',
|
|
188
|
+
'ohif_meteor': 'ohif_meteor',
|
|
184
189
|
'ohif_react': 'ohif_react',
|
|
185
190
|
'ohif_react_beta': 'ohif_react_beta',
|
|
186
191
|
'ohif_slice_order': 'ohif_slice_order',
|
|
@@ -209,10 +214,11 @@ class Features(object):
|
|
|
209
214
|
'userpilot': 'userpilot',
|
|
210
215
|
'validate_classification': 'validate_classification',
|
|
211
216
|
'virus_scan': 'virus_scan',
|
|
212
|
-
'legacy_dicom_uploader': 'legacy_dicom_uploader'
|
|
217
|
+
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
218
|
+
'tasks_refactor': 'tasks_refactor'
|
|
213
219
|
}
|
|
214
220
|
|
|
215
|
-
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, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dicom_web_uploader_non_21_cfr=True, dimse=False, elastic_search_primary=False, exchange=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_react=False, ohif_react_beta=False, ohif_slice_order=None, ohif_v2_adhoc_indexing=True, ohif_v3=True, ohif_v3_beta=False, 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=False, virus_scan=False, legacy_dicom_uploader=False): # noqa: E501
|
|
221
|
+
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, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dicom_web_uploader_non_21_cfr=True, dimse=False, elastic_search_primary=False, exchange=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_react_beta=False, ohif_slice_order=None, ohif_v2_adhoc_indexing=True, ohif_v3=True, ohif_v3_beta=False, 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=False, virus_scan=False, legacy_dicom_uploader=False, tasks_refactor=False): # noqa: E501
|
|
216
222
|
"""Features - a model defined in Swagger"""
|
|
217
223
|
super(Features, self).__init__()
|
|
218
224
|
|
|
@@ -248,6 +254,7 @@ class Features(object):
|
|
|
248
254
|
self._multipart_signed_url = None
|
|
249
255
|
self._multiproject = None
|
|
250
256
|
self._ohif_multi_subject_view = None
|
|
257
|
+
self._ohif_meteor = None
|
|
251
258
|
self._ohif_react = None
|
|
252
259
|
self._ohif_react_beta = None
|
|
253
260
|
self._ohif_slice_order = None
|
|
@@ -277,6 +284,7 @@ class Features(object):
|
|
|
277
284
|
self._validate_classification = None
|
|
278
285
|
self._virus_scan = None
|
|
279
286
|
self._legacy_dicom_uploader = None
|
|
287
|
+
self._tasks_refactor = None
|
|
280
288
|
self.discriminator = None
|
|
281
289
|
self.alt_discriminator = None
|
|
282
290
|
|
|
@@ -344,6 +352,8 @@ class Features(object):
|
|
|
344
352
|
self.multiproject = multiproject
|
|
345
353
|
if ohif_multi_subject_view is not None:
|
|
346
354
|
self.ohif_multi_subject_view = ohif_multi_subject_view
|
|
355
|
+
if ohif_meteor is not None:
|
|
356
|
+
self.ohif_meteor = ohif_meteor
|
|
347
357
|
if ohif_react is not None:
|
|
348
358
|
self.ohif_react = ohif_react
|
|
349
359
|
if ohif_react_beta is not None:
|
|
@@ -402,6 +412,8 @@ class Features(object):
|
|
|
402
412
|
self.virus_scan = virus_scan
|
|
403
413
|
if legacy_dicom_uploader is not None:
|
|
404
414
|
self.legacy_dicom_uploader = legacy_dicom_uploader
|
|
415
|
+
if tasks_refactor is not None:
|
|
416
|
+
self.tasks_refactor = tasks_refactor
|
|
405
417
|
|
|
406
418
|
@property
|
|
407
419
|
def api_enabled_gear_rules(self):
|
|
@@ -1075,6 +1087,27 @@ class Features(object):
|
|
|
1075
1087
|
|
|
1076
1088
|
self._ohif_multi_subject_view = ohif_multi_subject_view
|
|
1077
1089
|
|
|
1090
|
+
@property
|
|
1091
|
+
def ohif_meteor(self):
|
|
1092
|
+
"""Gets the ohif_meteor of this Features.
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
:return: The ohif_meteor of this Features.
|
|
1096
|
+
:rtype: bool
|
|
1097
|
+
"""
|
|
1098
|
+
return self._ohif_meteor
|
|
1099
|
+
|
|
1100
|
+
@ohif_meteor.setter
|
|
1101
|
+
def ohif_meteor(self, ohif_meteor):
|
|
1102
|
+
"""Sets the ohif_meteor of this Features.
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
:param ohif_meteor: The ohif_meteor of this Features. # noqa: E501
|
|
1106
|
+
:type: bool
|
|
1107
|
+
"""
|
|
1108
|
+
|
|
1109
|
+
self._ohif_meteor = ohif_meteor
|
|
1110
|
+
|
|
1078
1111
|
@property
|
|
1079
1112
|
def ohif_react(self):
|
|
1080
1113
|
"""Gets the ohif_react of this Features.
|
|
@@ -1684,6 +1717,27 @@ class Features(object):
|
|
|
1684
1717
|
|
|
1685
1718
|
self._legacy_dicom_uploader = legacy_dicom_uploader
|
|
1686
1719
|
|
|
1720
|
+
@property
|
|
1721
|
+
def tasks_refactor(self):
|
|
1722
|
+
"""Gets the tasks_refactor of this Features.
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
:return: The tasks_refactor of this Features.
|
|
1726
|
+
:rtype: bool
|
|
1727
|
+
"""
|
|
1728
|
+
return self._tasks_refactor
|
|
1729
|
+
|
|
1730
|
+
@tasks_refactor.setter
|
|
1731
|
+
def tasks_refactor(self, tasks_refactor):
|
|
1732
|
+
"""Sets the tasks_refactor of this Features.
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
:param tasks_refactor: The tasks_refactor of this Features. # noqa: E501
|
|
1736
|
+
:type: bool
|
|
1737
|
+
"""
|
|
1738
|
+
|
|
1739
|
+
self._tasks_refactor = tasks_refactor
|
|
1740
|
+
|
|
1687
1741
|
|
|
1688
1742
|
@staticmethod
|
|
1689
1743
|
def positional_to_model(value):
|