flywheel-sdk 21.3.0__py3-none-any.whl → 21.3.0rc0__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 +0 -1
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +1 -1
- flywheel/models/__init__.py +0 -1
- flywheel/models/container_type.py +0 -2
- flywheel/models/core_workflows_form_responses_models_form_parents.py +4 -139
- flywheel/models/custom_field.py +4 -4
- flywheel/models/features.py +97 -124
- flywheel/models/project_container_output.py +0 -1
- flywheel/models/project_list_output.py +1 -31
- flywheel/models/project_node.py +0 -1
- flywheel/models/project_output.py +1 -31
- flywheel/models/search_parent_project.py +0 -1
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.3.0rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.3.0rc0.dist-info}/RECORD +18 -19
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.3.0rc0.dist-info}/WHEEL +1 -1
- flywheel/models/project_group_info.py +0 -190
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.3.0rc0.dist-info}/licenses/LICENSE.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -532,7 +532,6 @@ from flywheel.models.project_container_output import ProjectContainerOutput
|
|
|
532
532
|
from flywheel.models.project_copy_input import ProjectCopyInput
|
|
533
533
|
from flywheel.models.project_copy_output import ProjectCopyOutput
|
|
534
534
|
from flywheel.models.project_counters import ProjectCounters
|
|
535
|
-
from flywheel.models.project_group_info import ProjectGroupInfo
|
|
536
535
|
from flywheel.models.project_hierarchy_input import ProjectHierarchyInput
|
|
537
536
|
from flywheel.models.project_hierarchy_output import ProjectHierarchyOutput
|
|
538
537
|
from flywheel.models.project_hierarchy_upsert_input import ProjectHierarchyUpsertInput
|
flywheel/api_client.py
CHANGED
|
@@ -84,7 +84,7 @@ class ApiClient(object):
|
|
|
84
84
|
self.default_query_params = []
|
|
85
85
|
self.cookie = cookie
|
|
86
86
|
# Set default User-Agent.
|
|
87
|
-
self.user_agent = 'Swagger-Codegen/21.3.0/python'
|
|
87
|
+
self.user_agent = 'Swagger-Codegen/21.3.0-rc0/python'
|
|
88
88
|
self.last_response = None
|
|
89
89
|
self._version_check_fn = None
|
|
90
90
|
self._context = context
|
flywheel/configuration.py
CHANGED
|
@@ -253,8 +253,8 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
253
253
|
return "Python SDK Debug Report:\n"\
|
|
254
254
|
"OS: {env}\n"\
|
|
255
255
|
"Python Version: {pyversion}\n"\
|
|
256
|
-
"Version of the API: 21.3.0\n"\
|
|
257
|
-
"SDK Package Version: 21.3.0".\
|
|
256
|
+
"Version of the API: 21.3.0-rc0\n"\
|
|
257
|
+
"SDK Package Version: 21.3.0-rc0".\
|
|
258
258
|
format(env=sys.platform, pyversion=sys.version)
|
|
259
259
|
|
|
260
260
|
def enable_message_cutoff(self, message_cutoff):
|
flywheel/flywheel.py
CHANGED
flywheel/models/__init__.py
CHANGED
|
@@ -474,7 +474,6 @@ from flywheel.models.project_container_output import ProjectContainerOutput
|
|
|
474
474
|
from flywheel.models.project_copy_input import ProjectCopyInput
|
|
475
475
|
from flywheel.models.project_copy_output import ProjectCopyOutput
|
|
476
476
|
from flywheel.models.project_counters import ProjectCounters
|
|
477
|
-
from flywheel.models.project_group_info import ProjectGroupInfo
|
|
478
477
|
from flywheel.models.project_hierarchy_input import ProjectHierarchyInput
|
|
479
478
|
from flywheel.models.project_hierarchy_output import ProjectHierarchyOutput
|
|
480
479
|
from flywheel.models.project_hierarchy_upsert_input import ProjectHierarchyUpsertInput
|
|
@@ -22,56 +22,26 @@ from typing import TYPE_CHECKING
|
|
|
22
22
|
class CoreWorkflowsFormResponsesModelsFormParents(object):
|
|
23
23
|
|
|
24
24
|
swagger_types = {
|
|
25
|
-
'project': 'str'
|
|
26
|
-
'group': 'str',
|
|
27
|
-
'subject': 'str',
|
|
28
|
-
'session': 'str',
|
|
29
|
-
'acquisition': 'str',
|
|
30
|
-
'file': 'str'
|
|
25
|
+
'project': 'str'
|
|
31
26
|
}
|
|
32
27
|
|
|
33
28
|
attribute_map = {
|
|
34
|
-
'project': 'project'
|
|
35
|
-
'group': 'group',
|
|
36
|
-
'subject': 'subject',
|
|
37
|
-
'session': 'session',
|
|
38
|
-
'acquisition': 'acquisition',
|
|
39
|
-
'file': 'file'
|
|
29
|
+
'project': 'project'
|
|
40
30
|
}
|
|
41
31
|
|
|
42
32
|
rattribute_map = {
|
|
43
|
-
'project': 'project'
|
|
44
|
-
'group': 'group',
|
|
45
|
-
'subject': 'subject',
|
|
46
|
-
'session': 'session',
|
|
47
|
-
'acquisition': 'acquisition',
|
|
48
|
-
'file': 'file'
|
|
33
|
+
'project': 'project'
|
|
49
34
|
}
|
|
50
35
|
|
|
51
|
-
def __init__(self, project=None
|
|
36
|
+
def __init__(self, project=None): # noqa: E501
|
|
52
37
|
"""CoreWorkflowsFormResponsesModelsFormParents - a model defined in Swagger"""
|
|
53
38
|
super(CoreWorkflowsFormResponsesModelsFormParents, self).__init__()
|
|
54
39
|
|
|
55
40
|
self._project = None
|
|
56
|
-
self._group = None
|
|
57
|
-
self._subject = None
|
|
58
|
-
self._session = None
|
|
59
|
-
self._acquisition = None
|
|
60
|
-
self._file = None
|
|
61
41
|
self.discriminator = None
|
|
62
42
|
self.alt_discriminator = None
|
|
63
43
|
|
|
64
44
|
self.project = project
|
|
65
|
-
if group is not None:
|
|
66
|
-
self.group = group
|
|
67
|
-
if subject is not None:
|
|
68
|
-
self.subject = subject
|
|
69
|
-
if session is not None:
|
|
70
|
-
self.session = session
|
|
71
|
-
if acquisition is not None:
|
|
72
|
-
self.acquisition = acquisition
|
|
73
|
-
if file is not None:
|
|
74
|
-
self.file = file
|
|
75
45
|
|
|
76
46
|
@property
|
|
77
47
|
def project(self):
|
|
@@ -94,111 +64,6 @@ class CoreWorkflowsFormResponsesModelsFormParents(object):
|
|
|
94
64
|
|
|
95
65
|
self._project = project
|
|
96
66
|
|
|
97
|
-
@property
|
|
98
|
-
def group(self):
|
|
99
|
-
"""Gets the group of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
:return: The group of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
103
|
-
:rtype: str
|
|
104
|
-
"""
|
|
105
|
-
return self._group
|
|
106
|
-
|
|
107
|
-
@group.setter
|
|
108
|
-
def group(self, group):
|
|
109
|
-
"""Sets the group of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
:param group: The group of this CoreWorkflowsFormResponsesModelsFormParents. # noqa: E501
|
|
113
|
-
:type: str
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
self._group = group
|
|
117
|
-
|
|
118
|
-
@property
|
|
119
|
-
def subject(self):
|
|
120
|
-
"""Gets the subject of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
:return: The subject of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
124
|
-
:rtype: str
|
|
125
|
-
"""
|
|
126
|
-
return self._subject
|
|
127
|
-
|
|
128
|
-
@subject.setter
|
|
129
|
-
def subject(self, subject):
|
|
130
|
-
"""Sets the subject of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
:param subject: The subject of this CoreWorkflowsFormResponsesModelsFormParents. # noqa: E501
|
|
134
|
-
:type: str
|
|
135
|
-
"""
|
|
136
|
-
|
|
137
|
-
self._subject = subject
|
|
138
|
-
|
|
139
|
-
@property
|
|
140
|
-
def session(self):
|
|
141
|
-
"""Gets the session of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
:return: The session of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
145
|
-
:rtype: str
|
|
146
|
-
"""
|
|
147
|
-
return self._session
|
|
148
|
-
|
|
149
|
-
@session.setter
|
|
150
|
-
def session(self, session):
|
|
151
|
-
"""Sets the session of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
:param session: The session of this CoreWorkflowsFormResponsesModelsFormParents. # noqa: E501
|
|
155
|
-
:type: str
|
|
156
|
-
"""
|
|
157
|
-
|
|
158
|
-
self._session = session
|
|
159
|
-
|
|
160
|
-
@property
|
|
161
|
-
def acquisition(self):
|
|
162
|
-
"""Gets the acquisition of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
:return: The acquisition of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
166
|
-
:rtype: str
|
|
167
|
-
"""
|
|
168
|
-
return self._acquisition
|
|
169
|
-
|
|
170
|
-
@acquisition.setter
|
|
171
|
-
def acquisition(self, acquisition):
|
|
172
|
-
"""Sets the acquisition of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
:param acquisition: The acquisition of this CoreWorkflowsFormResponsesModelsFormParents. # noqa: E501
|
|
176
|
-
:type: str
|
|
177
|
-
"""
|
|
178
|
-
|
|
179
|
-
self._acquisition = acquisition
|
|
180
|
-
|
|
181
|
-
@property
|
|
182
|
-
def file(self):
|
|
183
|
-
"""Gets the file of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
:return: The file of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
187
|
-
:rtype: str
|
|
188
|
-
"""
|
|
189
|
-
return self._file
|
|
190
|
-
|
|
191
|
-
@file.setter
|
|
192
|
-
def file(self, file):
|
|
193
|
-
"""Sets the file of this CoreWorkflowsFormResponsesModelsFormParents.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
:param file: The file of this CoreWorkflowsFormResponsesModelsFormParents. # noqa: E501
|
|
197
|
-
:type: str
|
|
198
|
-
"""
|
|
199
|
-
|
|
200
|
-
self._file = file
|
|
201
|
-
|
|
202
67
|
|
|
203
68
|
@staticmethod
|
|
204
69
|
def positional_to_model(value):
|
flywheel/models/custom_field.py
CHANGED
|
@@ -35,7 +35,7 @@ class CustomField(object):
|
|
|
35
35
|
'helper_text': 'str',
|
|
36
36
|
'error_text': 'str',
|
|
37
37
|
'visible': 'union[boolean,list[object]]',
|
|
38
|
-
'required_when_visible': '
|
|
38
|
+
'required_when_visible': 'bool',
|
|
39
39
|
'validation': 'list[ValidationRule]',
|
|
40
40
|
'options': 'list[SelectItem]'
|
|
41
41
|
}
|
|
@@ -68,7 +68,7 @@ class CustomField(object):
|
|
|
68
68
|
'options': 'options'
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
def __init__(self, type=None, label=None, description=None, placeholder=None, key=None, helper_text=None, error_text=None, visible=None, required_when_visible=
|
|
71
|
+
def __init__(self, type=None, label=None, description=None, placeholder=None, key=None, helper_text=None, error_text=None, visible=None, required_when_visible=False, validation=None, options=None): # noqa: E501
|
|
72
72
|
"""CustomField - a model defined in Swagger"""
|
|
73
73
|
super(CustomField, self).__init__()
|
|
74
74
|
|
|
@@ -281,7 +281,7 @@ class CustomField(object):
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
:return: The required_when_visible of this CustomField.
|
|
284
|
-
:rtype:
|
|
284
|
+
:rtype: bool
|
|
285
285
|
"""
|
|
286
286
|
return self._required_when_visible
|
|
287
287
|
|
|
@@ -291,7 +291,7 @@ class CustomField(object):
|
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
:param required_when_visible: The required_when_visible of this CustomField. # noqa: E501
|
|
294
|
-
:type:
|
|
294
|
+
:type: bool
|
|
295
295
|
"""
|
|
296
296
|
|
|
297
297
|
self._required_when_visible = required_when_visible
|
flywheel/models/features.py
CHANGED
|
@@ -39,6 +39,7 @@ class Features(object):
|
|
|
39
39
|
'dimse': 'bool',
|
|
40
40
|
'elastic_search_primary': 'bool',
|
|
41
41
|
'exchange': 'bool',
|
|
42
|
+
'case_uploader': 'bool',
|
|
42
43
|
'exchange_admin': 'bool',
|
|
43
44
|
'external_routing': 'bool',
|
|
44
45
|
'gear_access': 'bool',
|
|
@@ -61,6 +62,8 @@ class Features(object):
|
|
|
61
62
|
'ohif_v3': 'bool',
|
|
62
63
|
'ohif_v3_default_app': 'bool',
|
|
63
64
|
'ohif_v3_readonly': 'bool',
|
|
65
|
+
'project_export': 'bool',
|
|
66
|
+
'project_import': 'bool',
|
|
64
67
|
'project_list_uses_stats': 'bool',
|
|
65
68
|
'project_locking': 'bool',
|
|
66
69
|
'reader_tasks': 'bool',
|
|
@@ -80,12 +83,8 @@ class Features(object):
|
|
|
80
83
|
'validate_classification': 'bool',
|
|
81
84
|
'engine_validate_classification': 'bool',
|
|
82
85
|
'virus_scan': 'bool',
|
|
83
|
-
'tasks_refactor': 'bool',
|
|
84
|
-
'bulk_import_deid': 'bool',
|
|
85
|
-
'case_uploader': 'bool',
|
|
86
86
|
'legacy_dicom_uploader': 'bool',
|
|
87
|
-
'
|
|
88
|
-
'project_import': 'bool'
|
|
87
|
+
'tasks_refactor': 'bool'
|
|
89
88
|
}
|
|
90
89
|
|
|
91
90
|
attribute_map = {
|
|
@@ -106,6 +105,7 @@ class Features(object):
|
|
|
106
105
|
'dimse': 'dimse',
|
|
107
106
|
'elastic_search_primary': 'elastic_search_primary',
|
|
108
107
|
'exchange': 'exchange',
|
|
108
|
+
'case_uploader': 'case_uploader',
|
|
109
109
|
'exchange_admin': 'exchange_admin',
|
|
110
110
|
'external_routing': 'external_routing',
|
|
111
111
|
'gear_access': 'gear_access',
|
|
@@ -128,6 +128,8 @@ class Features(object):
|
|
|
128
128
|
'ohif_v3': 'ohif_v3',
|
|
129
129
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
130
130
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
131
|
+
'project_export': 'project_export',
|
|
132
|
+
'project_import': 'project_import',
|
|
131
133
|
'project_list_uses_stats': 'project_list_uses_stats',
|
|
132
134
|
'project_locking': 'project_locking',
|
|
133
135
|
'reader_tasks': 'reader_tasks',
|
|
@@ -147,12 +149,8 @@ class Features(object):
|
|
|
147
149
|
'validate_classification': 'validate_classification',
|
|
148
150
|
'engine_validate_classification': 'engine_validate_classification',
|
|
149
151
|
'virus_scan': 'virus_scan',
|
|
150
|
-
'tasks_refactor': 'tasks_refactor',
|
|
151
|
-
'bulk_import_deid': 'bulk_import_deid',
|
|
152
|
-
'case_uploader': 'case_uploader',
|
|
153
152
|
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
154
|
-
'
|
|
155
|
-
'project_import': 'project_import'
|
|
153
|
+
'tasks_refactor': 'tasks_refactor'
|
|
156
154
|
}
|
|
157
155
|
|
|
158
156
|
rattribute_map = {
|
|
@@ -173,6 +171,7 @@ class Features(object):
|
|
|
173
171
|
'dimse': 'dimse',
|
|
174
172
|
'elastic_search_primary': 'elastic_search_primary',
|
|
175
173
|
'exchange': 'exchange',
|
|
174
|
+
'case_uploader': 'case_uploader',
|
|
176
175
|
'exchange_admin': 'exchange_admin',
|
|
177
176
|
'external_routing': 'external_routing',
|
|
178
177
|
'gear_access': 'gear_access',
|
|
@@ -195,6 +194,8 @@ class Features(object):
|
|
|
195
194
|
'ohif_v3': 'ohif_v3',
|
|
196
195
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
197
196
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
197
|
+
'project_export': 'project_export',
|
|
198
|
+
'project_import': 'project_import',
|
|
198
199
|
'project_list_uses_stats': 'project_list_uses_stats',
|
|
199
200
|
'project_locking': 'project_locking',
|
|
200
201
|
'reader_tasks': 'reader_tasks',
|
|
@@ -214,15 +215,11 @@ class Features(object):
|
|
|
214
215
|
'validate_classification': 'validate_classification',
|
|
215
216
|
'engine_validate_classification': 'engine_validate_classification',
|
|
216
217
|
'virus_scan': 'virus_scan',
|
|
217
|
-
'tasks_refactor': 'tasks_refactor',
|
|
218
|
-
'bulk_import_deid': 'bulk_import_deid',
|
|
219
|
-
'case_uploader': 'case_uploader',
|
|
220
218
|
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
221
|
-
'
|
|
222
|
-
'project_import': 'project_import'
|
|
219
|
+
'tasks_refactor': 'tasks_refactor'
|
|
223
220
|
}
|
|
224
221
|
|
|
225
|
-
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, 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_list_uses_stats=True, 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, engine_validate_classification=False, virus_scan=False,
|
|
222
|
+
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=True, 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, engine_validate_classification=False, virus_scan=False, legacy_dicom_uploader=False, tasks_refactor=False): # noqa: E501
|
|
226
223
|
"""Features - a model defined in Swagger"""
|
|
227
224
|
super(Features, self).__init__()
|
|
228
225
|
|
|
@@ -243,6 +240,7 @@ class Features(object):
|
|
|
243
240
|
self._dimse = None
|
|
244
241
|
self._elastic_search_primary = None
|
|
245
242
|
self._exchange = None
|
|
243
|
+
self._case_uploader = None
|
|
246
244
|
self._exchange_admin = None
|
|
247
245
|
self._external_routing = None
|
|
248
246
|
self._gear_access = None
|
|
@@ -265,6 +263,8 @@ class Features(object):
|
|
|
265
263
|
self._ohif_v3 = None
|
|
266
264
|
self._ohif_v3_default_app = None
|
|
267
265
|
self._ohif_v3_readonly = None
|
|
266
|
+
self._project_export = None
|
|
267
|
+
self._project_import = None
|
|
268
268
|
self._project_list_uses_stats = None
|
|
269
269
|
self._project_locking = None
|
|
270
270
|
self._reader_tasks = None
|
|
@@ -284,12 +284,8 @@ class Features(object):
|
|
|
284
284
|
self._validate_classification = None
|
|
285
285
|
self._engine_validate_classification = None
|
|
286
286
|
self._virus_scan = None
|
|
287
|
-
self._tasks_refactor = None
|
|
288
|
-
self._bulk_import_deid = None
|
|
289
|
-
self._case_uploader = None
|
|
290
287
|
self._legacy_dicom_uploader = None
|
|
291
|
-
self.
|
|
292
|
-
self._project_import = None
|
|
288
|
+
self._tasks_refactor = None
|
|
293
289
|
self.discriminator = None
|
|
294
290
|
self.alt_discriminator = None
|
|
295
291
|
|
|
@@ -327,6 +323,8 @@ class Features(object):
|
|
|
327
323
|
self.elastic_search_primary = elastic_search_primary
|
|
328
324
|
if exchange is not None:
|
|
329
325
|
self.exchange = exchange
|
|
326
|
+
if case_uploader is not None:
|
|
327
|
+
self.case_uploader = case_uploader
|
|
330
328
|
if exchange_admin is not None:
|
|
331
329
|
self.exchange_admin = exchange_admin
|
|
332
330
|
if external_routing is not None:
|
|
@@ -371,6 +369,10 @@ class Features(object):
|
|
|
371
369
|
self.ohif_v3_default_app = ohif_v3_default_app
|
|
372
370
|
if ohif_v3_readonly is not None:
|
|
373
371
|
self.ohif_v3_readonly = ohif_v3_readonly
|
|
372
|
+
if project_export is not None:
|
|
373
|
+
self.project_export = project_export
|
|
374
|
+
if project_import is not None:
|
|
375
|
+
self.project_import = project_import
|
|
374
376
|
if project_list_uses_stats is not None:
|
|
375
377
|
self.project_list_uses_stats = project_list_uses_stats
|
|
376
378
|
if project_locking is not None:
|
|
@@ -409,18 +411,10 @@ class Features(object):
|
|
|
409
411
|
self.engine_validate_classification = engine_validate_classification
|
|
410
412
|
if virus_scan is not None:
|
|
411
413
|
self.virus_scan = virus_scan
|
|
412
|
-
if tasks_refactor is not None:
|
|
413
|
-
self.tasks_refactor = tasks_refactor
|
|
414
|
-
if bulk_import_deid is not None:
|
|
415
|
-
self.bulk_import_deid = bulk_import_deid
|
|
416
|
-
if case_uploader is not None:
|
|
417
|
-
self.case_uploader = case_uploader
|
|
418
414
|
if legacy_dicom_uploader is not None:
|
|
419
415
|
self.legacy_dicom_uploader = legacy_dicom_uploader
|
|
420
|
-
if
|
|
421
|
-
self.
|
|
422
|
-
if project_import is not None:
|
|
423
|
-
self.project_import = project_import
|
|
416
|
+
if tasks_refactor is not None:
|
|
417
|
+
self.tasks_refactor = tasks_refactor
|
|
424
418
|
|
|
425
419
|
@property
|
|
426
420
|
def api_enabled_gear_rules(self):
|
|
@@ -779,6 +773,27 @@ class Features(object):
|
|
|
779
773
|
|
|
780
774
|
self._exchange = exchange
|
|
781
775
|
|
|
776
|
+
@property
|
|
777
|
+
def case_uploader(self):
|
|
778
|
+
"""Gets the case_uploader of this Features.
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
:return: The case_uploader of this Features.
|
|
782
|
+
:rtype: bool
|
|
783
|
+
"""
|
|
784
|
+
return self._case_uploader
|
|
785
|
+
|
|
786
|
+
@case_uploader.setter
|
|
787
|
+
def case_uploader(self, case_uploader):
|
|
788
|
+
"""Sets the case_uploader of this Features.
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
:param case_uploader: The case_uploader of this Features. # noqa: E501
|
|
792
|
+
:type: bool
|
|
793
|
+
"""
|
|
794
|
+
|
|
795
|
+
self._case_uploader = case_uploader
|
|
796
|
+
|
|
782
797
|
@property
|
|
783
798
|
def exchange_admin(self):
|
|
784
799
|
"""Gets the exchange_admin of this Features.
|
|
@@ -1241,6 +1256,48 @@ class Features(object):
|
|
|
1241
1256
|
|
|
1242
1257
|
self._ohif_v3_readonly = ohif_v3_readonly
|
|
1243
1258
|
|
|
1259
|
+
@property
|
|
1260
|
+
def project_export(self):
|
|
1261
|
+
"""Gets the project_export of this Features.
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
:return: The project_export of this Features.
|
|
1265
|
+
:rtype: bool
|
|
1266
|
+
"""
|
|
1267
|
+
return self._project_export
|
|
1268
|
+
|
|
1269
|
+
@project_export.setter
|
|
1270
|
+
def project_export(self, project_export):
|
|
1271
|
+
"""Sets the project_export of this Features.
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
:param project_export: The project_export of this Features. # noqa: E501
|
|
1275
|
+
:type: bool
|
|
1276
|
+
"""
|
|
1277
|
+
|
|
1278
|
+
self._project_export = project_export
|
|
1279
|
+
|
|
1280
|
+
@property
|
|
1281
|
+
def project_import(self):
|
|
1282
|
+
"""Gets the project_import of this Features.
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
:return: The project_import of this Features.
|
|
1286
|
+
:rtype: bool
|
|
1287
|
+
"""
|
|
1288
|
+
return self._project_import
|
|
1289
|
+
|
|
1290
|
+
@project_import.setter
|
|
1291
|
+
def project_import(self, project_import):
|
|
1292
|
+
"""Sets the project_import of this Features.
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
:param project_import: The project_import of this Features. # noqa: E501
|
|
1296
|
+
:type: bool
|
|
1297
|
+
"""
|
|
1298
|
+
|
|
1299
|
+
self._project_import = project_import
|
|
1300
|
+
|
|
1244
1301
|
@property
|
|
1245
1302
|
def project_list_uses_stats(self):
|
|
1246
1303
|
"""Gets the project_list_uses_stats of this Features.
|
|
@@ -1640,69 +1697,6 @@ class Features(object):
|
|
|
1640
1697
|
|
|
1641
1698
|
self._virus_scan = virus_scan
|
|
1642
1699
|
|
|
1643
|
-
@property
|
|
1644
|
-
def tasks_refactor(self):
|
|
1645
|
-
"""Gets the tasks_refactor of this Features.
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
:return: The tasks_refactor of this Features.
|
|
1649
|
-
:rtype: bool
|
|
1650
|
-
"""
|
|
1651
|
-
return self._tasks_refactor
|
|
1652
|
-
|
|
1653
|
-
@tasks_refactor.setter
|
|
1654
|
-
def tasks_refactor(self, tasks_refactor):
|
|
1655
|
-
"""Sets the tasks_refactor of this Features.
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
:param tasks_refactor: The tasks_refactor of this Features. # noqa: E501
|
|
1659
|
-
:type: bool
|
|
1660
|
-
"""
|
|
1661
|
-
|
|
1662
|
-
self._tasks_refactor = tasks_refactor
|
|
1663
|
-
|
|
1664
|
-
@property
|
|
1665
|
-
def bulk_import_deid(self):
|
|
1666
|
-
"""Gets the bulk_import_deid of this Features.
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
:return: The bulk_import_deid of this Features.
|
|
1670
|
-
:rtype: bool
|
|
1671
|
-
"""
|
|
1672
|
-
return self._bulk_import_deid
|
|
1673
|
-
|
|
1674
|
-
@bulk_import_deid.setter
|
|
1675
|
-
def bulk_import_deid(self, bulk_import_deid):
|
|
1676
|
-
"""Sets the bulk_import_deid of this Features.
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
:param bulk_import_deid: The bulk_import_deid of this Features. # noqa: E501
|
|
1680
|
-
:type: bool
|
|
1681
|
-
"""
|
|
1682
|
-
|
|
1683
|
-
self._bulk_import_deid = bulk_import_deid
|
|
1684
|
-
|
|
1685
|
-
@property
|
|
1686
|
-
def case_uploader(self):
|
|
1687
|
-
"""Gets the case_uploader of this Features.
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
:return: The case_uploader of this Features.
|
|
1691
|
-
:rtype: bool
|
|
1692
|
-
"""
|
|
1693
|
-
return self._case_uploader
|
|
1694
|
-
|
|
1695
|
-
@case_uploader.setter
|
|
1696
|
-
def case_uploader(self, case_uploader):
|
|
1697
|
-
"""Sets the case_uploader of this Features.
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
:param case_uploader: The case_uploader of this Features. # noqa: E501
|
|
1701
|
-
:type: bool
|
|
1702
|
-
"""
|
|
1703
|
-
|
|
1704
|
-
self._case_uploader = case_uploader
|
|
1705
|
-
|
|
1706
1700
|
@property
|
|
1707
1701
|
def legacy_dicom_uploader(self):
|
|
1708
1702
|
"""Gets the legacy_dicom_uploader of this Features.
|
|
@@ -1725,46 +1719,25 @@ class Features(object):
|
|
|
1725
1719
|
self._legacy_dicom_uploader = legacy_dicom_uploader
|
|
1726
1720
|
|
|
1727
1721
|
@property
|
|
1728
|
-
def
|
|
1729
|
-
"""Gets the
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
:return: The project_export of this Features.
|
|
1733
|
-
:rtype: bool
|
|
1734
|
-
"""
|
|
1735
|
-
return self._project_export
|
|
1736
|
-
|
|
1737
|
-
@project_export.setter
|
|
1738
|
-
def project_export(self, project_export):
|
|
1739
|
-
"""Sets the project_export of this Features.
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
:param project_export: The project_export of this Features. # noqa: E501
|
|
1743
|
-
:type: bool
|
|
1744
|
-
"""
|
|
1745
|
-
|
|
1746
|
-
self._project_export = project_export
|
|
1747
|
-
|
|
1748
|
-
@property
|
|
1749
|
-
def project_import(self):
|
|
1750
|
-
"""Gets the project_import of this Features.
|
|
1722
|
+
def tasks_refactor(self):
|
|
1723
|
+
"""Gets the tasks_refactor of this Features.
|
|
1751
1724
|
|
|
1752
1725
|
|
|
1753
|
-
:return: The
|
|
1726
|
+
:return: The tasks_refactor of this Features.
|
|
1754
1727
|
:rtype: bool
|
|
1755
1728
|
"""
|
|
1756
|
-
return self.
|
|
1729
|
+
return self._tasks_refactor
|
|
1757
1730
|
|
|
1758
|
-
@
|
|
1759
|
-
def
|
|
1760
|
-
"""Sets the
|
|
1731
|
+
@tasks_refactor.setter
|
|
1732
|
+
def tasks_refactor(self, tasks_refactor):
|
|
1733
|
+
"""Sets the tasks_refactor of this Features.
|
|
1761
1734
|
|
|
1762
1735
|
|
|
1763
|
-
:param
|
|
1736
|
+
:param tasks_refactor: The tasks_refactor of this Features. # noqa: E501
|
|
1764
1737
|
:type: bool
|
|
1765
1738
|
"""
|
|
1766
1739
|
|
|
1767
|
-
self.
|
|
1740
|
+
self._tasks_refactor = tasks_refactor
|
|
1768
1741
|
|
|
1769
1742
|
|
|
1770
1743
|
@staticmethod
|
|
@@ -28,7 +28,6 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
|
|
29
29
|
from flywheel.models.locked import Locked # noqa: F401,E501
|
|
30
30
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
31
|
-
from flywheel.models.project_group_info import ProjectGroupInfo # noqa: F401,E501
|
|
32
31
|
from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
|
|
33
32
|
from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
|
|
34
33
|
from flywheel.models.project_stats import ProjectStats # noqa: F401,E501
|
|
@@ -26,7 +26,6 @@ if TYPE_CHECKING:
|
|
|
26
26
|
from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
|
|
27
27
|
from flywheel.models.locked import Locked # noqa: F401,E501
|
|
28
28
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
29
|
-
from flywheel.models.project_group_info import ProjectGroupInfo # noqa: F401,E501
|
|
30
29
|
from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
|
|
31
30
|
from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
|
|
32
31
|
from flywheel.models.project_stats import ProjectStats # noqa: F401,E501
|
|
@@ -42,7 +41,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
42
41
|
'label': 'str',
|
|
43
42
|
'description': 'str',
|
|
44
43
|
'group': 'str',
|
|
45
|
-
'group_info': 'ProjectGroupInfo',
|
|
46
44
|
'parents': 'ProjectParents',
|
|
47
45
|
'editions': 'Edition',
|
|
48
46
|
'providers': 'Providers',
|
|
@@ -74,7 +72,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
74
72
|
'label': 'label',
|
|
75
73
|
'description': 'description',
|
|
76
74
|
'group': 'group',
|
|
77
|
-
'group_info': 'group_info',
|
|
78
75
|
'parents': 'parents',
|
|
79
76
|
'editions': 'editions',
|
|
80
77
|
'providers': 'providers',
|
|
@@ -106,7 +103,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
106
103
|
'label': 'label',
|
|
107
104
|
'description': 'description',
|
|
108
105
|
'group': 'group',
|
|
109
|
-
'group_info': 'group_info',
|
|
110
106
|
'parents': 'parents',
|
|
111
107
|
'editions': 'editions',
|
|
112
108
|
'providers': 'providers',
|
|
@@ -133,7 +129,7 @@ class ProjectListOutput(ProjectMixin):
|
|
|
133
129
|
'settings': 'settings'
|
|
134
130
|
}
|
|
135
131
|
|
|
136
|
-
def __init__(self, id=None, label=None, description=None, group=None,
|
|
132
|
+
def __init__(self, id=None, label=None, description=None, group=None, parents=None, editions=None, providers=None, ldap_sync=None, permissions=None, files=None, info=None, info_exists=None, notes=None, tags=None, templates=None, join_origin=None, analyses=None, locked=None, copyable=None, copy_status=None, copy_failure_reason=None, copy_of=None, original_copy_of=None, stats=None, revision=None, modified=None, created=None, settings=None): # noqa: E501
|
|
137
133
|
"""ProjectListOutput - a model defined in Swagger"""
|
|
138
134
|
super(ProjectListOutput, self).__init__()
|
|
139
135
|
|
|
@@ -141,7 +137,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
141
137
|
self._label = None
|
|
142
138
|
self._description = None
|
|
143
139
|
self._group = None
|
|
144
|
-
self._group_info = None
|
|
145
140
|
self._parents = None
|
|
146
141
|
self._editions = None
|
|
147
142
|
self._providers = None
|
|
@@ -174,8 +169,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
174
169
|
self.label = label
|
|
175
170
|
self.description = description
|
|
176
171
|
self.group = group
|
|
177
|
-
if group_info is not None:
|
|
178
|
-
self.group_info = group_info
|
|
179
172
|
self.parents = parents
|
|
180
173
|
self.editions = editions
|
|
181
174
|
self.providers = providers
|
|
@@ -279,7 +272,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
279
272
|
def group(self):
|
|
280
273
|
"""Gets the group of this ProjectListOutput.
|
|
281
274
|
|
|
282
|
-
Use `group_info` instead
|
|
283
275
|
|
|
284
276
|
:return: The group of this ProjectListOutput.
|
|
285
277
|
:rtype: str
|
|
@@ -290,7 +282,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
290
282
|
def group(self, group):
|
|
291
283
|
"""Sets the group of this ProjectListOutput.
|
|
292
284
|
|
|
293
|
-
Use `group_info` instead
|
|
294
285
|
|
|
295
286
|
:param group: The group of this ProjectListOutput. # noqa: E501
|
|
296
287
|
:type: str
|
|
@@ -298,27 +289,6 @@ class ProjectListOutput(ProjectMixin):
|
|
|
298
289
|
|
|
299
290
|
self._group = group
|
|
300
291
|
|
|
301
|
-
@property
|
|
302
|
-
def group_info(self):
|
|
303
|
-
"""Gets the group_info of this ProjectListOutput.
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
:return: The group_info of this ProjectListOutput.
|
|
307
|
-
:rtype: ProjectGroupInfo
|
|
308
|
-
"""
|
|
309
|
-
return self._group_info
|
|
310
|
-
|
|
311
|
-
@group_info.setter
|
|
312
|
-
def group_info(self, group_info):
|
|
313
|
-
"""Sets the group_info of this ProjectListOutput.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
:param group_info: The group_info of this ProjectListOutput. # noqa: E501
|
|
317
|
-
:type: ProjectGroupInfo
|
|
318
|
-
"""
|
|
319
|
-
|
|
320
|
-
self._group_info = group_info
|
|
321
|
-
|
|
322
292
|
@property
|
|
323
293
|
def parents(self):
|
|
324
294
|
"""Gets the parents of this ProjectListOutput.
|
flywheel/models/project_node.py
CHANGED
|
@@ -27,7 +27,6 @@ if TYPE_CHECKING:
|
|
|
27
27
|
from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
|
|
28
28
|
from flywheel.models.locked import Locked # noqa: F401,E501
|
|
29
29
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
30
|
-
from flywheel.models.project_group_info import ProjectGroupInfo # noqa: F401,E501
|
|
31
30
|
from flywheel.models.project_output import ProjectOutput # noqa: F401,E501
|
|
32
31
|
from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
|
|
33
32
|
from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
|
|
@@ -27,7 +27,6 @@ if TYPE_CHECKING:
|
|
|
27
27
|
from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
|
|
28
28
|
from flywheel.models.locked import Locked # noqa: F401,E501
|
|
29
29
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
30
|
-
from flywheel.models.project_group_info import ProjectGroupInfo # noqa: F401,E501
|
|
31
30
|
from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
|
|
32
31
|
from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
|
|
33
32
|
from flywheel.models.project_stats import ProjectStats # noqa: F401,E501
|
|
@@ -43,7 +42,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
43
42
|
'label': 'str',
|
|
44
43
|
'description': 'str',
|
|
45
44
|
'group': 'str',
|
|
46
|
-
'group_info': 'ProjectGroupInfo',
|
|
47
45
|
'parents': 'ProjectParents',
|
|
48
46
|
'editions': 'Edition',
|
|
49
47
|
'providers': 'Providers',
|
|
@@ -75,7 +73,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
75
73
|
'label': 'label',
|
|
76
74
|
'description': 'description',
|
|
77
75
|
'group': 'group',
|
|
78
|
-
'group_info': 'group_info',
|
|
79
76
|
'parents': 'parents',
|
|
80
77
|
'editions': 'editions',
|
|
81
78
|
'providers': 'providers',
|
|
@@ -107,7 +104,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
107
104
|
'label': 'label',
|
|
108
105
|
'description': 'description',
|
|
109
106
|
'group': 'group',
|
|
110
|
-
'group_info': 'group_info',
|
|
111
107
|
'parents': 'parents',
|
|
112
108
|
'editions': 'editions',
|
|
113
109
|
'providers': 'providers',
|
|
@@ -134,7 +130,7 @@ class ProjectOutput(ProjectMixin):
|
|
|
134
130
|
'stats': 'stats'
|
|
135
131
|
}
|
|
136
132
|
|
|
137
|
-
def __init__(self, id=None, label=None, description=None, group=None,
|
|
133
|
+
def __init__(self, id=None, label=None, description=None, group=None, parents=None, editions=None, providers=None, ldap_sync=None, permissions=None, files=None, info=None, info_exists=None, notes=None, tags=None, templates=None, join_origin=None, analyses=None, settings=None, locked=None, revision=None, modified=None, created=None, copyable=None, copy_status=None, copy_failure_reason=None, copy_of=None, original_copy_of=None, stats=None): # noqa: E501
|
|
138
134
|
"""ProjectOutput - a model defined in Swagger"""
|
|
139
135
|
super(ProjectOutput, self).__init__()
|
|
140
136
|
|
|
@@ -142,7 +138,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
142
138
|
self._label = None
|
|
143
139
|
self._description = None
|
|
144
140
|
self._group = None
|
|
145
|
-
self._group_info = None
|
|
146
141
|
self._parents = None
|
|
147
142
|
self._editions = None
|
|
148
143
|
self._providers = None
|
|
@@ -175,8 +170,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
175
170
|
self.label = label
|
|
176
171
|
self.description = description
|
|
177
172
|
self.group = group
|
|
178
|
-
if group_info is not None:
|
|
179
|
-
self.group_info = group_info
|
|
180
173
|
self.parents = parents
|
|
181
174
|
self.editions = editions
|
|
182
175
|
self.providers = providers
|
|
@@ -279,7 +272,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
279
272
|
def group(self):
|
|
280
273
|
"""Gets the group of this ProjectOutput.
|
|
281
274
|
|
|
282
|
-
Use `group_info` instead
|
|
283
275
|
|
|
284
276
|
:return: The group of this ProjectOutput.
|
|
285
277
|
:rtype: str
|
|
@@ -290,7 +282,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
290
282
|
def group(self, group):
|
|
291
283
|
"""Sets the group of this ProjectOutput.
|
|
292
284
|
|
|
293
|
-
Use `group_info` instead
|
|
294
285
|
|
|
295
286
|
:param group: The group of this ProjectOutput. # noqa: E501
|
|
296
287
|
:type: str
|
|
@@ -298,27 +289,6 @@ class ProjectOutput(ProjectMixin):
|
|
|
298
289
|
|
|
299
290
|
self._group = group
|
|
300
291
|
|
|
301
|
-
@property
|
|
302
|
-
def group_info(self):
|
|
303
|
-
"""Gets the group_info of this ProjectOutput.
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
:return: The group_info of this ProjectOutput.
|
|
307
|
-
:rtype: ProjectGroupInfo
|
|
308
|
-
"""
|
|
309
|
-
return self._group_info
|
|
310
|
-
|
|
311
|
-
@group_info.setter
|
|
312
|
-
def group_info(self, group_info):
|
|
313
|
-
"""Sets the group_info of this ProjectOutput.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
:param group_info: The group_info of this ProjectOutput. # noqa: E501
|
|
317
|
-
:type: ProjectGroupInfo
|
|
318
|
-
"""
|
|
319
|
-
|
|
320
|
-
self._group_info = group_info
|
|
321
|
-
|
|
322
292
|
@property
|
|
323
293
|
def parents(self):
|
|
324
294
|
"""Gets the parents of this ProjectOutput.
|
|
@@ -28,7 +28,6 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
|
|
29
29
|
from flywheel.models.locked import Locked # noqa: F401,E501
|
|
30
30
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
31
|
-
from flywheel.models.project_group_info import ProjectGroupInfo # noqa: F401,E501
|
|
32
31
|
from flywheel.models.project_output import ProjectOutput # noqa: F401,E501
|
|
33
32
|
from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
|
|
34
33
|
from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
flywheel/__init__.py,sha256=
|
|
2
|
-
flywheel/api_client.py,sha256=
|
|
1
|
+
flywheel/__init__.py,sha256=LHUIsO-egklh4QhjzHrL_o5vuItjBcG3XOd65MFj87g,48931
|
|
2
|
+
flywheel/api_client.py,sha256=iCGSR2l8LuLZNDmmOilnJoEFKdz2Wed9bZr2Fr3s56U,29574
|
|
3
3
|
flywheel/client.py,sha256=LMvn2aSdtn-waCpXzux8FKJxEB0469SJg5ZNnB5BqTc,10476
|
|
4
|
-
flywheel/configuration.py,sha256=
|
|
4
|
+
flywheel/configuration.py,sha256=DaS2o8JliehhN3umqfu4G5RGGqrFT-N10KCYHFPpPn4,10830
|
|
5
5
|
flywheel/drone_login.py,sha256=KeDUgLynS1Xq4_7AJUALyxSRCMPuGJMqTdFASdTsne0,2231
|
|
6
6
|
flywheel/file_spec.py,sha256=0BnFgyH0qsDxuupJG5_g9LX2cLq7JxRiSODN3HdI-ak,2220
|
|
7
7
|
flywheel/finder.py,sha256=QDnfHRsDeY4SG3-LNKsm_-Q4KLM84d6QSMSfZuvZSk0,6870
|
|
8
|
-
flywheel/flywheel.py,sha256=
|
|
8
|
+
flywheel/flywheel.py,sha256=dXc_X9urAxv98a4kuEnTKiBNvrzCjUechpHoSxwHUog,432748
|
|
9
9
|
flywheel/gear_context.py,sha256=Dd0bcpvTqo7WyRHQwsbJoY5YLn-4W9hIDF9IEu7OKqE,13580
|
|
10
10
|
flywheel/partial_reader.py,sha256=SkMgwaGZeeVaN7f9dzmVitBFnQv8ARLJgEaQP36l92s,1222
|
|
11
11
|
flywheel/rest.py,sha256=VCbDr4GrjtjfTHHQD1DVgQd8kfa_ODthZtaajNPzVF0,13756
|
|
@@ -53,7 +53,7 @@ flywheel/api/uids_api.py,sha256=MjH6i7ASSUa1VGIZVuTHIJFelWM7drswXJVhKxk05eg,5032
|
|
|
53
53
|
flywheel/api/upload_api.py,sha256=pMjW-OAIZnjqF05ym8vjPga-vYRq69aDa0zFSMUbxeU,38854
|
|
54
54
|
flywheel/api/users_api.py,sha256=JKqup4iziOgNwM7Aq7ap6F0R9h0LUd9Nxef18rSaoig,87287
|
|
55
55
|
flywheel/api/views_api.py,sha256=Xk0N-j_CRAglraip5Uw_tzDVfmW7Fy1IgTofZ_RinEI,44765
|
|
56
|
-
flywheel/models/__init__.py,sha256=
|
|
56
|
+
flywheel/models/__init__.py,sha256=IgnSoNxOAU6PradP5-qMn60bBqJ2LTPyHE8tYBt9Ql4,46379
|
|
57
57
|
flywheel/models/access_level.py,sha256=iZPluj0ovM9SmxFO1PW1j8M6F8Z80-NffJh5o7pGCxo,608
|
|
58
58
|
flywheel/models/access_permission.py,sha256=Db_r0vYllomQ_oFIwH02xYb5-UippdEOyhfCyxAVi9E,5391
|
|
59
59
|
flywheel/models/access_permission_output.py,sha256=H-yGRUOA6yD8f0lRcerNKX_mdAGrwyHcxJa9V7idJYE,5257
|
|
@@ -181,7 +181,7 @@ flywheel/models/container_reference.py,sha256=BTFgATmLkWJCgm_MgUOwAgqnBrtGz4v-na
|
|
|
181
181
|
flywheel/models/container_reference_with_label.py,sha256=v2ttR2uGfOPAwMjFiiV6-Fkyk0I7_jyPHE7e3DhVsow,6045
|
|
182
182
|
flywheel/models/container_session_parents.py,sha256=ktgLKZ-HMu2Rw0-8hu7ECQlvrDjF1j4QrvH8liYtZf0,564
|
|
183
183
|
flywheel/models/container_subject_parents.py,sha256=ZpJ0Hk5qDDeEedDoisnE5wQCGwD1I_qYKpz_jswCRAE,564
|
|
184
|
-
flywheel/models/container_type.py,sha256=
|
|
184
|
+
flywheel/models/container_type.py,sha256=nDVby9nLmwCSy2zhyz3YvKgtayB7ohTOfCE3EGSldkg,884
|
|
185
185
|
flywheel/models/container_uidcheck.py,sha256=OQkZvJj-592QIK-cmTj3dl68Tqbx8dpl2sAljEb-Yek,7138
|
|
186
186
|
flywheel/models/container_update.py,sha256=KVouZ6jEeGXigE65oJuFJDvrMAxWENZPiqTpwifgEF4,3949
|
|
187
187
|
flywheel/models/context_input.py,sha256=B4B5-liq4ZtSQGCUVxLmsbm5sPbf7bV1ZeSZdegCS50,5682
|
|
@@ -193,13 +193,13 @@ flywheel/models/core_models_audit_trail_modify_report_input.py,sha256=PlelL62P2e
|
|
|
193
193
|
flywheel/models/core_models_common_source.py,sha256=-0lySCmMSCViBySTjItAAPvxIcAB1o8rCDJgTscaqfs,5094
|
|
194
194
|
flywheel/models/core_models_jobs_api_key_input.py,sha256=WwnQ939F941iWpN0dd-rSdB1o0c03nhyLOSY_QkZBuo,5221
|
|
195
195
|
flywheel/models/core_models_search_parent_type.py,sha256=zD4mxK7yn1hvwzHyPBx8rECK4QyFJa0Bo4Iae2ianL0,705
|
|
196
|
-
flywheel/models/core_workflows_form_responses_models_form_parents.py,sha256
|
|
196
|
+
flywheel/models/core_workflows_form_responses_models_form_parents.py,sha256=GIQwhWUAcX_dbOJKYKQEBCFJqRm6cCpS-wBhBftV2j8,4787
|
|
197
197
|
flywheel/models/core_workflows_form_responses_models_form_response_output.py,sha256=Wb9tNgvGhD0U8bwrHHf2OJF_7vGugZeWg9e3yPbiPo8,13463
|
|
198
198
|
flywheel/models/core_workflows_reader_models_reader_task_parents.py,sha256=MV-wFKwa5dYpRrJuHsgjsGwIFQAVINzwyJ8Iz4wBi4M,8446
|
|
199
199
|
flywheel/models/creds.py,sha256=JXQjA1Epy-gq-k_FjlHbMJzXWoyEP390vjqJwuhaamA,3909
|
|
200
200
|
flywheel/models/curator.py,sha256=_WDJNU8BhVVkRlc4xTCAlLWPUzs5QiW6rnnN0lR8xlU,5759
|
|
201
201
|
flywheel/models/current_user_output.py,sha256=dNltOtwQSYrF2nq3kqQknZdTVbznU04d94uVmRLKI_I,18553
|
|
202
|
-
flywheel/models/custom_field.py,sha256=
|
|
202
|
+
flywheel/models/custom_field.py,sha256=aomoFpuJVInfvTgbKk1PaC-80sCXb2sD6rNx1Yv5dXs,11781
|
|
203
203
|
flywheel/models/custom_form.py,sha256=351pcHOuiC_Ckj2De5fYfMWJoW1uuNseRfj90Hm1Zqo,6496
|
|
204
204
|
flywheel/models/cvat_info.py,sha256=N0ji6ZrIyXyd141_pjjVMC13yb1uo3L2Schc9WNIxHY,7337
|
|
205
205
|
flywheel/models/cvat_settings.py,sha256=psaVgwrZ5Kct5JznAKoatZVk-OM3nh5DcbLpk7-_I4I,7721
|
|
@@ -260,7 +260,7 @@ flywheel/models/egress_provider_id.py,sha256=QGoKk-kNId2a-gx17qAYgTMdZaXGaHmbQBf
|
|
|
260
260
|
flywheel/models/exchange_storage.py,sha256=8ssoHtwR5DCSilQzpLKCuvLyJfF71XDaQ-TVdtZ861U,6752
|
|
261
261
|
flywheel/models/executor_info.py,sha256=V7Pr_5mSKoRXtbCaeCGwyqZB38ieTRPb1pKaw6Q49Do,9249
|
|
262
262
|
flywheel/models/export_templates.py,sha256=B-fclf_Y8kdw-8cQlhDX-pGjKBRqXx8-fzcgYgzjUVg,5554
|
|
263
|
-
flywheel/models/features.py,sha256=
|
|
263
|
+
flywheel/models/features.py,sha256=GqnePDHC-8V8hlcJhq7Nw10STziTSBoI4dBTiYurKa8,54124
|
|
264
264
|
flywheel/models/field_change.py,sha256=VQKWoD-BVXaZeurCHlreI7CQkxa8zoRcO5LbO5_GPg0,7086
|
|
265
265
|
flywheel/models/field_change_log_document.py,sha256=rKVsMFqN6KnT6UrfCk7fzbxfoPkfxvSkHBJ2vTFxOgk,7146
|
|
266
266
|
flywheel/models/field_type.py,sha256=gVZnZUUZYCU9DGI9lHGoxdQCgA_tJiliQiW5D0MjH00,792
|
|
@@ -512,22 +512,21 @@ flywheel/models/project_aet.py,sha256=s5H10KKjUuSQgEsFasTm_8UTXFaj5nJaFINbGwyzcm
|
|
|
512
512
|
flywheel/models/project_aet_input.py,sha256=gSWAsN-uMKwodc9L8hlR9cAlc5azA8SU9-uqSrMqq-A,6638
|
|
513
513
|
flywheel/models/project_catalog_list_output.py,sha256=Yu389Tsc7tFDE3t3UdloDSjC5_prUzh8nU3LdkjWbUc,575
|
|
514
514
|
flywheel/models/project_contact.py,sha256=uvVfLKfnkd_ALWtiCOM0dIlNx3JO8JqVnFYijKCCtPE,5299
|
|
515
|
-
flywheel/models/project_container_output.py,sha256=
|
|
515
|
+
flywheel/models/project_container_output.py,sha256=dy6Hovqt7eGh18O5WwMbn83fkeONfqwiH9ypIypLWzg,1653
|
|
516
516
|
flywheel/models/project_copy_input.py,sha256=sEPXoa98uljS3Gh_uWvmjHHGPVkUDtV2MOpEM6r-Ixk,6792
|
|
517
517
|
flywheel/models/project_copy_output.py,sha256=ztsyFWN6-gFPTiV7q0QkMPg8H1e53QNBt38JCHdhZ1g,5972
|
|
518
518
|
flywheel/models/project_counters.py,sha256=c6Pdrusda51PC_MZXbz2QdHlarlOEFoa-buWt5R9oVY,9419
|
|
519
|
-
flywheel/models/project_group_info.py,sha256=Ln7OT61rLTeQvQTQLpplmgas4NqkZem5bZoKz9GZnOE,5079
|
|
520
519
|
flywheel/models/project_hierarchy_input.py,sha256=6fsu-ldFyOmao2FPzmlYERw1OaXKV20g9jQ8b06o1jc,8034
|
|
521
520
|
flywheel/models/project_hierarchy_output.py,sha256=dpFbZ_MeBF4vf1hwNiQPJjt7gSpAnrugt6dSQb73BDg,6527
|
|
522
521
|
flywheel/models/project_hierarchy_upsert_input.py,sha256=rWlxR2zQHtY4pDe0cIK0bj90-J0rvJmlZ3zKLOwtu0g,590
|
|
523
522
|
flywheel/models/project_hierarchy_upsert_output.py,sha256=EPhjXmQJ5V_u2SbhpKAS2YJi-t8oh1jCq2foBA4tkq4,594
|
|
524
523
|
flywheel/models/project_input.py,sha256=PpbwRjtsEmGM8apnl8mM2DiMWvhuW4QCaNUMFoxvSEk,10219
|
|
525
524
|
flywheel/models/project_institution.py,sha256=ioDZNwrJ0j63iBMYyrdv9dMLqeRFWwf05NEpIzeZymw,5317
|
|
526
|
-
flywheel/models/project_list_output.py,sha256=
|
|
525
|
+
flywheel/models/project_list_output.py,sha256=tDk_FwfRXwK6b7SuiCc771QpfRwYfypcGKaDzwihi_I,24265
|
|
527
526
|
flywheel/models/project_locking_reason.py,sha256=Qrt65li9eYkVwnPor2sxdORbClCLe62rob2s4CGjdc8,743
|
|
528
527
|
flywheel/models/project_modify.py,sha256=pPU09c0d7Sb8zNCgOdcPldT68seD2gzaDq2WMvuRwaI,11231
|
|
529
|
-
flywheel/models/project_node.py,sha256=
|
|
530
|
-
flywheel/models/project_output.py,sha256=
|
|
528
|
+
flywheel/models/project_node.py,sha256=17kDRvqXHpf7ftsVgRfMiAhyk4d6EHQp_HfAQOPxuQU,1720
|
|
529
|
+
flywheel/models/project_output.py,sha256=q7yF-UTQSVhahN350bDWsA3BUQ0nUcLj_R8iEoehwco,23922
|
|
531
530
|
flywheel/models/project_parents.py,sha256=qFJQLdHRaMoC4XeY9g8yaRl844RyaBnQtWilosPe6aI,4710
|
|
532
531
|
flywheel/models/project_report.py,sha256=i_59A9SsTwefJVBjX2S8b4NTMLvrTjvS0ZVck7kc2Qo,13010
|
|
533
532
|
flywheel/models/project_report_list.py,sha256=ykw0fxY30gRyp1tb6Zc9xMh9BphrxH44OESr86KXa0A,4784
|
|
@@ -638,7 +637,7 @@ flywheel/models/search_group_response.py,sha256=vX0Cg7H-ZvhLqK4dSNH6eiqfotd3sBkn
|
|
|
638
637
|
flywheel/models/search_parent_acquisition.py,sha256=0LWSsj_n_pPNMA7c3ZP-_JDzRR03GV6Q9OOdMQ5vW34,1699
|
|
639
638
|
flywheel/models/search_parent_analysis.py,sha256=nLO7dccBPSz0alh47XK-RtVyZmVZ1ZWaEiscG0jrEXg,1679
|
|
640
639
|
flywheel/models/search_parent_collection.py,sha256=op2ANoU4YWEaRtvH0kfA82BEypjnrUqexNQs4bJsJIQ,1602
|
|
641
|
-
flywheel/models/search_parent_project.py,sha256=
|
|
640
|
+
flywheel/models/search_parent_project.py,sha256=lXe5_RHa4g_i-jK1iOgbXvGjVBIO9Gsq2y7NzcQhBss,2212
|
|
642
641
|
flywheel/models/search_parent_response.py,sha256=_3D7Hk2cEsKGLvq8xxqqqU5G_gE5g96bwYv9j0ylAlM,6022
|
|
643
642
|
flywheel/models/search_parent_session.py,sha256=G4PPMFeahHlb1gSlqBszSYowScMLmymBxFjH1MwYRsw,1747
|
|
644
643
|
flywheel/models/search_parent_subject.py,sha256=r2jhwbCtJfKDqCmqxJMQblxvex5N9RFgqnRNFVINuw0,1737
|
|
@@ -767,7 +766,7 @@ flywheel/models/virus_scan_state.py,sha256=QveEYn07Ti3oUeJJsmKOzS1dSlXcARQd_Ot7z
|
|
|
767
766
|
flywheel/models/work_in_progress_features.py,sha256=XT-_BKodTAJ4peRlnvNK-dRYvjAjj3GLcXp8bSxmV9Q,3977
|
|
768
767
|
flywheel/models/zipfile_info.py,sha256=Y4XGk2-azfJoAoI5kIro9EhzfojQW27hdeuYCoIgY-Y,5298
|
|
769
768
|
flywheel/models/zipfile_member_info.py,sha256=gBqT8E3jVVwSXExyEmZA5AekBO6bINcVFixtP9bQMxo,6379
|
|
770
|
-
flywheel_sdk-21.3.
|
|
771
|
-
flywheel_sdk-21.3.
|
|
772
|
-
flywheel_sdk-21.3.
|
|
773
|
-
flywheel_sdk-21.3.
|
|
769
|
+
flywheel_sdk-21.3.0rc0.dist-info/METADATA,sha256=gvOzZsqgdAjzy6OjMfliMaXxNrpfEyGAOf9XFFWbX40,1100
|
|
770
|
+
flywheel_sdk-21.3.0rc0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
771
|
+
flywheel_sdk-21.3.0rc0.dist-info/licenses/LICENSE.txt,sha256=6ZOEPIdNnRz8JrhEV49bDqjdyJwIUCL2hR-1ct5iDvs,1057
|
|
772
|
+
flywheel_sdk-21.3.0rc0.dist-info/RECORD,,
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Flywheel
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 0.0.1
|
|
9
|
-
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## NOTE: This file is auto generated by the swagger code generator program.
|
|
15
|
-
## Do not edit the file manually.
|
|
16
|
-
|
|
17
|
-
import pprint
|
|
18
|
-
import re # noqa: F401
|
|
19
|
-
import six
|
|
20
|
-
from typing import TYPE_CHECKING
|
|
21
|
-
|
|
22
|
-
class ProjectGroupInfo(object):
|
|
23
|
-
|
|
24
|
-
swagger_types = {
|
|
25
|
-
'id': 'str',
|
|
26
|
-
'label': 'str'
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
attribute_map = {
|
|
30
|
-
'id': '_id',
|
|
31
|
-
'label': 'label'
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
rattribute_map = {
|
|
35
|
-
'_id': 'id',
|
|
36
|
-
'label': 'label'
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
def __init__(self, id=None, label=None): # noqa: E501
|
|
40
|
-
"""ProjectGroupInfo - a model defined in Swagger"""
|
|
41
|
-
super(ProjectGroupInfo, self).__init__()
|
|
42
|
-
|
|
43
|
-
self._id = None
|
|
44
|
-
self._label = None
|
|
45
|
-
self.discriminator = None
|
|
46
|
-
self.alt_discriminator = None
|
|
47
|
-
|
|
48
|
-
self.id = id
|
|
49
|
-
if label is not None:
|
|
50
|
-
self.label = label
|
|
51
|
-
|
|
52
|
-
@property
|
|
53
|
-
def id(self):
|
|
54
|
-
"""Gets the id of this ProjectGroupInfo.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
:return: The id of this ProjectGroupInfo.
|
|
58
|
-
:rtype: str
|
|
59
|
-
"""
|
|
60
|
-
return self._id
|
|
61
|
-
|
|
62
|
-
@id.setter
|
|
63
|
-
def id(self, id):
|
|
64
|
-
"""Sets the id of this ProjectGroupInfo.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
:param id: The id of this ProjectGroupInfo. # noqa: E501
|
|
68
|
-
:type: str
|
|
69
|
-
"""
|
|
70
|
-
|
|
71
|
-
self._id = id
|
|
72
|
-
|
|
73
|
-
@property
|
|
74
|
-
def label(self):
|
|
75
|
-
"""Gets the label of this ProjectGroupInfo.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
:return: The label of this ProjectGroupInfo.
|
|
79
|
-
:rtype: str
|
|
80
|
-
"""
|
|
81
|
-
return self._label
|
|
82
|
-
|
|
83
|
-
@label.setter
|
|
84
|
-
def label(self, label):
|
|
85
|
-
"""Sets the label of this ProjectGroupInfo.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:param label: The label of this ProjectGroupInfo. # noqa: E501
|
|
89
|
-
:type: str
|
|
90
|
-
"""
|
|
91
|
-
|
|
92
|
-
self._label = label
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
@staticmethod
|
|
96
|
-
def positional_to_model(value):
|
|
97
|
-
"""Converts a positional argument to a model value"""
|
|
98
|
-
return value
|
|
99
|
-
|
|
100
|
-
def return_value(self):
|
|
101
|
-
"""Unwraps return value from model"""
|
|
102
|
-
return self
|
|
103
|
-
|
|
104
|
-
def to_dict(self):
|
|
105
|
-
"""Returns the model properties as a dict"""
|
|
106
|
-
result = {}
|
|
107
|
-
|
|
108
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
|
109
|
-
value = getattr(self, attr)
|
|
110
|
-
if isinstance(value, list):
|
|
111
|
-
result[attr] = list(map(
|
|
112
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
-
value
|
|
114
|
-
))
|
|
115
|
-
elif hasattr(value, "to_dict"):
|
|
116
|
-
result[attr] = value.to_dict()
|
|
117
|
-
elif isinstance(value, dict):
|
|
118
|
-
result[attr] = dict(map(
|
|
119
|
-
lambda item: (item[0], item[1].to_dict())
|
|
120
|
-
if hasattr(item[1], "to_dict") else item,
|
|
121
|
-
value.items()
|
|
122
|
-
))
|
|
123
|
-
else:
|
|
124
|
-
result[attr] = value
|
|
125
|
-
|
|
126
|
-
return result
|
|
127
|
-
|
|
128
|
-
def to_str(self):
|
|
129
|
-
"""Returns the string representation of the model"""
|
|
130
|
-
return pprint.pformat(self.to_dict())
|
|
131
|
-
|
|
132
|
-
def __repr__(self):
|
|
133
|
-
"""For `print` and `pprint`"""
|
|
134
|
-
return self.to_str()
|
|
135
|
-
|
|
136
|
-
def __eq__(self, other):
|
|
137
|
-
"""Returns true if both objects are equal"""
|
|
138
|
-
if not isinstance(other, ProjectGroupInfo):
|
|
139
|
-
return False
|
|
140
|
-
|
|
141
|
-
return self.__dict__ == other.__dict__
|
|
142
|
-
|
|
143
|
-
def __ne__(self, other):
|
|
144
|
-
"""Returns true if both objects are not equal"""
|
|
145
|
-
return not self == other
|
|
146
|
-
|
|
147
|
-
# Container emulation
|
|
148
|
-
def __getitem__(self, key):
|
|
149
|
-
"""Returns the value of key"""
|
|
150
|
-
key = self._map_key(key)
|
|
151
|
-
return getattr(self, key)
|
|
152
|
-
|
|
153
|
-
def __setitem__(self, key, value):
|
|
154
|
-
"""Sets the value of key"""
|
|
155
|
-
key = self._map_key(key)
|
|
156
|
-
setattr(self, key, value)
|
|
157
|
-
|
|
158
|
-
def __contains__(self, key):
|
|
159
|
-
"""Checks if the given value is a key in this object"""
|
|
160
|
-
key = self._map_key(key, raise_on_error=False)
|
|
161
|
-
return key is not None
|
|
162
|
-
|
|
163
|
-
def keys(self):
|
|
164
|
-
"""Returns the list of json properties in the object"""
|
|
165
|
-
return self.__class__.rattribute_map.keys()
|
|
166
|
-
|
|
167
|
-
def values(self):
|
|
168
|
-
"""Returns the list of values in the object"""
|
|
169
|
-
for key in self.__class__.attribute_map.keys():
|
|
170
|
-
yield getattr(self, key)
|
|
171
|
-
|
|
172
|
-
def items(self):
|
|
173
|
-
"""Returns the list of json property to value mapping"""
|
|
174
|
-
for key, prop in self.__class__.rattribute_map.items():
|
|
175
|
-
yield key, getattr(self, prop)
|
|
176
|
-
|
|
177
|
-
def get(self, key, default=None):
|
|
178
|
-
"""Get the value of the provided json property, or default"""
|
|
179
|
-
key = self._map_key(key, raise_on_error=False)
|
|
180
|
-
if key:
|
|
181
|
-
return getattr(self, key, default)
|
|
182
|
-
return default
|
|
183
|
-
|
|
184
|
-
def _map_key(self, key, raise_on_error=True):
|
|
185
|
-
result = self.__class__.rattribute_map.get(key)
|
|
186
|
-
if result is None:
|
|
187
|
-
if raise_on_error:
|
|
188
|
-
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
189
|
-
return None
|
|
190
|
-
return '_' + result
|
|
File without changes
|