flywheel-sdk 18.4.1rc0__py2.py3-none-any.whl → 18.5.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.
- flywheel/__init__.py +0 -1
- flywheel/api/acquisitions_api.py +4 -4
- flywheel/api/audit_trail_api.py +2 -2
- flywheel/api/collections_api.py +4 -4
- flywheel/api/gears_api.py +2 -2
- flywheel/api/groups_api.py +8 -8
- flywheel/api/projects_api.py +18 -18
- flywheel/api/roles_api.py +2 -2
- flywheel/api/sessions_api.py +4 -4
- flywheel/api/subjects_api.py +6 -6
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +26 -26
- flywheel/models/__init__.py +1 -2
- flywheel/models/analysis_node.py +0 -1
- flywheel/models/analysis_output.py +3 -4
- flywheel/models/central_out.py +85 -4
- flywheel/models/change.py +3 -3
- flywheel/models/change_log_document.py +3 -3
- flywheel/models/config_out.py +1 -28
- flywheel/models/features.py +1 -28
- flywheel/models/field_change_log_document.py +3 -3
- flywheel/models/ingress_site_settings.py +3 -3
- flywheel/models/project_settings_input.py +3 -3
- flywheel/models/search_parent_analysis.py +0 -1
- flywheel/models/session_input.py +3 -3
- flywheel/models/session_modify.py +3 -3
- flywheel/models/validation_error.py +3 -3
- {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0rc0.dist-info}/METADATA +6 -6
- {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0rc0.dist-info}/RECORD +33 -34
- {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0rc0.dist-info}/WHEEL +1 -1
- flywheel/models/open_tracing.py +0 -244
- {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0rc0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0rc0.dist-info}/top_level.txt +0 -0
flywheel/flywheel.py
CHANGED
|
@@ -39,7 +39,7 @@ from flywheel.view_builder import ViewBuilder
|
|
|
39
39
|
from flywheel.finder import Finder
|
|
40
40
|
import flywheel.api
|
|
41
41
|
|
|
42
|
-
SDK_VERSION = "18.
|
|
42
|
+
SDK_VERSION = "18.5.0-rc0"
|
|
43
43
|
|
|
44
44
|
def config_from_api_key(api_key):
|
|
45
45
|
parts = api_key.split(':')
|
|
@@ -542,7 +542,7 @@ class Flywheel:
|
|
|
542
542
|
:param str acquisition_id: (required)
|
|
543
543
|
:param JoinType join:
|
|
544
544
|
:param bool join_avatars: add name and avatar to notes
|
|
545
|
-
:param list[union[HeaderFeature,
|
|
545
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
546
546
|
:param bool async_: Perform the request asynchronously
|
|
547
547
|
:return: AcquisitionOutput
|
|
548
548
|
"""
|
|
@@ -641,7 +641,7 @@ class Flywheel:
|
|
|
641
641
|
:param int skip: The number of entries to skip.
|
|
642
642
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
643
643
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
644
|
-
:param list[union[HeaderFeature,
|
|
644
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
645
645
|
:param bool async_: Perform the request asynchronously
|
|
646
646
|
:return: union[list[AcquisitionListOutput],Page]
|
|
647
647
|
"""
|
|
@@ -1209,7 +1209,7 @@ class Flywheel:
|
|
|
1209
1209
|
:param int skip: The number of entries to skip.
|
|
1210
1210
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
1211
1211
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
1212
|
-
:param list[union[HeaderFeature,
|
|
1212
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
1213
1213
|
:param bool async_: Perform the request asynchronously
|
|
1214
1214
|
:return: union[Page,list[AuditTrailReport]]
|
|
1215
1215
|
"""
|
|
@@ -1576,7 +1576,7 @@ class Flywheel:
|
|
|
1576
1576
|
:param int skip: The number of entries to skip.
|
|
1577
1577
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
1578
1578
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
1579
|
-
:param list[union[HeaderFeature,
|
|
1579
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
1580
1580
|
:param bool async_: Perform the request asynchronously
|
|
1581
1581
|
:return: union[Page,list[CollectionWithStats],list[CollectionOutput]]
|
|
1582
1582
|
"""
|
|
@@ -1608,7 +1608,7 @@ class Flywheel:
|
|
|
1608
1608
|
:param str collection_id: (required)
|
|
1609
1609
|
:param bool join_avatars: add name and avatar to notes
|
|
1610
1610
|
:param JoinType join:
|
|
1611
|
-
:param list[union[HeaderFeature,
|
|
1611
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
1612
1612
|
:param bool async_: Perform the request asynchronously
|
|
1613
1613
|
:return: CollectionOutput
|
|
1614
1614
|
"""
|
|
@@ -3167,7 +3167,7 @@ class Flywheel:
|
|
|
3167
3167
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
3168
3168
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
3169
3169
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
3170
|
-
:param list[union[HeaderFeature,
|
|
3170
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
3171
3171
|
:param bool async_: Perform the request asynchronously
|
|
3172
3172
|
:return: union[list[GearDocument],Page]
|
|
3173
3173
|
"""
|
|
@@ -3346,7 +3346,7 @@ class Flywheel:
|
|
|
3346
3346
|
:param str group_id: (required)
|
|
3347
3347
|
:param RolePermission body: (required)
|
|
3348
3348
|
:param bool propagate:
|
|
3349
|
-
:param list[union[HeaderFeature,
|
|
3349
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
3350
3350
|
:param bool async_: Perform the request asynchronously
|
|
3351
3351
|
:return: RolePermissionOutput
|
|
3352
3352
|
"""
|
|
@@ -3451,7 +3451,7 @@ class Flywheel:
|
|
|
3451
3451
|
:param str group_id: (required)
|
|
3452
3452
|
:param str user_id: (required)
|
|
3453
3453
|
:param bool propagate:
|
|
3454
|
-
:param list[union[HeaderFeature,
|
|
3454
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
3455
3455
|
:param bool async_: Perform the request asynchronously
|
|
3456
3456
|
:return: ModifiedResult
|
|
3457
3457
|
"""
|
|
@@ -3482,7 +3482,7 @@ class Flywheel:
|
|
|
3482
3482
|
:param int skip: The number of entries to skip.
|
|
3483
3483
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
3484
3484
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
3485
|
-
:param list[union[HeaderFeature,
|
|
3485
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
3486
3486
|
:param bool async_: Perform the request asynchronously
|
|
3487
3487
|
:return: union[Page,list[GroupOutput]]
|
|
3488
3488
|
"""
|
|
@@ -3609,7 +3609,7 @@ class Flywheel:
|
|
|
3609
3609
|
:param str user_id: (required)
|
|
3610
3610
|
:param RolePermissionUpdate body: (required)
|
|
3611
3611
|
:param bool propagate:
|
|
3612
|
-
:param list[union[HeaderFeature,
|
|
3612
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
3613
3613
|
:param bool async_: Perform the request asynchronously
|
|
3614
3614
|
:return: RolePermissionOutput
|
|
3615
3615
|
"""
|
|
@@ -4032,7 +4032,7 @@ class Flywheel:
|
|
|
4032
4032
|
|
|
4033
4033
|
:param str project_id: (required)
|
|
4034
4034
|
:param RolePermission body: (required)
|
|
4035
|
-
:param list[union[HeaderFeature,
|
|
4035
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4036
4036
|
:param bool async_: Perform the request asynchronously
|
|
4037
4037
|
:return: RolePermissionOutput
|
|
4038
4038
|
"""
|
|
@@ -4088,7 +4088,7 @@ class Flywheel:
|
|
|
4088
4088
|
:param int skip: The number of entries to skip
|
|
4089
4089
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
4090
4090
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
4091
|
-
:param list[union[HeaderFeature,
|
|
4091
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4092
4092
|
:param bool async_: Perform the request asynchronously
|
|
4093
4093
|
:return: union[list[CatalogListOutput],Page]
|
|
4094
4094
|
"""
|
|
@@ -4196,7 +4196,7 @@ class Flywheel:
|
|
|
4196
4196
|
|
|
4197
4197
|
:param str project_id: (required)
|
|
4198
4198
|
:param str uid: (required)
|
|
4199
|
-
:param list[union[HeaderFeature,
|
|
4199
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4200
4200
|
:param bool async_: Perform the request asynchronously
|
|
4201
4201
|
:return: ModifiedResult
|
|
4202
4202
|
"""
|
|
@@ -4430,7 +4430,7 @@ class Flywheel:
|
|
|
4430
4430
|
:param bool join_avatars: Return the joined avatars of the permissions
|
|
4431
4431
|
:param JoinType join:
|
|
4432
4432
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
4433
|
-
:param list[union[HeaderFeature,
|
|
4433
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4434
4434
|
:param bool async_: Perform the request asynchronously
|
|
4435
4435
|
:return: union[list[ProjectListOutput],Page]
|
|
4436
4436
|
"""
|
|
@@ -4472,7 +4472,7 @@ class Flywheel:
|
|
|
4472
4472
|
:param str project_id: (required)
|
|
4473
4473
|
:param JoinType join:
|
|
4474
4474
|
:param bool join_avatars: add name and avatar to notes
|
|
4475
|
-
:param list[union[HeaderFeature,
|
|
4475
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4476
4476
|
:param bool async_: Perform the request asynchronously
|
|
4477
4477
|
:return: ProjectOutput
|
|
4478
4478
|
"""
|
|
@@ -4601,7 +4601,7 @@ class Flywheel:
|
|
|
4601
4601
|
:param int skip: The number of entries to skip.
|
|
4602
4602
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
4603
4603
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
4604
|
-
:param list[union[HeaderFeature,
|
|
4604
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4605
4605
|
:param bool async_: Perform the request asynchronously
|
|
4606
4606
|
:return: union[Page,list[SessionListOutput]]
|
|
4607
4607
|
"""
|
|
@@ -4671,7 +4671,7 @@ class Flywheel:
|
|
|
4671
4671
|
|
|
4672
4672
|
:param str project_id: (required)
|
|
4673
4673
|
:param ProjectModify body: (required)
|
|
4674
|
-
:param list[union[HeaderFeature,
|
|
4674
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4675
4675
|
:param bool async_: Perform the request asynchronously
|
|
4676
4676
|
:return: ModifiedResult
|
|
4677
4677
|
"""
|
|
@@ -4781,7 +4781,7 @@ class Flywheel:
|
|
|
4781
4781
|
|
|
4782
4782
|
:param str project_id: (required)
|
|
4783
4783
|
:param ProjectSettingsInput body: (required)
|
|
4784
|
-
:param list[union[HeaderFeature,
|
|
4784
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4785
4785
|
:param bool async_: Perform the request asynchronously
|
|
4786
4786
|
:return: ProjectSettingsOutput
|
|
4787
4787
|
"""
|
|
@@ -4796,7 +4796,7 @@ class Flywheel:
|
|
|
4796
4796
|
:param str project_id: (required)
|
|
4797
4797
|
:param str uid: (required)
|
|
4798
4798
|
:param RolePermissionUpdate body: (required)
|
|
4799
|
-
:param list[union[HeaderFeature,
|
|
4799
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
4800
4800
|
:param bool async_: Perform the request asynchronously
|
|
4801
4801
|
:return: RolePermissionOutput
|
|
4802
4802
|
"""
|
|
@@ -5185,7 +5185,7 @@ class Flywheel:
|
|
|
5185
5185
|
|
|
5186
5186
|
:param str role_id: (required)
|
|
5187
5187
|
:param RoleUpdate body: (required)
|
|
5188
|
-
:param list[union[HeaderFeature,
|
|
5188
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
5189
5189
|
:param bool async_: Perform the request asynchronously
|
|
5190
5190
|
:return: RoleOutput
|
|
5191
5191
|
"""
|
|
@@ -5578,7 +5578,7 @@ class Flywheel:
|
|
|
5578
5578
|
:param int skip: The number of entries to skip.
|
|
5579
5579
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
5580
5580
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
5581
|
-
:param list[union[HeaderFeature,
|
|
5581
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
5582
5582
|
:param bool async_: Perform the request asynchronously
|
|
5583
5583
|
:return: union[Page,list[SessionListOutput]]
|
|
5584
5584
|
"""
|
|
@@ -5593,7 +5593,7 @@ class Flywheel:
|
|
|
5593
5593
|
:param str session_id: (required)
|
|
5594
5594
|
:param bool join_avatars: add name and avatar to notes
|
|
5595
5595
|
:param JoinType join:
|
|
5596
|
-
:param list[union[HeaderFeature,
|
|
5596
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
5597
5597
|
:param bool async_: Perform the request asynchronously
|
|
5598
5598
|
:return: SessionOutput
|
|
5599
5599
|
"""
|
|
@@ -6455,7 +6455,7 @@ class Flywheel:
|
|
|
6455
6455
|
:param int skip: The number of entries to skip.
|
|
6456
6456
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
6457
6457
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
6458
|
-
:param list[union[HeaderFeature,
|
|
6458
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
6459
6459
|
:param bool async_: Perform the request asynchronously
|
|
6460
6460
|
:return: union[Page,list[SubjectOutputForList]]
|
|
6461
6461
|
"""
|
|
@@ -6470,7 +6470,7 @@ class Flywheel:
|
|
|
6470
6470
|
:param str subject_id: 24-char hex subject id (required)
|
|
6471
6471
|
:param JoinType join: join file origins
|
|
6472
6472
|
:param bool join_avatars: add name and avatar to notes
|
|
6473
|
-
:param list[union[HeaderFeature,
|
|
6473
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
6474
6474
|
:param bool async_: Perform the request asynchronously
|
|
6475
6475
|
:return: SubjectOutput
|
|
6476
6476
|
"""
|
|
@@ -6554,7 +6554,7 @@ class Flywheel:
|
|
|
6554
6554
|
:param int skip: The number of entries to skip.
|
|
6555
6555
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
6556
6556
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
6557
|
-
:param list[union[HeaderFeature,
|
|
6557
|
+
:param list[union[HeaderFeature,str]] x_accept_feature:
|
|
6558
6558
|
:param bool async_: Perform the request asynchronously
|
|
6559
6559
|
:return: union[Page,list[SessionListOutput]]
|
|
6560
6560
|
"""
|
flywheel/models/__init__.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Flywheel: API for data import, automated curation, image processing, machine learning workflows, and secure collaboration. # noqa: E501
|
|
8
8
|
|
|
9
|
-
OpenAPI spec version: 18.
|
|
9
|
+
OpenAPI spec version: 18.5.0-rc0
|
|
10
10
|
|
|
11
11
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
"""
|
|
@@ -413,7 +413,6 @@ from flywheel.models.modify_user_input import ModifyUserInput
|
|
|
413
413
|
from flywheel.models.move_conflict import MoveConflict
|
|
414
414
|
from flywheel.models.note import Note
|
|
415
415
|
from flywheel.models.note_input import NoteInput
|
|
416
|
-
from flywheel.models.open_tracing import OpenTracing
|
|
417
416
|
from flywheel.models.optional_input_policy import OptionalInputPolicy
|
|
418
417
|
from flywheel.models.order import Order
|
|
419
418
|
from flywheel.models.organ_system import OrganSystem
|
flywheel/models/analysis_node.py
CHANGED
|
@@ -23,7 +23,6 @@ from flywheel.models.analysis_parents import AnalysisParents # noqa: F401,E501
|
|
|
23
23
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
24
24
|
from flywheel.models.file_output import FileOutput # noqa: F401,E501
|
|
25
25
|
from flywheel.models.gear_info import GearInfo # noqa: F401,E501
|
|
26
|
-
from flywheel.models.job import Job # noqa: F401,E501
|
|
27
26
|
from flywheel.models.join_origins import JoinOrigins # noqa: F401,E501
|
|
28
27
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
29
28
|
from flywheel.models.resolver_node import ResolverNode # noqa: F401,E501
|
|
@@ -22,7 +22,6 @@ from flywheel.models.analysis_parents import AnalysisParents # noqa: F401,E501
|
|
|
22
22
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
23
23
|
from flywheel.models.file_output import FileOutput # noqa: F401,E501
|
|
24
24
|
from flywheel.models.gear_info import GearInfo # noqa: F401,E501
|
|
25
|
-
from flywheel.models.job import Job # noqa: F401,E501
|
|
26
25
|
from flywheel.models.join_origins import JoinOrigins # noqa: F401,E501
|
|
27
26
|
from flywheel.models.note import Note # noqa: F401,E501
|
|
28
27
|
|
|
@@ -44,7 +43,7 @@ class AnalysisOutput(AnalysisMixin):
|
|
|
44
43
|
'files': 'list[FileOutput]',
|
|
45
44
|
'notes': 'list[Note]',
|
|
46
45
|
'tags': 'list[str]',
|
|
47
|
-
'job': '
|
|
46
|
+
'job': 'union[JobOutput,str]',
|
|
48
47
|
'gear_info': 'GearInfo',
|
|
49
48
|
'compute_provider_id': 'str',
|
|
50
49
|
'join_origin': 'JoinOrigins',
|
|
@@ -454,7 +453,7 @@ class AnalysisOutput(AnalysisMixin):
|
|
|
454
453
|
|
|
455
454
|
|
|
456
455
|
:return: The job of this AnalysisOutput.
|
|
457
|
-
:rtype:
|
|
456
|
+
:rtype: union[JobOutput,str]
|
|
458
457
|
"""
|
|
459
458
|
return self._job
|
|
460
459
|
|
|
@@ -464,7 +463,7 @@ class AnalysisOutput(AnalysisMixin):
|
|
|
464
463
|
|
|
465
464
|
|
|
466
465
|
:param job: The job of this AnalysisOutput. # noqa: E501
|
|
467
|
-
:type:
|
|
466
|
+
:type: union[JobOutput,str]
|
|
468
467
|
"""
|
|
469
468
|
|
|
470
469
|
self._job = job
|
flywheel/models/central_out.py
CHANGED
|
@@ -23,28 +23,40 @@ class CentralOut(object):
|
|
|
23
23
|
swagger_types = {
|
|
24
24
|
'enabled': 'bool',
|
|
25
25
|
'manager_url': 'str',
|
|
26
|
-
'app_url': 'str'
|
|
26
|
+
'app_url': 'str',
|
|
27
|
+
'tenant_id': 'str',
|
|
28
|
+
'tenant_path': 'str',
|
|
29
|
+
'organization_id': 'str'
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
attribute_map = {
|
|
30
33
|
'enabled': 'enabled',
|
|
31
34
|
'manager_url': 'manager_url',
|
|
32
|
-
'app_url': 'app_url'
|
|
35
|
+
'app_url': 'app_url',
|
|
36
|
+
'tenant_id': 'tenant_id',
|
|
37
|
+
'tenant_path': 'tenant_path',
|
|
38
|
+
'organization_id': 'organization_id'
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
rattribute_map = {
|
|
36
42
|
'enabled': 'enabled',
|
|
37
43
|
'manager_url': 'manager_url',
|
|
38
|
-
'app_url': 'app_url'
|
|
44
|
+
'app_url': 'app_url',
|
|
45
|
+
'tenant_id': 'tenant_id',
|
|
46
|
+
'tenant_path': 'tenant_path',
|
|
47
|
+
'organization_id': 'organization_id'
|
|
39
48
|
}
|
|
40
49
|
|
|
41
|
-
def __init__(self, enabled=False, manager_url='', app_url=''): # noqa: E501
|
|
50
|
+
def __init__(self, enabled=False, manager_url='', app_url='', tenant_id='', tenant_path='', organization_id=''): # noqa: E501
|
|
42
51
|
"""CentralOut - a model defined in Swagger"""
|
|
43
52
|
super(CentralOut, self).__init__()
|
|
44
53
|
|
|
45
54
|
self._enabled = None
|
|
46
55
|
self._manager_url = None
|
|
47
56
|
self._app_url = None
|
|
57
|
+
self._tenant_id = None
|
|
58
|
+
self._tenant_path = None
|
|
59
|
+
self._organization_id = None
|
|
48
60
|
self.discriminator = None
|
|
49
61
|
self.alt_discriminator = None
|
|
50
62
|
|
|
@@ -54,6 +66,12 @@ class CentralOut(object):
|
|
|
54
66
|
self.manager_url = manager_url
|
|
55
67
|
if app_url is not None:
|
|
56
68
|
self.app_url = app_url
|
|
69
|
+
if tenant_id is not None:
|
|
70
|
+
self.tenant_id = tenant_id
|
|
71
|
+
if tenant_path is not None:
|
|
72
|
+
self.tenant_path = tenant_path
|
|
73
|
+
if organization_id is not None:
|
|
74
|
+
self.organization_id = organization_id
|
|
57
75
|
|
|
58
76
|
@property
|
|
59
77
|
def enabled(self):
|
|
@@ -118,6 +136,69 @@ class CentralOut(object):
|
|
|
118
136
|
|
|
119
137
|
self._app_url = app_url
|
|
120
138
|
|
|
139
|
+
@property
|
|
140
|
+
def tenant_id(self):
|
|
141
|
+
"""Gets the tenant_id of this CentralOut.
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
:return: The tenant_id of this CentralOut.
|
|
145
|
+
:rtype: str
|
|
146
|
+
"""
|
|
147
|
+
return self._tenant_id
|
|
148
|
+
|
|
149
|
+
@tenant_id.setter
|
|
150
|
+
def tenant_id(self, tenant_id):
|
|
151
|
+
"""Sets the tenant_id of this CentralOut.
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
:param tenant_id: The tenant_id of this CentralOut. # noqa: E501
|
|
155
|
+
:type: str
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
self._tenant_id = tenant_id
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def tenant_path(self):
|
|
162
|
+
"""Gets the tenant_path of this CentralOut.
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
:return: The tenant_path of this CentralOut.
|
|
166
|
+
:rtype: str
|
|
167
|
+
"""
|
|
168
|
+
return self._tenant_path
|
|
169
|
+
|
|
170
|
+
@tenant_path.setter
|
|
171
|
+
def tenant_path(self, tenant_path):
|
|
172
|
+
"""Sets the tenant_path of this CentralOut.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param tenant_path: The tenant_path of this CentralOut. # noqa: E501
|
|
176
|
+
:type: str
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
self._tenant_path = tenant_path
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
def organization_id(self):
|
|
183
|
+
"""Gets the organization_id of this CentralOut.
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
:return: The organization_id of this CentralOut.
|
|
187
|
+
:rtype: str
|
|
188
|
+
"""
|
|
189
|
+
return self._organization_id
|
|
190
|
+
|
|
191
|
+
@organization_id.setter
|
|
192
|
+
def organization_id(self, organization_id):
|
|
193
|
+
"""Sets the organization_id of this CentralOut.
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
:param organization_id: The organization_id of this CentralOut. # noqa: E501
|
|
197
|
+
:type: str
|
|
198
|
+
"""
|
|
199
|
+
|
|
200
|
+
self._organization_id = organization_id
|
|
201
|
+
|
|
121
202
|
|
|
122
203
|
@staticmethod
|
|
123
204
|
def positional_to_model(value):
|
flywheel/models/change.py
CHANGED
|
@@ -27,7 +27,7 @@ class Change(object):
|
|
|
27
27
|
swagger_types = {
|
|
28
28
|
'created': 'datetime',
|
|
29
29
|
'origin': 'Origin',
|
|
30
|
-
'container_type': 'union[ContainerType,
|
|
30
|
+
'container_type': 'union[ContainerType,str]',
|
|
31
31
|
'container_id': 'str',
|
|
32
32
|
'file_version': 'int',
|
|
33
33
|
'method': 'ChangeMethod',
|
|
@@ -137,7 +137,7 @@ class Change(object):
|
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
:return: The container_type of this Change.
|
|
140
|
-
:rtype: union[ContainerType,
|
|
140
|
+
:rtype: union[ContainerType,str]
|
|
141
141
|
"""
|
|
142
142
|
return self._container_type
|
|
143
143
|
|
|
@@ -147,7 +147,7 @@ class Change(object):
|
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
:param container_type: The container_type of this Change. # noqa: E501
|
|
150
|
-
:type: union[ContainerType,
|
|
150
|
+
:type: union[ContainerType,str]
|
|
151
151
|
"""
|
|
152
152
|
|
|
153
153
|
self._container_type = container_type
|
|
@@ -23,7 +23,7 @@ from flywheel.models.change import Change # noqa: F401,E501
|
|
|
23
23
|
class ChangeLogDocument(object):
|
|
24
24
|
|
|
25
25
|
swagger_types = {
|
|
26
|
-
'container_type': 'union[ContainerType,
|
|
26
|
+
'container_type': 'union[ContainerType,str]',
|
|
27
27
|
'container_id': 'str',
|
|
28
28
|
'file_version': 'int',
|
|
29
29
|
'changes': 'list[Change]'
|
|
@@ -66,7 +66,7 @@ class ChangeLogDocument(object):
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
:return: The container_type of this ChangeLogDocument.
|
|
69
|
-
:rtype: union[ContainerType,
|
|
69
|
+
:rtype: union[ContainerType,str]
|
|
70
70
|
"""
|
|
71
71
|
return self._container_type
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ class ChangeLogDocument(object):
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
:param container_type: The container_type of this ChangeLogDocument. # noqa: E501
|
|
79
|
-
:type: union[ContainerType,
|
|
79
|
+
:type: union[ContainerType,str]
|
|
80
80
|
"""
|
|
81
81
|
|
|
82
82
|
self._container_type = container_type
|
flywheel/models/config_out.py
CHANGED
|
@@ -20,7 +20,6 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.models.auth_out import AuthOut # noqa: F401,E501
|
|
22
22
|
from flywheel.models.central_out import CentralOut # noqa: F401,E501
|
|
23
|
-
from flywheel.models.open_tracing import OpenTracing # noqa: F401,E501
|
|
24
23
|
from flywheel.models.site import Site # noqa: F401,E501
|
|
25
24
|
|
|
26
25
|
class ConfigOut(object):
|
|
@@ -32,7 +31,6 @@ class ConfigOut(object):
|
|
|
32
31
|
'wip_features': 'WorkInProgressFeatures',
|
|
33
32
|
'signed_url': 'bool',
|
|
34
33
|
'auth': 'AuthOut',
|
|
35
|
-
'open_tracing': 'OpenTracing',
|
|
36
34
|
'created': 'datetime',
|
|
37
35
|
'modified': 'datetime',
|
|
38
36
|
'central': 'CentralOut'
|
|
@@ -45,7 +43,6 @@ class ConfigOut(object):
|
|
|
45
43
|
'wip_features': 'wip_features',
|
|
46
44
|
'signed_url': 'signed_url',
|
|
47
45
|
'auth': 'auth',
|
|
48
|
-
'open_tracing': 'open_tracing',
|
|
49
46
|
'created': 'created',
|
|
50
47
|
'modified': 'modified',
|
|
51
48
|
'central': 'central'
|
|
@@ -58,13 +55,12 @@ class ConfigOut(object):
|
|
|
58
55
|
'wip_features': 'wip_features',
|
|
59
56
|
'signed_url': 'signed_url',
|
|
60
57
|
'auth': 'auth',
|
|
61
|
-
'open_tracing': 'open_tracing',
|
|
62
58
|
'created': 'created',
|
|
63
59
|
'modified': 'modified',
|
|
64
60
|
'central': 'central'
|
|
65
61
|
}
|
|
66
62
|
|
|
67
|
-
def __init__(self, last_updated=None, site=None, features=None, wip_features=None, signed_url=False, auth=None,
|
|
63
|
+
def __init__(self, last_updated=None, site=None, features=None, wip_features=None, signed_url=False, auth=None, created=None, modified=None, central=None): # noqa: E501
|
|
68
64
|
"""ConfigOut - a model defined in Swagger"""
|
|
69
65
|
super(ConfigOut, self).__init__()
|
|
70
66
|
|
|
@@ -74,7 +70,6 @@ class ConfigOut(object):
|
|
|
74
70
|
self._wip_features = None
|
|
75
71
|
self._signed_url = None
|
|
76
72
|
self._auth = None
|
|
77
|
-
self._open_tracing = None
|
|
78
73
|
self._created = None
|
|
79
74
|
self._modified = None
|
|
80
75
|
self._central = None
|
|
@@ -90,7 +85,6 @@ class ConfigOut(object):
|
|
|
90
85
|
if signed_url is not None:
|
|
91
86
|
self.signed_url = signed_url
|
|
92
87
|
self.auth = auth
|
|
93
|
-
self.open_tracing = open_tracing
|
|
94
88
|
self.created = created
|
|
95
89
|
self.modified = modified
|
|
96
90
|
self.central = central
|
|
@@ -221,27 +215,6 @@ class ConfigOut(object):
|
|
|
221
215
|
|
|
222
216
|
self._auth = auth
|
|
223
217
|
|
|
224
|
-
@property
|
|
225
|
-
def open_tracing(self):
|
|
226
|
-
"""Gets the open_tracing of this ConfigOut.
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
:return: The open_tracing of this ConfigOut.
|
|
230
|
-
:rtype: OpenTracing
|
|
231
|
-
"""
|
|
232
|
-
return self._open_tracing
|
|
233
|
-
|
|
234
|
-
@open_tracing.setter
|
|
235
|
-
def open_tracing(self, open_tracing):
|
|
236
|
-
"""Sets the open_tracing of this ConfigOut.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
:param open_tracing: The open_tracing of this ConfigOut. # noqa: E501
|
|
240
|
-
:type: OpenTracing
|
|
241
|
-
"""
|
|
242
|
-
|
|
243
|
-
self._open_tracing = open_tracing
|
|
244
|
-
|
|
245
218
|
@property
|
|
246
219
|
def created(self):
|
|
247
220
|
"""Gets the created of this ConfigOut.
|
flywheel/models/features.py
CHANGED
|
@@ -60,7 +60,6 @@ class Features(object):
|
|
|
60
60
|
'ohif_v3_datasource': 'str',
|
|
61
61
|
'ohif_v3_default_app': 'bool',
|
|
62
62
|
'ohif_v3_readonly': 'bool',
|
|
63
|
-
'open_tracing': 'bool',
|
|
64
63
|
'project_export': 'bool',
|
|
65
64
|
'project_import': 'bool',
|
|
66
65
|
'project_list_uses_stats': 'bool',
|
|
@@ -124,7 +123,6 @@ class Features(object):
|
|
|
124
123
|
'ohif_v3_datasource': 'ohif_v3_datasource',
|
|
125
124
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
126
125
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
127
|
-
'open_tracing': 'open_tracing',
|
|
128
126
|
'project_export': 'project_export',
|
|
129
127
|
'project_import': 'project_import',
|
|
130
128
|
'project_list_uses_stats': 'project_list_uses_stats',
|
|
@@ -188,7 +186,6 @@ class Features(object):
|
|
|
188
186
|
'ohif_v3_datasource': 'ohif_v3_datasource',
|
|
189
187
|
'ohif_v3_default_app': 'ohif_v3_default_app',
|
|
190
188
|
'ohif_v3_readonly': 'ohif_v3_readonly',
|
|
191
|
-
'open_tracing': 'open_tracing',
|
|
192
189
|
'project_export': 'project_export',
|
|
193
190
|
'project_import': 'project_import',
|
|
194
191
|
'project_list_uses_stats': 'project_list_uses_stats',
|
|
@@ -212,7 +209,7 @@ class Features(object):
|
|
|
212
209
|
'unified_upload_disable_uid_conflict': 'unified_upload_disable_uid_conflict'
|
|
213
210
|
}
|
|
214
211
|
|
|
215
|
-
def __init__(self, api_enabled_gear_rules=True, auth0=None, audit_trail=False, azureml_integration=False, cold_job_logs=False, collections=False, copy_by_reference=True, core_api=True, crawler=False, data_views_non_21_cfr=True, default_viewer_apps=True, deid_log=False, deid_profile=False, dicom_web_uploader_non_21_cfr=True, dimse=False, elastic_search_primary=False, exchange=False, exchange_admin=False, external_routing=False, gear_access=False, google_analytics=True, healthcare_api=False, job_ask=True, job_prioritization=True, job_tickets=True, jupyter_integration=False, ldap_sync=False, multifactor_auth=False, multipart_signed_url=True, multiproject=False, ohif_multi_subject_view=False, ohif_react=False, ohif_react_beta=False, ohif_slice_order=None, ohif_v3=False, ohif_v3_beta=False, ohif_v3_datasource=None, ohif_v3_default_app=False, ohif_v3_readonly=True,
|
|
212
|
+
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=False, google_analytics=True, healthcare_api=False, job_ask=True, job_prioritization=True, job_tickets=True, jupyter_integration=False, ldap_sync=False, multifactor_auth=False, multipart_signed_url=True, multiproject=False, ohif_multi_subject_view=False, ohif_react=False, ohif_react_beta=False, ohif_slice_order=None, ohif_v3=False, ohif_v3_beta=False, ohif_v3_datasource=None, ohif_v3_default_app=False, ohif_v3_readonly=True, project_export=True, project_import=False, 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, unsafe_login=False, url_access_apps=False, userpilot=None, validate_classification=False, virus_scan=False, web_uploader_v2=False, unified_upload_disable_uid_conflict=False): # noqa: E501
|
|
216
213
|
"""Features - a model defined in Swagger"""
|
|
217
214
|
super(Features, self).__init__()
|
|
218
215
|
|
|
@@ -255,7 +252,6 @@ class Features(object):
|
|
|
255
252
|
self._ohif_v3_datasource = None
|
|
256
253
|
self._ohif_v3_default_app = None
|
|
257
254
|
self._ohif_v3_readonly = None
|
|
258
|
-
self._open_tracing = None
|
|
259
255
|
self._project_export = None
|
|
260
256
|
self._project_import = None
|
|
261
257
|
self._project_list_uses_stats = None
|
|
@@ -358,8 +354,6 @@ class Features(object):
|
|
|
358
354
|
self.ohif_v3_default_app = ohif_v3_default_app
|
|
359
355
|
if ohif_v3_readonly is not None:
|
|
360
356
|
self.ohif_v3_readonly = ohif_v3_readonly
|
|
361
|
-
if open_tracing is not None:
|
|
362
|
-
self.open_tracing = open_tracing
|
|
363
357
|
if project_export is not None:
|
|
364
358
|
self.project_export = project_export
|
|
365
359
|
if project_import is not None:
|
|
@@ -1222,27 +1216,6 @@ class Features(object):
|
|
|
1222
1216
|
|
|
1223
1217
|
self._ohif_v3_readonly = ohif_v3_readonly
|
|
1224
1218
|
|
|
1225
|
-
@property
|
|
1226
|
-
def open_tracing(self):
|
|
1227
|
-
"""Gets the open_tracing of this Features.
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
:return: The open_tracing of this Features.
|
|
1231
|
-
:rtype: bool
|
|
1232
|
-
"""
|
|
1233
|
-
return self._open_tracing
|
|
1234
|
-
|
|
1235
|
-
@open_tracing.setter
|
|
1236
|
-
def open_tracing(self, open_tracing):
|
|
1237
|
-
"""Sets the open_tracing of this Features.
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
:param open_tracing: The open_tracing of this Features. # noqa: E501
|
|
1241
|
-
:type: bool
|
|
1242
|
-
"""
|
|
1243
|
-
|
|
1244
|
-
self._open_tracing = open_tracing
|
|
1245
|
-
|
|
1246
1219
|
@property
|
|
1247
1220
|
def project_export(self):
|
|
1248
1221
|
"""Gets the project_export of this Features.
|
|
@@ -23,7 +23,7 @@ from flywheel.models.field_change import FieldChange # noqa: F401,E501
|
|
|
23
23
|
class FieldChangeLogDocument(object):
|
|
24
24
|
|
|
25
25
|
swagger_types = {
|
|
26
|
-
'container_type': 'union[ContainerType,
|
|
26
|
+
'container_type': 'union[ContainerType,str]',
|
|
27
27
|
'container_id': 'str',
|
|
28
28
|
'file_version': 'int',
|
|
29
29
|
'changes': 'list[FieldChange]'
|
|
@@ -66,7 +66,7 @@ class FieldChangeLogDocument(object):
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
:return: The container_type of this FieldChangeLogDocument.
|
|
69
|
-
:rtype: union[ContainerType,
|
|
69
|
+
:rtype: union[ContainerType,str]
|
|
70
70
|
"""
|
|
71
71
|
return self._container_type
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ class FieldChangeLogDocument(object):
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
:param container_type: The container_type of this FieldChangeLogDocument. # noqa: E501
|
|
79
|
-
:type: union[ContainerType,
|
|
79
|
+
:type: union[ContainerType,str]
|
|
80
80
|
"""
|
|
81
81
|
|
|
82
82
|
self._container_type = container_type
|