flywheel-sdk 20.1.0rc0__py2.py3-none-any.whl → 20.2.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 +3 -6
- flywheel/api/__init__.py +1 -0
- flywheel/api/analyses_api.py +1446 -346
- flywheel/api/container_type_api.py +135 -0
- flywheel/api/dataexplorer_api.py +90 -0
- flywheel/api/files_api.py +437 -0
- flywheel/api/reports_api.py +102 -0
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/finder.py +5 -2
- flywheel/flywheel.py +335 -7
- flywheel/models/__init__.py +3 -7
- flywheel/models/action.py +0 -3
- flywheel/models/container_type.py +0 -1
- flywheel/models/current_user_output.py +4 -32
- flywheel/models/features.py +16 -16
- flywheel/models/{azure_ml_resource_init_status.py → file_container_type.py} +8 -6
- flywheel/models/file_list_output.py +54 -1
- flywheel/models/file_node.py +54 -1
- flywheel/models/file_output.py +57 -4
- flywheel/models/file_upsert_output.py +54 -1
- flywheel/models/fixed_input.py +28 -1
- flywheel/models/info_container_type.py +34 -0
- flywheel/models/mixins.py +14 -2
- flywheel/models/modify_user_input.py +4 -32
- flywheel/models/origin_type.py +1 -0
- flywheel/models/project_copy_input.py +28 -1
- flywheel/models/project_settings_workspaces.py +4 -31
- flywheel/models/project_settings_workspaces_input.py +4 -32
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/METADATA +3 -3
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/RECORD +34 -37
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.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_workspace.py +0 -347
- flywheel/models/azure_ml_workspace_input.py +0 -189
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info/licenses}/LICENSE.txt +0 -0
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/top_level.txt +0 -0
|
@@ -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):
|
flywheel/models/features.py
CHANGED
|
@@ -80,7 +80,7 @@ class Features(object):
|
|
|
80
80
|
'unsafe_login': 'bool',
|
|
81
81
|
'url_access_apps': 'bool',
|
|
82
82
|
'userpilot': 'bool',
|
|
83
|
-
'
|
|
83
|
+
'engine_validate_classification': 'bool',
|
|
84
84
|
'virus_scan': 'bool',
|
|
85
85
|
'legacy_dicom_uploader': 'bool',
|
|
86
86
|
'tasks_refactor': 'bool'
|
|
@@ -146,7 +146,7 @@ class Features(object):
|
|
|
146
146
|
'unsafe_login': 'unsafe_login',
|
|
147
147
|
'url_access_apps': 'url_access_apps',
|
|
148
148
|
'userpilot': 'userpilot',
|
|
149
|
-
'
|
|
149
|
+
'engine_validate_classification': 'engine_validate_classification',
|
|
150
150
|
'virus_scan': 'virus_scan',
|
|
151
151
|
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
152
152
|
'tasks_refactor': 'tasks_refactor'
|
|
@@ -212,13 +212,13 @@ class Features(object):
|
|
|
212
212
|
'unsafe_login': 'unsafe_login',
|
|
213
213
|
'url_access_apps': 'url_access_apps',
|
|
214
214
|
'userpilot': 'userpilot',
|
|
215
|
-
'
|
|
215
|
+
'engine_validate_classification': 'engine_validate_classification',
|
|
216
216
|
'virus_scan': 'virus_scan',
|
|
217
217
|
'legacy_dicom_uploader': 'legacy_dicom_uploader',
|
|
218
218
|
'tasks_refactor': 'tasks_refactor'
|
|
219
219
|
}
|
|
220
220
|
|
|
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,
|
|
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, engine_validate_classification=False, virus_scan=False, legacy_dicom_uploader=False, tasks_refactor=False): # noqa: E501
|
|
222
222
|
"""Features - a model defined in Swagger"""
|
|
223
223
|
super(Features, self).__init__()
|
|
224
224
|
|
|
@@ -281,7 +281,7 @@ class Features(object):
|
|
|
281
281
|
self._unsafe_login = None
|
|
282
282
|
self._url_access_apps = None
|
|
283
283
|
self._userpilot = None
|
|
284
|
-
self.
|
|
284
|
+
self._engine_validate_classification = None
|
|
285
285
|
self._virus_scan = None
|
|
286
286
|
self._legacy_dicom_uploader = None
|
|
287
287
|
self._tasks_refactor = None
|
|
@@ -406,8 +406,8 @@ class Features(object):
|
|
|
406
406
|
self.url_access_apps = url_access_apps
|
|
407
407
|
if userpilot is not None:
|
|
408
408
|
self.userpilot = userpilot
|
|
409
|
-
if
|
|
410
|
-
self.
|
|
409
|
+
if engine_validate_classification is not None:
|
|
410
|
+
self.engine_validate_classification = engine_validate_classification
|
|
411
411
|
if virus_scan is not None:
|
|
412
412
|
self.virus_scan = virus_scan
|
|
413
413
|
if legacy_dicom_uploader is not None:
|
|
@@ -1655,25 +1655,25 @@ class Features(object):
|
|
|
1655
1655
|
self._userpilot = userpilot
|
|
1656
1656
|
|
|
1657
1657
|
@property
|
|
1658
|
-
def
|
|
1659
|
-
"""Gets the
|
|
1658
|
+
def engine_validate_classification(self):
|
|
1659
|
+
"""Gets the engine_validate_classification of this Features.
|
|
1660
1660
|
|
|
1661
1661
|
|
|
1662
|
-
:return: The
|
|
1662
|
+
:return: The engine_validate_classification of this Features.
|
|
1663
1663
|
:rtype: bool
|
|
1664
1664
|
"""
|
|
1665
|
-
return self.
|
|
1665
|
+
return self._engine_validate_classification
|
|
1666
1666
|
|
|
1667
|
-
@
|
|
1668
|
-
def
|
|
1669
|
-
"""Sets the
|
|
1667
|
+
@engine_validate_classification.setter
|
|
1668
|
+
def engine_validate_classification(self, engine_validate_classification):
|
|
1669
|
+
"""Sets the engine_validate_classification of this Features.
|
|
1670
1670
|
|
|
1671
1671
|
|
|
1672
|
-
:param
|
|
1672
|
+
:param engine_validate_classification: The engine_validate_classification of this Features. # noqa: E501
|
|
1673
1673
|
:type: bool
|
|
1674
1674
|
"""
|
|
1675
1675
|
|
|
1676
|
-
self.
|
|
1676
|
+
self._engine_validate_classification = engine_validate_classification
|
|
1677
1677
|
|
|
1678
1678
|
@property
|
|
1679
1679
|
def virus_scan(self):
|
|
@@ -20,12 +20,14 @@ import six
|
|
|
20
20
|
|
|
21
21
|
import enum
|
|
22
22
|
|
|
23
|
-
class
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
class FileContainerType(str, enum.Enum):
|
|
24
|
+
ACQUISITIONS = "acquisitions"
|
|
25
|
+
ANALYSES = "analyses"
|
|
26
|
+
CONTAINERS = "containers"
|
|
27
|
+
COLLECTIONS = "collections"
|
|
28
|
+
PROJECTS = "projects"
|
|
29
|
+
SESSIONS = "sessions"
|
|
30
|
+
SUBJECTS = "subjects"
|
|
29
31
|
|
|
30
32
|
def __str__(self):
|
|
31
33
|
return self.value
|
|
@@ -21,6 +21,7 @@ import six
|
|
|
21
21
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
22
22
|
from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
|
|
23
23
|
from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
|
|
24
|
+
from flywheel.models.file_group import FileGroup # noqa: F401,E501
|
|
24
25
|
from flywheel.models.file_parents import FileParents # noqa: F401,E501
|
|
25
26
|
from flywheel.models.file_version import FileVersion # noqa: F401,E501
|
|
26
27
|
from flywheel.models.file_version_copy_of import FileVersionCopyOf # noqa: F401,E501
|
|
@@ -63,6 +64,8 @@ class FileListOutput(FileMixin):
|
|
|
63
64
|
'gear_info': 'FileGearInfo',
|
|
64
65
|
'copy_of': 'FileVersionCopyOf',
|
|
65
66
|
'original_copy_of': 'FileVersion',
|
|
67
|
+
'revision': 'int',
|
|
68
|
+
'file_group': 'FileGroup',
|
|
66
69
|
'client_hash': 'str'
|
|
67
70
|
}
|
|
68
71
|
|
|
@@ -99,6 +102,8 @@ class FileListOutput(FileMixin):
|
|
|
99
102
|
'gear_info': 'gear_info',
|
|
100
103
|
'copy_of': 'copy_of',
|
|
101
104
|
'original_copy_of': 'original_copy_of',
|
|
105
|
+
'revision': 'revision',
|
|
106
|
+
'file_group': 'file_group',
|
|
102
107
|
'client_hash': 'client_hash'
|
|
103
108
|
}
|
|
104
109
|
|
|
@@ -135,10 +140,12 @@ class FileListOutput(FileMixin):
|
|
|
135
140
|
'gear_info': 'gear_info',
|
|
136
141
|
'copy_of': 'copy_of',
|
|
137
142
|
'original_copy_of': 'original_copy_of',
|
|
143
|
+
'revision': 'revision',
|
|
144
|
+
'file_group': 'file_group',
|
|
138
145
|
'client_hash': 'client_hash'
|
|
139
146
|
}
|
|
140
147
|
|
|
141
|
-
def __init__(self, id=None, name=None, type=None, mimetype=None, file_id=None, version=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, path=None, reference=None, restored_from=None, restored_by=None, parent_ref=None, parents=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, client_hash=None): # noqa: E501
|
|
148
|
+
def __init__(self, id=None, name=None, type=None, mimetype=None, file_id=None, version=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, path=None, reference=None, restored_from=None, restored_by=None, parent_ref=None, parents=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, client_hash=None): # noqa: E501
|
|
142
149
|
"""FileListOutput - a model defined in Swagger"""
|
|
143
150
|
super(FileListOutput, self).__init__()
|
|
144
151
|
|
|
@@ -174,6 +181,8 @@ class FileListOutput(FileMixin):
|
|
|
174
181
|
self._gear_info = None
|
|
175
182
|
self._copy_of = None
|
|
176
183
|
self._original_copy_of = None
|
|
184
|
+
self._revision = None
|
|
185
|
+
self._file_group = None
|
|
177
186
|
self._client_hash = None
|
|
178
187
|
self.discriminator = None
|
|
179
188
|
self.alt_discriminator = None
|
|
@@ -232,6 +241,8 @@ class FileListOutput(FileMixin):
|
|
|
232
241
|
self.copy_of = copy_of
|
|
233
242
|
if original_copy_of is not None:
|
|
234
243
|
self.original_copy_of = original_copy_of
|
|
244
|
+
self.revision = revision
|
|
245
|
+
self.file_group = file_group
|
|
235
246
|
if client_hash is not None:
|
|
236
247
|
self.client_hash = client_hash
|
|
237
248
|
|
|
@@ -907,6 +918,48 @@ class FileListOutput(FileMixin):
|
|
|
907
918
|
|
|
908
919
|
self._original_copy_of = original_copy_of
|
|
909
920
|
|
|
921
|
+
@property
|
|
922
|
+
def revision(self):
|
|
923
|
+
"""Gets the revision of this FileListOutput.
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
:return: The revision of this FileListOutput.
|
|
927
|
+
:rtype: int
|
|
928
|
+
"""
|
|
929
|
+
return self._revision
|
|
930
|
+
|
|
931
|
+
@revision.setter
|
|
932
|
+
def revision(self, revision):
|
|
933
|
+
"""Sets the revision of this FileListOutput.
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
:param revision: The revision of this FileListOutput. # noqa: E501
|
|
937
|
+
:type: int
|
|
938
|
+
"""
|
|
939
|
+
|
|
940
|
+
self._revision = revision
|
|
941
|
+
|
|
942
|
+
@property
|
|
943
|
+
def file_group(self):
|
|
944
|
+
"""Gets the file_group of this FileListOutput.
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
:return: The file_group of this FileListOutput.
|
|
948
|
+
:rtype: FileGroup
|
|
949
|
+
"""
|
|
950
|
+
return self._file_group
|
|
951
|
+
|
|
952
|
+
@file_group.setter
|
|
953
|
+
def file_group(self, file_group):
|
|
954
|
+
"""Sets the file_group of this FileListOutput.
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
:param file_group: The file_group of this FileListOutput. # noqa: E501
|
|
958
|
+
:type: FileGroup
|
|
959
|
+
"""
|
|
960
|
+
|
|
961
|
+
self._file_group = file_group
|
|
962
|
+
|
|
910
963
|
@property
|
|
911
964
|
def client_hash(self):
|
|
912
965
|
"""Gets the client_hash of this FileListOutput.
|
flywheel/models/file_node.py
CHANGED
|
@@ -21,6 +21,7 @@ import six
|
|
|
21
21
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
22
22
|
from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
|
|
23
23
|
from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
|
|
24
|
+
from flywheel.models.file_group import FileGroup # noqa: F401,E501
|
|
24
25
|
from flywheel.models.file_list_output import FileListOutput # noqa: F401,E501
|
|
25
26
|
from flywheel.models.file_parents import FileParents # noqa: F401,E501
|
|
26
27
|
from flywheel.models.file_version import FileVersion # noqa: F401,E501
|
|
@@ -65,6 +66,8 @@ class FileNode(FileMixin):
|
|
|
65
66
|
'gear_info': 'FileGearInfo',
|
|
66
67
|
'copy_of': 'FileVersionCopyOf',
|
|
67
68
|
'original_copy_of': 'FileVersion',
|
|
69
|
+
'revision': 'int',
|
|
70
|
+
'file_group': 'FileGroup',
|
|
68
71
|
'client_hash': 'str'
|
|
69
72
|
}
|
|
70
73
|
|
|
@@ -101,6 +104,8 @@ class FileNode(FileMixin):
|
|
|
101
104
|
'gear_info': 'gear_info',
|
|
102
105
|
'copy_of': 'copy_of',
|
|
103
106
|
'original_copy_of': 'original_copy_of',
|
|
107
|
+
'revision': 'revision',
|
|
108
|
+
'file_group': 'file_group',
|
|
104
109
|
'client_hash': 'client_hash'
|
|
105
110
|
}
|
|
106
111
|
|
|
@@ -137,10 +142,12 @@ class FileNode(FileMixin):
|
|
|
137
142
|
'gear_info': 'gear_info',
|
|
138
143
|
'copy_of': 'copy_of',
|
|
139
144
|
'original_copy_of': 'original_copy_of',
|
|
145
|
+
'revision': 'revision',
|
|
146
|
+
'file_group': 'file_group',
|
|
140
147
|
'client_hash': 'client_hash'
|
|
141
148
|
}
|
|
142
149
|
|
|
143
|
-
def __init__(self, id=None, name=None, type=None, mimetype=None, file_id=None, version=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, path=None, reference=None, restored_from=None, restored_by=None, parent_ref=None, parents=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, client_hash=None): # noqa: E501
|
|
150
|
+
def __init__(self, id=None, name=None, type=None, mimetype=None, file_id=None, version=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, path=None, reference=None, restored_from=None, restored_by=None, parent_ref=None, parents=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, client_hash=None): # noqa: E501
|
|
144
151
|
"""FileNode - a model defined in Swagger"""
|
|
145
152
|
super(FileNode, self).__init__()
|
|
146
153
|
|
|
@@ -176,6 +183,8 @@ class FileNode(FileMixin):
|
|
|
176
183
|
self._gear_info = None
|
|
177
184
|
self._copy_of = None
|
|
178
185
|
self._original_copy_of = None
|
|
186
|
+
self._revision = None
|
|
187
|
+
self._file_group = None
|
|
179
188
|
self._client_hash = None
|
|
180
189
|
self.discriminator = None
|
|
181
190
|
self.alt_discriminator = None
|
|
@@ -234,6 +243,8 @@ class FileNode(FileMixin):
|
|
|
234
243
|
self.copy_of = copy_of
|
|
235
244
|
if original_copy_of is not None:
|
|
236
245
|
self.original_copy_of = original_copy_of
|
|
246
|
+
self.revision = revision
|
|
247
|
+
self.file_group = file_group
|
|
237
248
|
if client_hash is not None:
|
|
238
249
|
self.client_hash = client_hash
|
|
239
250
|
|
|
@@ -909,6 +920,48 @@ class FileNode(FileMixin):
|
|
|
909
920
|
|
|
910
921
|
self._original_copy_of = original_copy_of
|
|
911
922
|
|
|
923
|
+
@property
|
|
924
|
+
def revision(self):
|
|
925
|
+
"""Gets the revision of this FileNode.
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
:return: The revision of this FileNode.
|
|
929
|
+
:rtype: int
|
|
930
|
+
"""
|
|
931
|
+
return self._revision
|
|
932
|
+
|
|
933
|
+
@revision.setter
|
|
934
|
+
def revision(self, revision):
|
|
935
|
+
"""Sets the revision of this FileNode.
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
:param revision: The revision of this FileNode. # noqa: E501
|
|
939
|
+
:type: int
|
|
940
|
+
"""
|
|
941
|
+
|
|
942
|
+
self._revision = revision
|
|
943
|
+
|
|
944
|
+
@property
|
|
945
|
+
def file_group(self):
|
|
946
|
+
"""Gets the file_group of this FileNode.
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
:return: The file_group of this FileNode.
|
|
950
|
+
:rtype: FileGroup
|
|
951
|
+
"""
|
|
952
|
+
return self._file_group
|
|
953
|
+
|
|
954
|
+
@file_group.setter
|
|
955
|
+
def file_group(self, file_group):
|
|
956
|
+
"""Sets the file_group of this FileNode.
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
:param file_group: The file_group of this FileNode. # noqa: E501
|
|
960
|
+
:type: FileGroup
|
|
961
|
+
"""
|
|
962
|
+
|
|
963
|
+
self._file_group = file_group
|
|
964
|
+
|
|
912
965
|
@property
|
|
913
966
|
def client_hash(self):
|
|
914
967
|
"""Gets the client_hash of this FileNode.
|
flywheel/models/file_output.py
CHANGED
|
@@ -21,6 +21,7 @@ import six
|
|
|
21
21
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
22
22
|
from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
|
|
23
23
|
from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
|
|
24
|
+
from flywheel.models.file_group import FileGroup # noqa: F401,E501
|
|
24
25
|
from flywheel.models.file_parents import FileParents # noqa: F401,E501
|
|
25
26
|
from flywheel.models.file_version import FileVersion # noqa: F401,E501
|
|
26
27
|
from flywheel.models.file_version_copy_of import FileVersionCopyOf # noqa: F401,E501
|
|
@@ -63,7 +64,9 @@ class FileOutput(FileMixin):
|
|
|
63
64
|
'zip_member_count': 'int',
|
|
64
65
|
'gear_info': 'FileGearInfo',
|
|
65
66
|
'copy_of': 'FileVersionCopyOf',
|
|
66
|
-
'original_copy_of': 'FileVersion'
|
|
67
|
+
'original_copy_of': 'FileVersion',
|
|
68
|
+
'revision': 'int',
|
|
69
|
+
'file_group': 'FileGroup'
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
attribute_map = {
|
|
@@ -99,7 +102,9 @@ class FileOutput(FileMixin):
|
|
|
99
102
|
'zip_member_count': 'zip_member_count',
|
|
100
103
|
'gear_info': 'gear_info',
|
|
101
104
|
'copy_of': 'copy_of',
|
|
102
|
-
'original_copy_of': 'original_copy_of'
|
|
105
|
+
'original_copy_of': 'original_copy_of',
|
|
106
|
+
'revision': 'revision',
|
|
107
|
+
'file_group': 'file_group'
|
|
103
108
|
}
|
|
104
109
|
|
|
105
110
|
rattribute_map = {
|
|
@@ -135,10 +140,12 @@ class FileOutput(FileMixin):
|
|
|
135
140
|
'zip_member_count': 'zip_member_count',
|
|
136
141
|
'gear_info': 'gear_info',
|
|
137
142
|
'copy_of': 'copy_of',
|
|
138
|
-
'original_copy_of': 'original_copy_of'
|
|
143
|
+
'original_copy_of': 'original_copy_of',
|
|
144
|
+
'revision': 'revision',
|
|
145
|
+
'file_group': 'file_group'
|
|
139
146
|
}
|
|
140
147
|
|
|
141
|
-
def __init__(self, id=None, name=None, type=None, file_id=None, version=None, mimetype=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, parent_ref=None, parents=None, restored_from=None, restored_by=None, path=None, reference=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, client_hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None): # noqa: E501
|
|
148
|
+
def __init__(self, id=None, name=None, type=None, file_id=None, version=None, mimetype=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, parent_ref=None, parents=None, restored_from=None, restored_by=None, path=None, reference=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, client_hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None): # noqa: E501
|
|
142
149
|
"""FileOutput - a model defined in Swagger"""
|
|
143
150
|
super(FileOutput, self).__init__()
|
|
144
151
|
|
|
@@ -175,6 +182,8 @@ class FileOutput(FileMixin):
|
|
|
175
182
|
self._gear_info = None
|
|
176
183
|
self._copy_of = None
|
|
177
184
|
self._original_copy_of = None
|
|
185
|
+
self._revision = None
|
|
186
|
+
self._file_group = None
|
|
178
187
|
self.discriminator = None
|
|
179
188
|
self.alt_discriminator = None
|
|
180
189
|
|
|
@@ -234,6 +243,8 @@ class FileOutput(FileMixin):
|
|
|
234
243
|
self.copy_of = copy_of
|
|
235
244
|
if original_copy_of is not None:
|
|
236
245
|
self.original_copy_of = original_copy_of
|
|
246
|
+
self.revision = revision
|
|
247
|
+
self.file_group = file_group
|
|
237
248
|
|
|
238
249
|
@property
|
|
239
250
|
def id(self):
|
|
@@ -946,6 +957,48 @@ class FileOutput(FileMixin):
|
|
|
946
957
|
|
|
947
958
|
self._original_copy_of = original_copy_of
|
|
948
959
|
|
|
960
|
+
@property
|
|
961
|
+
def revision(self):
|
|
962
|
+
"""Gets the revision of this FileOutput.
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
:return: The revision of this FileOutput.
|
|
966
|
+
:rtype: int
|
|
967
|
+
"""
|
|
968
|
+
return self._revision
|
|
969
|
+
|
|
970
|
+
@revision.setter
|
|
971
|
+
def revision(self, revision):
|
|
972
|
+
"""Sets the revision of this FileOutput.
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
:param revision: The revision of this FileOutput. # noqa: E501
|
|
976
|
+
:type: int
|
|
977
|
+
"""
|
|
978
|
+
|
|
979
|
+
self._revision = revision
|
|
980
|
+
|
|
981
|
+
@property
|
|
982
|
+
def file_group(self):
|
|
983
|
+
"""Gets the file_group of this FileOutput.
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
:return: The file_group of this FileOutput.
|
|
987
|
+
:rtype: FileGroup
|
|
988
|
+
"""
|
|
989
|
+
return self._file_group
|
|
990
|
+
|
|
991
|
+
@file_group.setter
|
|
992
|
+
def file_group(self, file_group):
|
|
993
|
+
"""Sets the file_group of this FileOutput.
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
:param file_group: The file_group of this FileOutput. # noqa: E501
|
|
997
|
+
:type: FileGroup
|
|
998
|
+
"""
|
|
999
|
+
|
|
1000
|
+
self._file_group = file_group
|
|
1001
|
+
|
|
949
1002
|
|
|
950
1003
|
@staticmethod
|
|
951
1004
|
def positional_to_model(value):
|
|
@@ -21,6 +21,7 @@ import six
|
|
|
21
21
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
22
22
|
from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
|
|
23
23
|
from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
|
|
24
|
+
from flywheel.models.file_group import FileGroup # noqa: F401,E501
|
|
24
25
|
from flywheel.models.file_parents import FileParents # noqa: F401,E501
|
|
25
26
|
from flywheel.models.file_version import FileVersion # noqa: F401,E501
|
|
26
27
|
from flywheel.models.file_version_copy_of import FileVersionCopyOf # noqa: F401,E501
|
|
@@ -64,6 +65,8 @@ class FileUpsertOutput(object):
|
|
|
64
65
|
'gear_info': 'FileGearInfo',
|
|
65
66
|
'copy_of': 'FileVersionCopyOf',
|
|
66
67
|
'original_copy_of': 'FileVersion',
|
|
68
|
+
'revision': 'int',
|
|
69
|
+
'file_group': 'FileGroup',
|
|
67
70
|
'upsert_result': 'UpsertResult'
|
|
68
71
|
}
|
|
69
72
|
|
|
@@ -101,6 +104,8 @@ class FileUpsertOutput(object):
|
|
|
101
104
|
'gear_info': 'gear_info',
|
|
102
105
|
'copy_of': 'copy_of',
|
|
103
106
|
'original_copy_of': 'original_copy_of',
|
|
107
|
+
'revision': 'revision',
|
|
108
|
+
'file_group': 'file_group',
|
|
104
109
|
'upsert_result': 'upsert_result'
|
|
105
110
|
}
|
|
106
111
|
|
|
@@ -138,10 +143,12 @@ class FileUpsertOutput(object):
|
|
|
138
143
|
'gear_info': 'gear_info',
|
|
139
144
|
'copy_of': 'copy_of',
|
|
140
145
|
'original_copy_of': 'original_copy_of',
|
|
146
|
+
'revision': 'revision',
|
|
147
|
+
'file_group': 'file_group',
|
|
141
148
|
'upsert_result': 'upsert_result'
|
|
142
149
|
}
|
|
143
150
|
|
|
144
|
-
def __init__(self, id=None, name=None, type=None, file_id=None, version=None, mimetype=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, parent_ref=None, parents=None, restored_from=None, restored_by=None, path=None, reference=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, client_hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, upsert_result=None): # noqa: E501
|
|
151
|
+
def __init__(self, id=None, name=None, type=None, file_id=None, version=None, mimetype=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, parent_ref=None, parents=None, restored_from=None, restored_by=None, path=None, reference=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, client_hash=None, info=None, info_exists=False, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, upsert_result=None): # noqa: E501
|
|
145
152
|
"""FileUpsertOutput - a model defined in Swagger"""
|
|
146
153
|
super(FileUpsertOutput, self).__init__()
|
|
147
154
|
|
|
@@ -178,6 +185,8 @@ class FileUpsertOutput(object):
|
|
|
178
185
|
self._gear_info = None
|
|
179
186
|
self._copy_of = None
|
|
180
187
|
self._original_copy_of = None
|
|
188
|
+
self._revision = None
|
|
189
|
+
self._file_group = None
|
|
181
190
|
self._upsert_result = None
|
|
182
191
|
self.discriminator = None
|
|
183
192
|
self.alt_discriminator = None
|
|
@@ -238,6 +247,8 @@ class FileUpsertOutput(object):
|
|
|
238
247
|
self.copy_of = copy_of
|
|
239
248
|
if original_copy_of is not None:
|
|
240
249
|
self.original_copy_of = original_copy_of
|
|
250
|
+
self.revision = revision
|
|
251
|
+
self.file_group = file_group
|
|
241
252
|
self.upsert_result = upsert_result
|
|
242
253
|
|
|
243
254
|
@property
|
|
@@ -951,6 +962,48 @@ class FileUpsertOutput(object):
|
|
|
951
962
|
|
|
952
963
|
self._original_copy_of = original_copy_of
|
|
953
964
|
|
|
965
|
+
@property
|
|
966
|
+
def revision(self):
|
|
967
|
+
"""Gets the revision of this FileUpsertOutput.
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
:return: The revision of this FileUpsertOutput.
|
|
971
|
+
:rtype: int
|
|
972
|
+
"""
|
|
973
|
+
return self._revision
|
|
974
|
+
|
|
975
|
+
@revision.setter
|
|
976
|
+
def revision(self, revision):
|
|
977
|
+
"""Sets the revision of this FileUpsertOutput.
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
:param revision: The revision of this FileUpsertOutput. # noqa: E501
|
|
981
|
+
:type: int
|
|
982
|
+
"""
|
|
983
|
+
|
|
984
|
+
self._revision = revision
|
|
985
|
+
|
|
986
|
+
@property
|
|
987
|
+
def file_group(self):
|
|
988
|
+
"""Gets the file_group of this FileUpsertOutput.
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
:return: The file_group of this FileUpsertOutput.
|
|
992
|
+
:rtype: FileGroup
|
|
993
|
+
"""
|
|
994
|
+
return self._file_group
|
|
995
|
+
|
|
996
|
+
@file_group.setter
|
|
997
|
+
def file_group(self, file_group):
|
|
998
|
+
"""Sets the file_group of this FileUpsertOutput.
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
:param file_group: The file_group of this FileUpsertOutput. # noqa: E501
|
|
1002
|
+
:type: FileGroup
|
|
1003
|
+
"""
|
|
1004
|
+
|
|
1005
|
+
self._file_group = file_group
|
|
1006
|
+
|
|
954
1007
|
@property
|
|
955
1008
|
def upsert_result(self):
|
|
956
1009
|
"""Gets the upsert_result of this FileUpsertOutput.
|