flywheel-sdk 20.0.0__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/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 +22 -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 +31 -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.0.dist-info → flywheel_sdk-20.1.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.0.0.dist-info → flywheel_sdk-20.1.0.dist-info}/RECORD +29 -34
- {flywheel_sdk-20.0.0.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.0.dist-info → flywheel_sdk-20.1.0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-20.0.0.dist-info → flywheel_sdk-20.1.0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
@@ -82,7 +82,8 @@ class Features(object):
|
|
|
82
82
|
'userpilot': 'bool',
|
|
83
83
|
'validate_classification': 'bool',
|
|
84
84
|
'virus_scan': 'bool',
|
|
85
|
-
'legacy_dicom_uploader': 'bool'
|
|
85
|
+
'legacy_dicom_uploader': 'bool',
|
|
86
|
+
'tasks_refactor': 'bool'
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
attribute_map = {
|
|
@@ -147,7 +148,8 @@ class Features(object):
|
|
|
147
148
|
'userpilot': 'userpilot',
|
|
148
149
|
'validate_classification': 'validate_classification',
|
|
149
150
|
'virus_scan': 'virus_scan',
|
|
150
|
-
'legacy_dicom_uploader': 'legacy_dicom_uploader'
|
|
151
|
+
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
152
|
+
'tasks_refactor': 'tasks_refactor'
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
rattribute_map = {
|
|
@@ -212,10 +214,11 @@ class Features(object):
|
|
|
212
214
|
'userpilot': 'userpilot',
|
|
213
215
|
'validate_classification': 'validate_classification',
|
|
214
216
|
'virus_scan': 'virus_scan',
|
|
215
|
-
'legacy_dicom_uploader': 'legacy_dicom_uploader'
|
|
217
|
+
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
218
|
+
'tasks_refactor': 'tasks_refactor'
|
|
216
219
|
}
|
|
217
220
|
|
|
218
|
-
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): # 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
|
|
219
222
|
"""Features - a model defined in Swagger"""
|
|
220
223
|
super(Features, self).__init__()
|
|
221
224
|
|
|
@@ -281,6 +284,7 @@ class Features(object):
|
|
|
281
284
|
self._validate_classification = None
|
|
282
285
|
self._virus_scan = None
|
|
283
286
|
self._legacy_dicom_uploader = None
|
|
287
|
+
self._tasks_refactor = None
|
|
284
288
|
self.discriminator = None
|
|
285
289
|
self.alt_discriminator = None
|
|
286
290
|
|
|
@@ -408,6 +412,8 @@ class Features(object):
|
|
|
408
412
|
self.virus_scan = virus_scan
|
|
409
413
|
if legacy_dicom_uploader is not None:
|
|
410
414
|
self.legacy_dicom_uploader = legacy_dicom_uploader
|
|
415
|
+
if tasks_refactor is not None:
|
|
416
|
+
self.tasks_refactor = tasks_refactor
|
|
411
417
|
|
|
412
418
|
@property
|
|
413
419
|
def api_enabled_gear_rules(self):
|
|
@@ -1711,6 +1717,27 @@ class Features(object):
|
|
|
1711
1717
|
|
|
1712
1718
|
self._legacy_dicom_uploader = legacy_dicom_uploader
|
|
1713
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
|
+
|
|
1714
1741
|
|
|
1715
1742
|
@staticmethod
|
|
1716
1743
|
def positional_to_model(value):
|
|
@@ -19,7 +19,6 @@ import re # noqa: F401
|
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
21
|
from flywheel.models.avatars import Avatars # noqa: F401,E501
|
|
22
|
-
from flywheel.models.azure_ml_account import AzureMLAccount # noqa: F401,E501
|
|
23
22
|
from flywheel.models.role_type import RoleType # noqa: F401,E501
|
|
24
23
|
from flywheel.models.user_preferences import UserPreferences # noqa: F401,E501
|
|
25
24
|
|
|
@@ -36,8 +35,7 @@ class ModifyUserInput(object):
|
|
|
36
35
|
'preferences': 'UserPreferences',
|
|
37
36
|
'root': 'bool',
|
|
38
37
|
'password': 'str',
|
|
39
|
-
'central_revision': 'int'
|
|
40
|
-
'azureml_account': 'AzureMLAccount'
|
|
38
|
+
'central_revision': 'int'
|
|
41
39
|
}
|
|
42
40
|
|
|
43
41
|
attribute_map = {
|
|
@@ -51,8 +49,7 @@ class ModifyUserInput(object):
|
|
|
51
49
|
'preferences': 'preferences',
|
|
52
50
|
'root': 'root',
|
|
53
51
|
'password': 'password',
|
|
54
|
-
'central_revision': 'central_revision'
|
|
55
|
-
'azureml_account': 'azureml_account'
|
|
52
|
+
'central_revision': 'central_revision'
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
rattribute_map = {
|
|
@@ -66,11 +63,10 @@ class ModifyUserInput(object):
|
|
|
66
63
|
'preferences': 'preferences',
|
|
67
64
|
'root': 'root',
|
|
68
65
|
'password': 'password',
|
|
69
|
-
'central_revision': 'central_revision'
|
|
70
|
-
'azureml_account': 'azureml_account'
|
|
66
|
+
'central_revision': 'central_revision'
|
|
71
67
|
}
|
|
72
68
|
|
|
73
|
-
def __init__(self, firstname=None, lastname=None, email=None, avatars=None, avatar=None, roles=None, disabled=None, preferences=None, root=None, password=None, central_revision=None
|
|
69
|
+
def __init__(self, firstname=None, lastname=None, email=None, avatars=None, avatar=None, roles=None, disabled=None, preferences=None, root=None, password=None, central_revision=None): # noqa: E501
|
|
74
70
|
"""ModifyUserInput - a model defined in Swagger"""
|
|
75
71
|
super(ModifyUserInput, self).__init__()
|
|
76
72
|
|
|
@@ -85,7 +81,6 @@ class ModifyUserInput(object):
|
|
|
85
81
|
self._root = None
|
|
86
82
|
self._password = None
|
|
87
83
|
self._central_revision = None
|
|
88
|
-
self._azureml_account = None
|
|
89
84
|
self.discriminator = None
|
|
90
85
|
self.alt_discriminator = None
|
|
91
86
|
|
|
@@ -111,8 +106,6 @@ class ModifyUserInput(object):
|
|
|
111
106
|
self.password = password
|
|
112
107
|
if central_revision is not None:
|
|
113
108
|
self.central_revision = central_revision
|
|
114
|
-
if azureml_account is not None:
|
|
115
|
-
self.azureml_account = azureml_account
|
|
116
109
|
|
|
117
110
|
@property
|
|
118
111
|
def firstname(self):
|
|
@@ -345,27 +338,6 @@ class ModifyUserInput(object):
|
|
|
345
338
|
|
|
346
339
|
self._central_revision = central_revision
|
|
347
340
|
|
|
348
|
-
@property
|
|
349
|
-
def azureml_account(self):
|
|
350
|
-
"""Gets the azureml_account of this ModifyUserInput.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
:return: The azureml_account of this ModifyUserInput.
|
|
354
|
-
:rtype: AzureMLAccount
|
|
355
|
-
"""
|
|
356
|
-
return self._azureml_account
|
|
357
|
-
|
|
358
|
-
@azureml_account.setter
|
|
359
|
-
def azureml_account(self, azureml_account):
|
|
360
|
-
"""Sets the azureml_account of this ModifyUserInput.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
:param azureml_account: The azureml_account of this ModifyUserInput. # noqa: E501
|
|
364
|
-
:type: AzureMLAccount
|
|
365
|
-
"""
|
|
366
|
-
|
|
367
|
-
self._azureml_account = azureml_account
|
|
368
|
-
|
|
369
341
|
|
|
370
342
|
@staticmethod
|
|
371
343
|
def positional_to_model(value):
|
|
@@ -21,33 +21,27 @@ import six
|
|
|
21
21
|
class ProjectSettingsWorkspaces(object):
|
|
22
22
|
|
|
23
23
|
swagger_types = {
|
|
24
|
-
'jupyterhub': 'JupyterhubWorkspace'
|
|
25
|
-
'azureml': 'AzureMLIntegration'
|
|
24
|
+
'jupyterhub': 'JupyterhubWorkspace'
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
attribute_map = {
|
|
29
|
-
'jupyterhub': 'jupyterhub'
|
|
30
|
-
'azureml': 'azureml'
|
|
28
|
+
'jupyterhub': 'jupyterhub'
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
rattribute_map = {
|
|
34
|
-
'jupyterhub': 'jupyterhub'
|
|
35
|
-
'azureml': 'azureml'
|
|
32
|
+
'jupyterhub': 'jupyterhub'
|
|
36
33
|
}
|
|
37
34
|
|
|
38
|
-
def __init__(self, jupyterhub=None
|
|
35
|
+
def __init__(self, jupyterhub=None): # noqa: E501
|
|
39
36
|
"""ProjectSettingsWorkspaces - a model defined in Swagger"""
|
|
40
37
|
super(ProjectSettingsWorkspaces, self).__init__()
|
|
41
38
|
|
|
42
39
|
self._jupyterhub = None
|
|
43
|
-
self._azureml = None
|
|
44
40
|
self.discriminator = None
|
|
45
41
|
self.alt_discriminator = None
|
|
46
42
|
|
|
47
43
|
if jupyterhub is not None:
|
|
48
44
|
self.jupyterhub = jupyterhub
|
|
49
|
-
if azureml is not None:
|
|
50
|
-
self.azureml = azureml
|
|
51
45
|
|
|
52
46
|
@property
|
|
53
47
|
def jupyterhub(self):
|
|
@@ -70,27 +64,6 @@ class ProjectSettingsWorkspaces(object):
|
|
|
70
64
|
|
|
71
65
|
self._jupyterhub = jupyterhub
|
|
72
66
|
|
|
73
|
-
@property
|
|
74
|
-
def azureml(self):
|
|
75
|
-
"""Gets the azureml of this ProjectSettingsWorkspaces.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
:return: The azureml of this ProjectSettingsWorkspaces.
|
|
79
|
-
:rtype: AzureMLIntegration
|
|
80
|
-
"""
|
|
81
|
-
return self._azureml
|
|
82
|
-
|
|
83
|
-
@azureml.setter
|
|
84
|
-
def azureml(self, azureml):
|
|
85
|
-
"""Sets the azureml of this ProjectSettingsWorkspaces.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:param azureml: The azureml of this ProjectSettingsWorkspaces. # noqa: E501
|
|
89
|
-
:type: AzureMLIntegration
|
|
90
|
-
"""
|
|
91
|
-
|
|
92
|
-
self._azureml = azureml
|
|
93
|
-
|
|
94
67
|
|
|
95
68
|
@staticmethod
|
|
96
69
|
def positional_to_model(value):
|
|
@@ -18,39 +18,32 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
-
from flywheel.models.azure_ml_integration import AzureMLIntegration # noqa: F401,E501
|
|
22
21
|
from flywheel.models.jupyterhub_workspace import JupyterhubWorkspace # noqa: F401,E501
|
|
23
22
|
|
|
24
23
|
class ProjectSettingsWorkspacesInput(object):
|
|
25
24
|
|
|
26
25
|
swagger_types = {
|
|
27
|
-
'jupyterhub': 'JupyterhubWorkspace'
|
|
28
|
-
'azureml': 'AzureMLIntegration'
|
|
26
|
+
'jupyterhub': 'JupyterhubWorkspace'
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
attribute_map = {
|
|
32
|
-
'jupyterhub': 'jupyterhub'
|
|
33
|
-
'azureml': 'azureml'
|
|
30
|
+
'jupyterhub': 'jupyterhub'
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
rattribute_map = {
|
|
37
|
-
'jupyterhub': 'jupyterhub'
|
|
38
|
-
'azureml': 'azureml'
|
|
34
|
+
'jupyterhub': 'jupyterhub'
|
|
39
35
|
}
|
|
40
36
|
|
|
41
|
-
def __init__(self, jupyterhub=None
|
|
37
|
+
def __init__(self, jupyterhub=None): # noqa: E501
|
|
42
38
|
"""ProjectSettingsWorkspacesInput - a model defined in Swagger"""
|
|
43
39
|
super(ProjectSettingsWorkspacesInput, self).__init__()
|
|
44
40
|
|
|
45
41
|
self._jupyterhub = None
|
|
46
|
-
self._azureml = None
|
|
47
42
|
self.discriminator = None
|
|
48
43
|
self.alt_discriminator = None
|
|
49
44
|
|
|
50
45
|
if jupyterhub is not None:
|
|
51
46
|
self.jupyterhub = jupyterhub
|
|
52
|
-
if azureml is not None:
|
|
53
|
-
self.azureml = azureml
|
|
54
47
|
|
|
55
48
|
@property
|
|
56
49
|
def jupyterhub(self):
|
|
@@ -73,27 +66,6 @@ class ProjectSettingsWorkspacesInput(object):
|
|
|
73
66
|
|
|
74
67
|
self._jupyterhub = jupyterhub
|
|
75
68
|
|
|
76
|
-
@property
|
|
77
|
-
def azureml(self):
|
|
78
|
-
"""Gets the azureml of this ProjectSettingsWorkspacesInput.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
:return: The azureml of this ProjectSettingsWorkspacesInput.
|
|
82
|
-
:rtype: AzureMLIntegration
|
|
83
|
-
"""
|
|
84
|
-
return self._azureml
|
|
85
|
-
|
|
86
|
-
@azureml.setter
|
|
87
|
-
def azureml(self, azureml):
|
|
88
|
-
"""Sets the azureml of this ProjectSettingsWorkspacesInput.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
:param azureml: The azureml of this ProjectSettingsWorkspacesInput. # noqa: E501
|
|
92
|
-
:type: AzureMLIntegration
|
|
93
|
-
"""
|
|
94
|
-
|
|
95
|
-
self._azureml = azureml
|
|
96
|
-
|
|
97
69
|
|
|
98
70
|
@staticmethod
|
|
99
71
|
def positional_to_model(value):
|
flywheel/models/search_query.py
CHANGED
|
@@ -26,8 +26,8 @@ class SearchQuery(object):
|
|
|
26
26
|
'return_type': 'SearchReturnType',
|
|
27
27
|
'structured_query': 'str',
|
|
28
28
|
'search_string': 'str',
|
|
29
|
-
'all_data': 'bool',
|
|
30
29
|
'filters': 'list[object]',
|
|
30
|
+
'all_data': 'bool',
|
|
31
31
|
'sort': 'Sort',
|
|
32
32
|
'size': 'int'
|
|
33
33
|
}
|
|
@@ -36,8 +36,8 @@ class SearchQuery(object):
|
|
|
36
36
|
'return_type': 'return_type',
|
|
37
37
|
'structured_query': 'structured_query',
|
|
38
38
|
'search_string': 'search_string',
|
|
39
|
-
'all_data': 'all_data',
|
|
40
39
|
'filters': 'filters',
|
|
40
|
+
'all_data': 'all_data',
|
|
41
41
|
'sort': 'sort',
|
|
42
42
|
'size': 'size'
|
|
43
43
|
}
|
|
@@ -46,21 +46,21 @@ class SearchQuery(object):
|
|
|
46
46
|
'return_type': 'return_type',
|
|
47
47
|
'structured_query': 'structured_query',
|
|
48
48
|
'search_string': 'search_string',
|
|
49
|
-
'all_data': 'all_data',
|
|
50
49
|
'filters': 'filters',
|
|
50
|
+
'all_data': 'all_data',
|
|
51
51
|
'sort': 'sort',
|
|
52
52
|
'size': 'size'
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
def __init__(self, return_type=None, structured_query=None, search_string=None,
|
|
55
|
+
def __init__(self, return_type=None, structured_query=None, search_string=None, filters=None, all_data=False, sort=None, size=None): # noqa: E501
|
|
56
56
|
"""SearchQuery - a model defined in Swagger"""
|
|
57
57
|
super(SearchQuery, self).__init__()
|
|
58
58
|
|
|
59
59
|
self._return_type = None
|
|
60
60
|
self._structured_query = None
|
|
61
61
|
self._search_string = None
|
|
62
|
-
self._all_data = None
|
|
63
62
|
self._filters = None
|
|
63
|
+
self._all_data = None
|
|
64
64
|
self._sort = None
|
|
65
65
|
self._size = None
|
|
66
66
|
self.discriminator = None
|
|
@@ -71,10 +71,10 @@ class SearchQuery(object):
|
|
|
71
71
|
self.structured_query = structured_query
|
|
72
72
|
if search_string is not None:
|
|
73
73
|
self.search_string = search_string
|
|
74
|
-
if all_data is not None:
|
|
75
|
-
self.all_data = all_data
|
|
76
74
|
if filters is not None:
|
|
77
75
|
self.filters = filters
|
|
76
|
+
if all_data is not None:
|
|
77
|
+
self.all_data = all_data
|
|
78
78
|
if sort is not None:
|
|
79
79
|
self.sort = sort
|
|
80
80
|
if size is not None:
|
|
@@ -149,29 +149,6 @@ class SearchQuery(object):
|
|
|
149
149
|
|
|
150
150
|
self._search_string = search_string
|
|
151
151
|
|
|
152
|
-
@property
|
|
153
|
-
def all_data(self):
|
|
154
|
-
"""Gets the all_data of this SearchQuery.
|
|
155
|
-
|
|
156
|
-
When set will include all data that the user does not have access to read
|
|
157
|
-
|
|
158
|
-
:return: The all_data of this SearchQuery.
|
|
159
|
-
:rtype: bool
|
|
160
|
-
"""
|
|
161
|
-
return self._all_data
|
|
162
|
-
|
|
163
|
-
@all_data.setter
|
|
164
|
-
def all_data(self, all_data):
|
|
165
|
-
"""Sets the all_data of this SearchQuery.
|
|
166
|
-
|
|
167
|
-
When set will include all data that the user does not have access to read
|
|
168
|
-
|
|
169
|
-
:param all_data: The all_data of this SearchQuery. # noqa: E501
|
|
170
|
-
:type: bool
|
|
171
|
-
"""
|
|
172
|
-
|
|
173
|
-
self._all_data = all_data
|
|
174
|
-
|
|
175
152
|
@property
|
|
176
153
|
def filters(self):
|
|
177
154
|
"""Gets the filters of this SearchQuery.
|
|
@@ -195,6 +172,29 @@ class SearchQuery(object):
|
|
|
195
172
|
|
|
196
173
|
self._filters = filters
|
|
197
174
|
|
|
175
|
+
@property
|
|
176
|
+
def all_data(self):
|
|
177
|
+
"""Gets the all_data of this SearchQuery.
|
|
178
|
+
|
|
179
|
+
When set will include all data that the user does not have access to read
|
|
180
|
+
|
|
181
|
+
:return: The all_data of this SearchQuery.
|
|
182
|
+
:rtype: bool
|
|
183
|
+
"""
|
|
184
|
+
return self._all_data
|
|
185
|
+
|
|
186
|
+
@all_data.setter
|
|
187
|
+
def all_data(self, all_data):
|
|
188
|
+
"""Sets the all_data of this SearchQuery.
|
|
189
|
+
|
|
190
|
+
When set will include all data that the user does not have access to read
|
|
191
|
+
|
|
192
|
+
:param all_data: The all_data of this SearchQuery. # noqa: E501
|
|
193
|
+
:type: bool
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
self._all_data = all_data
|
|
197
|
+
|
|
198
198
|
@property
|
|
199
199
|
def sort(self):
|
|
200
200
|
"""Gets the sort of this SearchQuery.
|