flywheel-sdk 20.2.0rc3__py2.py3-none-any.whl → 20.3.0rc0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. flywheel/__init__.py +7 -2
  2. flywheel/api/acquisitions_api.py +42 -0
  3. flywheel/api/analyses_api.py +42 -4
  4. flywheel/api/audit_trail_api.py +6 -0
  5. flywheel/api/auth_api.py +2 -0
  6. flywheel/api/batch_api.py +7 -0
  7. flywheel/api/bulk_api.py +2 -0
  8. flywheel/api/change_log_api.py +3 -0
  9. flywheel/api/collections_api.py +35 -0
  10. flywheel/api/config_api.py +4 -0
  11. flywheel/api/container_type_api.py +2 -0
  12. flywheel/api/containers_api.py +40 -0
  13. flywheel/api/data_view_executions_api.py +6 -0
  14. flywheel/api/dataexplorer_api.py +12 -0
  15. flywheel/api/devices_api.py +12 -0
  16. flywheel/api/dimse_api.py +9 -0
  17. flywheel/api/download_api.py +3 -0
  18. flywheel/api/files_api.py +19 -0
  19. flywheel/api/gears_api.py +18 -0
  20. flywheel/api/groups_api.py +27 -0
  21. flywheel/api/jobs_api.py +22 -0
  22. flywheel/api/jupyterlab_servers_api.py +3 -0
  23. flywheel/api/modalities_api.py +6 -0
  24. flywheel/api/packfiles_api.py +2 -0
  25. flywheel/api/projects_api.py +68 -0
  26. flywheel/api/reports_api.py +11 -0
  27. flywheel/api/resolve_api.py +3 -0
  28. flywheel/api/roles_api.py +6 -0
  29. flywheel/api/sessions_api.py +160 -0
  30. flywheel/api/site_api.py +16 -0
  31. flywheel/api/subjects_api.py +45 -0
  32. flywheel/api/tree_api.py +3 -0
  33. flywheel/api/uids_api.py +2 -0
  34. flywheel/api/upload_api.py +8 -0
  35. flywheel/api/users_api.py +20 -0
  36. flywheel/api/views_api.py +10 -0
  37. flywheel/api_client.py +1 -1
  38. flywheel/configuration.py +53 -2
  39. flywheel/flywheel.py +28 -2
  40. flywheel/models/__init__.py +8 -3
  41. flywheel/models/{project_copy_filter.py → copy_filter.py} +28 -28
  42. flywheel/models/{project_copy_status.py → copy_status.py} +1 -1
  43. flywheel/models/cvat_info.py +243 -0
  44. flywheel/models/cvat_settings.py +271 -0
  45. flywheel/models/cvat_settings_input.py +271 -0
  46. flywheel/models/cvat_sync_state.py +29 -0
  47. flywheel/models/features.py +55 -1
  48. flywheel/models/file.py +29 -1
  49. flywheel/models/file_list_output.py +29 -1
  50. flywheel/models/file_node.py +29 -1
  51. flywheel/models/file_output.py +29 -1
  52. flywheel/models/file_upsert_output.py +29 -1
  53. flywheel/models/mixins.py +0 -3
  54. flywheel/models/project_container_output.py +1 -1
  55. flywheel/models/project_copy_input.py +4 -4
  56. flywheel/models/project_modify.py +4 -4
  57. flywheel/models/project_node.py +1 -1
  58. flywheel/models/project_output.py +4 -4
  59. flywheel/models/project_settings_input.py +32 -4
  60. flywheel/models/project_settings_output.py +32 -4
  61. flywheel/models/search_parent_project.py +1 -1
  62. flywheel/models/search_parent_session.py +1 -0
  63. flywheel/models/session_container_output.py +1 -0
  64. flywheel/models/session_copy_input.py +244 -0
  65. flywheel/models/session_list_output.py +32 -4
  66. flywheel/models/session_node.py +1 -0
  67. flywheel/models/session_output.py +29 -1
  68. flywheel/util.py +10 -0
  69. {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/METADATA +1 -1
  70. {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/RECORD +73 -68
  71. {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/WHEEL +0 -0
  72. {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/licenses/LICENSE.txt +0 -0
  73. {flywheel_sdk-20.2.0rc3.dist-info → flywheel_sdk-20.3.0rc0.dist-info}/top_level.txt +0 -0
@@ -30,6 +30,7 @@ class Features(object):
30
30
  'copy_by_reference': 'bool',
31
31
  'core_api': 'bool',
32
32
  'crawler': 'bool',
33
+ 'cvat': 'bool',
33
34
  'data_views_non_21_cfr': 'bool',
34
35
  'default_viewer_apps': 'bool',
35
36
  'deid_log': 'bool',
@@ -80,6 +81,7 @@ class Features(object):
80
81
  'unsafe_login': 'bool',
81
82
  'url_access_apps': 'bool',
82
83
  'userpilot': 'bool',
84
+ 'validate_classification': 'bool',
83
85
  'engine_validate_classification': 'bool',
84
86
  'virus_scan': 'bool',
85
87
  'legacy_dicom_uploader': 'bool',
@@ -96,6 +98,7 @@ class Features(object):
96
98
  'copy_by_reference': 'copy_by_reference',
97
99
  'core_api': 'core_api',
98
100
  'crawler': 'crawler',
101
+ 'cvat': 'cvat',
99
102
  'data_views_non_21_cfr': 'data_views_non_21CFR',
100
103
  'default_viewer_apps': 'default_viewer_apps',
101
104
  'deid_log': 'deid_log',
@@ -146,6 +149,7 @@ class Features(object):
146
149
  'unsafe_login': 'unsafe_login',
147
150
  'url_access_apps': 'url_access_apps',
148
151
  'userpilot': 'userpilot',
152
+ 'validate_classification': 'validate_classification',
149
153
  'engine_validate_classification': 'engine_validate_classification',
150
154
  'virus_scan': 'virus_scan',
151
155
  'legacy_dicom_uploader': 'legacy_dicom_uploader',
@@ -162,6 +166,7 @@ class Features(object):
162
166
  'copy_by_reference': 'copy_by_reference',
163
167
  'core_api': 'core_api',
164
168
  'crawler': 'crawler',
169
+ 'cvat': 'cvat',
165
170
  'data_views_non_21CFR': 'data_views_non_21_cfr',
166
171
  'default_viewer_apps': 'default_viewer_apps',
167
172
  'deid_log': 'deid_log',
@@ -212,13 +217,14 @@ class Features(object):
212
217
  'unsafe_login': 'unsafe_login',
213
218
  'url_access_apps': 'url_access_apps',
214
219
  'userpilot': 'userpilot',
220
+ 'validate_classification': 'validate_classification',
215
221
  'engine_validate_classification': 'engine_validate_classification',
216
222
  'virus_scan': 'virus_scan',
217
223
  'legacy_dicom_uploader': 'legacy_dicom_uploader',
218
224
  'tasks_refactor': 'tasks_refactor'
219
225
  }
220
226
 
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
227
+ 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, 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=True, engine_validate_classification=False, virus_scan=False, legacy_dicom_uploader=False, tasks_refactor=False): # noqa: E501
222
228
  """Features - a model defined in Swagger"""
223
229
  super(Features, self).__init__()
224
230
 
@@ -231,6 +237,7 @@ class Features(object):
231
237
  self._copy_by_reference = None
232
238
  self._core_api = None
233
239
  self._crawler = None
240
+ self._cvat = None
234
241
  self._data_views_non_21_cfr = None
235
242
  self._default_viewer_apps = None
236
243
  self._deid_log = None
@@ -281,6 +288,7 @@ class Features(object):
281
288
  self._unsafe_login = None
282
289
  self._url_access_apps = None
283
290
  self._userpilot = None
291
+ self._validate_classification = None
284
292
  self._engine_validate_classification = None
285
293
  self._virus_scan = None
286
294
  self._legacy_dicom_uploader = None
@@ -306,6 +314,8 @@ class Features(object):
306
314
  self.core_api = core_api
307
315
  if crawler is not None:
308
316
  self.crawler = crawler
317
+ if cvat is not None:
318
+ self.cvat = cvat
309
319
  if data_views_non_21_cfr is not None:
310
320
  self.data_views_non_21_cfr = data_views_non_21_cfr
311
321
  if default_viewer_apps is not None:
@@ -406,6 +416,8 @@ class Features(object):
406
416
  self.url_access_apps = url_access_apps
407
417
  if userpilot is not None:
408
418
  self.userpilot = userpilot
419
+ if validate_classification is not None:
420
+ self.validate_classification = validate_classification
409
421
  if engine_validate_classification is not None:
410
422
  self.engine_validate_classification = engine_validate_classification
411
423
  if virus_scan is not None:
@@ -604,6 +616,27 @@ class Features(object):
604
616
 
605
617
  self._crawler = crawler
606
618
 
619
+ @property
620
+ def cvat(self):
621
+ """Gets the cvat of this Features.
622
+
623
+
624
+ :return: The cvat of this Features.
625
+ :rtype: bool
626
+ """
627
+ return self._cvat
628
+
629
+ @cvat.setter
630
+ def cvat(self, cvat):
631
+ """Sets the cvat of this Features.
632
+
633
+
634
+ :param cvat: The cvat of this Features. # noqa: E501
635
+ :type: bool
636
+ """
637
+
638
+ self._cvat = cvat
639
+
607
640
  @property
608
641
  def data_views_non_21_cfr(self):
609
642
  """Gets the data_views_non_21_cfr of this Features.
@@ -1654,6 +1687,27 @@ class Features(object):
1654
1687
 
1655
1688
  self._userpilot = userpilot
1656
1689
 
1690
+ @property
1691
+ def validate_classification(self):
1692
+ """Gets the validate_classification of this Features.
1693
+
1694
+
1695
+ :return: The validate_classification of this Features.
1696
+ :rtype: bool
1697
+ """
1698
+ return self._validate_classification
1699
+
1700
+ @validate_classification.setter
1701
+ def validate_classification(self, validate_classification):
1702
+ """Sets the validate_classification of this Features.
1703
+
1704
+
1705
+ :param validate_classification: The validate_classification of this Features. # noqa: E501
1706
+ :type: bool
1707
+ """
1708
+
1709
+ self._validate_classification = validate_classification
1710
+
1657
1711
  @property
1658
1712
  def engine_validate_classification(self):
1659
1713
  """Gets the engine_validate_classification of this Features.
flywheel/models/file.py CHANGED
@@ -20,6 +20,7 @@ import six
20
20
 
21
21
  from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
22
22
  from flywheel.models.core_models_common_source import CoreModelsCommonSource # noqa: F401,E501
23
+ from flywheel.models.cvat_info import CVATInfo # noqa: F401,E501
23
24
  from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
24
25
  from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
25
26
  from flywheel.models.file_parents import FileParents # noqa: F401,E501
@@ -58,6 +59,7 @@ class File(FileMixin):
58
59
  'classification': 'dict(str, list[str])',
59
60
  'tags': 'list[str]',
60
61
  'info': 'object',
62
+ 'cvat': 'CVATInfo',
61
63
  'info_exists': 'bool',
62
64
  'deid_log_id': 'str',
63
65
  'deid_log_skip_reason': 'DeidLogSkipReason',
@@ -97,6 +99,7 @@ class File(FileMixin):
97
99
  'classification': 'classification',
98
100
  'tags': 'tags',
99
101
  'info': 'info',
102
+ 'cvat': 'cvat',
100
103
  'info_exists': 'info_exists',
101
104
  'deid_log_id': 'deid_log_id',
102
105
  'deid_log_skip_reason': 'deid_log_skip_reason',
@@ -136,6 +139,7 @@ class File(FileMixin):
136
139
  'classification': 'classification',
137
140
  'tags': 'tags',
138
141
  'info': 'info',
142
+ 'cvat': 'cvat',
139
143
  'info_exists': 'info_exists',
140
144
  'deid_log_id': 'deid_log_id',
141
145
  'deid_log_skip_reason': 'deid_log_skip_reason',
@@ -148,7 +152,7 @@ class File(FileMixin):
148
152
  'original_copy_of': 'original_copy_of'
149
153
  }
150
154
 
151
- def __init__(self, id=None, parent_ref=None, name=None, file_group=None, provider_id=None, uuid=None, path=None, reference=None, size=None, hash=None, client_hash=None, zip_member_count=None, virus_scan=None, source_file_id=None, restored_from=None, restored_by=None, parents=None, revision=None, origin=None, source=None, type=None, mimetype='application/octet-stream', modality=None, classification=None, tags=None, info=None, info_exists=False, deid_log_id=None, deid_log_skip_reason=None, gear_info=None, created=None, modified=None, replaced=None, deleted=None, copy_of=None, original_copy_of=None): # noqa: E501
155
+ def __init__(self, id=None, parent_ref=None, name=None, file_group=None, provider_id=None, uuid=None, path=None, reference=None, size=None, hash=None, client_hash=None, zip_member_count=None, virus_scan=None, source_file_id=None, restored_from=None, restored_by=None, parents=None, revision=None, origin=None, source=None, type=None, mimetype='application/octet-stream', modality=None, classification=None, tags=None, info=None, cvat=None, info_exists=False, deid_log_id=None, deid_log_skip_reason=None, gear_info=None, created=None, modified=None, replaced=None, deleted=None, copy_of=None, original_copy_of=None): # noqa: E501
152
156
  """File - a model defined in Swagger"""
153
157
  super(File, self).__init__()
154
158
 
@@ -178,6 +182,7 @@ class File(FileMixin):
178
182
  self._classification = None
179
183
  self._tags = None
180
184
  self._info = None
185
+ self._cvat = None
181
186
  self._info_exists = None
182
187
  self._deid_log_id = None
183
188
  self._deid_log_skip_reason = None
@@ -232,6 +237,8 @@ class File(FileMixin):
232
237
  self.classification = classification
233
238
  self.tags = tags
234
239
  self.info = info
240
+ if cvat is not None:
241
+ self.cvat = cvat
235
242
  if info_exists is not None:
236
243
  self.info_exists = info_exists
237
244
  if deid_log_id is not None:
@@ -799,6 +806,27 @@ class File(FileMixin):
799
806
 
800
807
  self._info = info
801
808
 
809
+ @property
810
+ def cvat(self):
811
+ """Gets the cvat of this File.
812
+
813
+
814
+ :return: The cvat of this File.
815
+ :rtype: CVATInfo
816
+ """
817
+ return self._cvat
818
+
819
+ @cvat.setter
820
+ def cvat(self, cvat):
821
+ """Sets the cvat of this File.
822
+
823
+
824
+ :param cvat: The cvat of this File. # noqa: E501
825
+ :type: CVATInfo
826
+ """
827
+
828
+ self._cvat = cvat
829
+
802
830
  @property
803
831
  def info_exists(self):
804
832
  """Gets the info_exists of this File.
@@ -19,6 +19,7 @@ import re # noqa: F401
19
19
  import six
20
20
 
21
21
  from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
22
+ from flywheel.models.cvat_info import CVATInfo # noqa: F401,E501
22
23
  from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
23
24
  from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
24
25
  from flywheel.models.file_group import FileGroup # noqa: F401,E501
@@ -60,6 +61,7 @@ class FileListOutput(FileMixin):
60
61
  'hash': 'str',
61
62
  'info': 'object',
62
63
  'info_exists': 'bool',
64
+ 'cvat': 'CVATInfo',
63
65
  'zip_member_count': 'int',
64
66
  'gear_info': 'FileGearInfo',
65
67
  'copy_of': 'FileVersionCopyOf',
@@ -98,6 +100,7 @@ class FileListOutput(FileMixin):
98
100
  'hash': 'hash',
99
101
  'info': 'info',
100
102
  'info_exists': 'info_exists',
103
+ 'cvat': 'cvat',
101
104
  'zip_member_count': 'zip_member_count',
102
105
  'gear_info': 'gear_info',
103
106
  'copy_of': 'copy_of',
@@ -136,6 +139,7 @@ class FileListOutput(FileMixin):
136
139
  'hash': 'hash',
137
140
  'info': 'info',
138
141
  'info_exists': 'info_exists',
142
+ 'cvat': 'cvat',
139
143
  'zip_member_count': 'zip_member_count',
140
144
  'gear_info': 'gear_info',
141
145
  'copy_of': 'copy_of',
@@ -145,7 +149,7 @@ class FileListOutput(FileMixin):
145
149
  'client_hash': 'client_hash'
146
150
  }
147
151
 
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
152
+ 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, cvat=None, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, client_hash=None): # noqa: E501
149
153
  """FileListOutput - a model defined in Swagger"""
150
154
  super(FileListOutput, self).__init__()
151
155
 
@@ -177,6 +181,7 @@ class FileListOutput(FileMixin):
177
181
  self._hash = None
178
182
  self._info = None
179
183
  self._info_exists = None
184
+ self._cvat = None
180
185
  self._zip_member_count = None
181
186
  self._gear_info = None
182
187
  self._copy_of = None
@@ -233,6 +238,8 @@ class FileListOutput(FileMixin):
233
238
  self.info = info
234
239
  if info_exists is not None:
235
240
  self.info_exists = info_exists
241
+ if cvat is not None:
242
+ self.cvat = cvat
236
243
  if zip_member_count is not None:
237
244
  self.zip_member_count = zip_member_count
238
245
  if gear_info is not None:
@@ -834,6 +841,27 @@ class FileListOutput(FileMixin):
834
841
 
835
842
  self._info_exists = info_exists
836
843
 
844
+ @property
845
+ def cvat(self):
846
+ """Gets the cvat of this FileListOutput.
847
+
848
+
849
+ :return: The cvat of this FileListOutput.
850
+ :rtype: CVATInfo
851
+ """
852
+ return self._cvat
853
+
854
+ @cvat.setter
855
+ def cvat(self, cvat):
856
+ """Sets the cvat of this FileListOutput.
857
+
858
+
859
+ :param cvat: The cvat of this FileListOutput. # noqa: E501
860
+ :type: CVATInfo
861
+ """
862
+
863
+ self._cvat = cvat
864
+
837
865
  @property
838
866
  def zip_member_count(self):
839
867
  """Gets the zip_member_count of this FileListOutput.
@@ -19,6 +19,7 @@ import re # noqa: F401
19
19
  import six
20
20
 
21
21
  from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
22
+ from flywheel.models.cvat_info import CVATInfo # noqa: F401,E501
22
23
  from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
23
24
  from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
24
25
  from flywheel.models.file_group import FileGroup # noqa: F401,E501
@@ -62,6 +63,7 @@ class FileNode(FileMixin):
62
63
  'hash': 'str',
63
64
  'info': 'object',
64
65
  'info_exists': 'bool',
66
+ 'cvat': 'CVATInfo',
65
67
  'zip_member_count': 'int',
66
68
  'gear_info': 'FileGearInfo',
67
69
  'copy_of': 'FileVersionCopyOf',
@@ -100,6 +102,7 @@ class FileNode(FileMixin):
100
102
  'hash': 'hash',
101
103
  'info': 'info',
102
104
  'info_exists': 'info_exists',
105
+ 'cvat': 'cvat',
103
106
  'zip_member_count': 'zip_member_count',
104
107
  'gear_info': 'gear_info',
105
108
  'copy_of': 'copy_of',
@@ -138,6 +141,7 @@ class FileNode(FileMixin):
138
141
  'hash': 'hash',
139
142
  'info': 'info',
140
143
  'info_exists': 'info_exists',
144
+ 'cvat': 'cvat',
141
145
  'zip_member_count': 'zip_member_count',
142
146
  'gear_info': 'gear_info',
143
147
  'copy_of': 'copy_of',
@@ -147,7 +151,7 @@ class FileNode(FileMixin):
147
151
  'client_hash': 'client_hash'
148
152
  }
149
153
 
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
154
+ 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, cvat=None, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, client_hash=None): # noqa: E501
151
155
  """FileNode - a model defined in Swagger"""
152
156
  super(FileNode, self).__init__()
153
157
 
@@ -179,6 +183,7 @@ class FileNode(FileMixin):
179
183
  self._hash = None
180
184
  self._info = None
181
185
  self._info_exists = None
186
+ self._cvat = None
182
187
  self._zip_member_count = None
183
188
  self._gear_info = None
184
189
  self._copy_of = None
@@ -235,6 +240,8 @@ class FileNode(FileMixin):
235
240
  self.info = info
236
241
  if info_exists is not None:
237
242
  self.info_exists = info_exists
243
+ if cvat is not None:
244
+ self.cvat = cvat
238
245
  if zip_member_count is not None:
239
246
  self.zip_member_count = zip_member_count
240
247
  if gear_info is not None:
@@ -836,6 +843,27 @@ class FileNode(FileMixin):
836
843
 
837
844
  self._info_exists = info_exists
838
845
 
846
+ @property
847
+ def cvat(self):
848
+ """Gets the cvat of this FileNode.
849
+
850
+
851
+ :return: The cvat of this FileNode.
852
+ :rtype: CVATInfo
853
+ """
854
+ return self._cvat
855
+
856
+ @cvat.setter
857
+ def cvat(self, cvat):
858
+ """Sets the cvat of this FileNode.
859
+
860
+
861
+ :param cvat: The cvat of this FileNode. # noqa: E501
862
+ :type: CVATInfo
863
+ """
864
+
865
+ self._cvat = cvat
866
+
839
867
  @property
840
868
  def zip_member_count(self):
841
869
  """Gets the zip_member_count of this FileNode.
@@ -19,6 +19,7 @@ import re # noqa: F401
19
19
  import six
20
20
 
21
21
  from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
22
+ from flywheel.models.cvat_info import CVATInfo # noqa: F401,E501
22
23
  from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
23
24
  from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
24
25
  from flywheel.models.file_group import FileGroup # noqa: F401,E501
@@ -61,6 +62,7 @@ class FileOutput(FileMixin):
61
62
  'client_hash': 'str',
62
63
  'info': 'object',
63
64
  'info_exists': 'bool',
65
+ 'cvat': 'CVATInfo',
64
66
  'zip_member_count': 'int',
65
67
  'gear_info': 'FileGearInfo',
66
68
  'copy_of': 'FileVersionCopyOf',
@@ -99,6 +101,7 @@ class FileOutput(FileMixin):
99
101
  'client_hash': 'client_hash',
100
102
  'info': 'info',
101
103
  'info_exists': 'info_exists',
104
+ 'cvat': 'cvat',
102
105
  'zip_member_count': 'zip_member_count',
103
106
  'gear_info': 'gear_info',
104
107
  'copy_of': 'copy_of',
@@ -137,6 +140,7 @@ class FileOutput(FileMixin):
137
140
  'client_hash': 'client_hash',
138
141
  'info': 'info',
139
142
  'info_exists': 'info_exists',
143
+ 'cvat': 'cvat',
140
144
  'zip_member_count': 'zip_member_count',
141
145
  'gear_info': 'gear_info',
142
146
  'copy_of': 'copy_of',
@@ -145,7 +149,7 @@ class FileOutput(FileMixin):
145
149
  'file_group': 'file_group'
146
150
  }
147
151
 
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
152
+ 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, cvat=None, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None): # noqa: E501
149
153
  """FileOutput - a model defined in Swagger"""
150
154
  super(FileOutput, self).__init__()
151
155
 
@@ -178,6 +182,7 @@ class FileOutput(FileMixin):
178
182
  self._client_hash = None
179
183
  self._info = None
180
184
  self._info_exists = None
185
+ self._cvat = None
181
186
  self._zip_member_count = None
182
187
  self._gear_info = None
183
188
  self._copy_of = None
@@ -235,6 +240,8 @@ class FileOutput(FileMixin):
235
240
  self.info = info
236
241
  if info_exists is not None:
237
242
  self.info_exists = info_exists
243
+ if cvat is not None:
244
+ self.cvat = cvat
238
245
  if zip_member_count is not None:
239
246
  self.zip_member_count = zip_member_count
240
247
  if gear_info is not None:
@@ -871,6 +878,27 @@ class FileOutput(FileMixin):
871
878
 
872
879
  self._info_exists = info_exists
873
880
 
881
+ @property
882
+ def cvat(self):
883
+ """Gets the cvat of this FileOutput.
884
+
885
+
886
+ :return: The cvat of this FileOutput.
887
+ :rtype: CVATInfo
888
+ """
889
+ return self._cvat
890
+
891
+ @cvat.setter
892
+ def cvat(self, cvat):
893
+ """Sets the cvat of this FileOutput.
894
+
895
+
896
+ :param cvat: The cvat of this FileOutput. # noqa: E501
897
+ :type: CVATInfo
898
+ """
899
+
900
+ self._cvat = cvat
901
+
874
902
  @property
875
903
  def zip_member_count(self):
876
904
  """Gets the zip_member_count of this FileOutput.
@@ -19,6 +19,7 @@ import re # noqa: F401
19
19
  import six
20
20
 
21
21
  from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
22
+ from flywheel.models.cvat_info import CVATInfo # noqa: F401,E501
22
23
  from flywheel.models.deid_log_skip_reason import DeidLogSkipReason # noqa: F401,E501
23
24
  from flywheel.models.file_gear_info import FileGearInfo # noqa: F401,E501
24
25
  from flywheel.models.file_group import FileGroup # noqa: F401,E501
@@ -61,6 +62,7 @@ class FileUpsertOutput(object):
61
62
  'client_hash': 'str',
62
63
  'info': 'object',
63
64
  'info_exists': 'bool',
65
+ 'cvat': 'CVATInfo',
64
66
  'zip_member_count': 'int',
65
67
  'gear_info': 'FileGearInfo',
66
68
  'copy_of': 'FileVersionCopyOf',
@@ -100,6 +102,7 @@ class FileUpsertOutput(object):
100
102
  'client_hash': 'client_hash',
101
103
  'info': 'info',
102
104
  'info_exists': 'info_exists',
105
+ 'cvat': 'cvat',
103
106
  'zip_member_count': 'zip_member_count',
104
107
  'gear_info': 'gear_info',
105
108
  'copy_of': 'copy_of',
@@ -139,6 +142,7 @@ class FileUpsertOutput(object):
139
142
  'client_hash': 'client_hash',
140
143
  'info': 'info',
141
144
  'info_exists': 'info_exists',
145
+ 'cvat': 'cvat',
142
146
  'zip_member_count': 'zip_member_count',
143
147
  'gear_info': 'gear_info',
144
148
  'copy_of': 'copy_of',
@@ -148,7 +152,7 @@ class FileUpsertOutput(object):
148
152
  'upsert_result': 'upsert_result'
149
153
  }
150
154
 
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
155
+ 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, cvat=None, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, upsert_result=None): # noqa: E501
152
156
  """FileUpsertOutput - a model defined in Swagger"""
153
157
  super(FileUpsertOutput, self).__init__()
154
158
 
@@ -181,6 +185,7 @@ class FileUpsertOutput(object):
181
185
  self._client_hash = None
182
186
  self._info = None
183
187
  self._info_exists = None
188
+ self._cvat = None
184
189
  self._zip_member_count = None
185
190
  self._gear_info = None
186
191
  self._copy_of = None
@@ -239,6 +244,8 @@ class FileUpsertOutput(object):
239
244
  self.info = info
240
245
  if info_exists is not None:
241
246
  self.info_exists = info_exists
247
+ if cvat is not None:
248
+ self.cvat = cvat
242
249
  if zip_member_count is not None:
243
250
  self.zip_member_count = zip_member_count
244
251
  if gear_info is not None:
@@ -876,6 +883,27 @@ class FileUpsertOutput(object):
876
883
 
877
884
  self._info_exists = info_exists
878
885
 
886
+ @property
887
+ def cvat(self):
888
+ """Gets the cvat of this FileUpsertOutput.
889
+
890
+
891
+ :return: The cvat of this FileUpsertOutput.
892
+ :rtype: CVATInfo
893
+ """
894
+ return self._cvat
895
+
896
+ @cvat.setter
897
+ def cvat(self, cvat):
898
+ """Sets the cvat of this FileUpsertOutput.
899
+
900
+
901
+ :param cvat: The cvat of this FileUpsertOutput. # noqa: E501
902
+ :type: CVATInfo
903
+ """
904
+
905
+ self._cvat = cvat
906
+
879
907
  @property
880
908
  def zip_member_count(self):
881
909
  """Gets the zip_member_count of this FileUpsertOutput.
flywheel/models/mixins.py CHANGED
@@ -49,9 +49,6 @@ class ContainerBase(object):
49
49
  fname = fname.replace("file", file_group)
50
50
  fn = getattr(self.__context, fname, None)
51
51
  if fn:
52
- if len(args) > 1 and isinstance(args[1], str):
53
- if "/" in args[1]:
54
- warnings.warn(f"Filename {args[1]} contains disallowed character '/', methods on this object will fail. Rename file with fw.move_file")
55
52
  return fn(*args, **kwargs)
56
53
  else:
57
54
  raise ValueError(
@@ -18,13 +18,13 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import six
20
20
 
21
+ from flywheel.models.copy_status import CopyStatus # noqa: F401,E501
21
22
  from flywheel.models.edition import Edition # noqa: F401,E501
22
23
  from flywheel.models.file_output import FileOutput # noqa: F401,E501
23
24
  from flywheel.models.join_origins import JoinOrigins # noqa: F401,E501
24
25
  from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
25
26
  from flywheel.models.locked import Locked # noqa: F401,E501
26
27
  from flywheel.models.note import Note # noqa: F401,E501
27
- from flywheel.models.project_copy_status import ProjectCopyStatus # noqa: F401,E501
28
28
  from flywheel.models.project_parents import ProjectParents # noqa: F401,E501
29
29
  from flywheel.models.project_settings_output import ProjectSettingsOutput # noqa: F401,E501
30
30
  from flywheel.models.project_stats import ProjectStats # noqa: F401,E501
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import six
20
20
 
21
- from flywheel.models.project_copy_filter import ProjectCopyFilter # noqa: F401,E501
21
+ from flywheel.models.copy_filter import CopyFilter # noqa: F401,E501
22
22
 
23
23
  class ProjectCopyInput(object):
24
24
 
@@ -26,7 +26,7 @@ class ProjectCopyInput(object):
26
26
  'group_id': 'str',
27
27
  'project_label': 'str',
28
28
  'snapshot_id': 'str',
29
- 'filter': 'ProjectCopyFilter'
29
+ 'filter': 'CopyFilter'
30
30
  }
31
31
 
32
32
  attribute_map = {
@@ -129,7 +129,7 @@ class ProjectCopyInput(object):
129
129
 
130
130
 
131
131
  :return: The filter of this ProjectCopyInput.
132
- :rtype: ProjectCopyFilter
132
+ :rtype: CopyFilter
133
133
  """
134
134
  return self._filter
135
135
 
@@ -139,7 +139,7 @@ class ProjectCopyInput(object):
139
139
 
140
140
 
141
141
  :param filter: The filter of this ProjectCopyInput. # noqa: E501
142
- :type: ProjectCopyFilter
142
+ :type: CopyFilter
143
143
  """
144
144
 
145
145
  self._filter = filter
@@ -18,9 +18,9 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import six
20
20
 
21
+ from flywheel.models.copy_status import CopyStatus # noqa: F401,E501
21
22
  from flywheel.models.edition import Edition # noqa: F401,E501
22
23
  from flywheel.models.ldap_sync_status import LdapSyncStatus # noqa: F401,E501
23
- from flywheel.models.project_copy_status import ProjectCopyStatus # noqa: F401,E501
24
24
  from flywheel.models.providers import Providers # noqa: F401,E501
25
25
 
26
26
  class ProjectModify(object):
@@ -34,7 +34,7 @@ class ProjectModify(object):
34
34
  'ldap_sync': 'LdapSyncStatus',
35
35
  'info': 'object',
36
36
  'copyable': 'bool',
37
- 'copy_status': 'ProjectCopyStatus',
37
+ 'copy_status': 'CopyStatus',
38
38
  'copy_failure_reason': 'str'
39
39
  }
40
40
 
@@ -276,7 +276,7 @@ class ProjectModify(object):
276
276
 
277
277
 
278
278
  :return: The copy_status of this ProjectModify.
279
- :rtype: ProjectCopyStatus
279
+ :rtype: CopyStatus
280
280
  """
281
281
  return self._copy_status
282
282
 
@@ -286,7 +286,7 @@ class ProjectModify(object):
286
286
 
287
287
 
288
288
  :param copy_status: The copy_status of this ProjectModify. # noqa: E501
289
- :type: ProjectCopyStatus
289
+ :type: CopyStatus
290
290
  """
291
291
 
292
292
  self._copy_status = copy_status