flywheel-sdk 18.3.0rc0__py2.py3-none-any.whl → 18.4.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 +7 -6
- flywheel/api/__init__.py +1 -1
- flywheel/api/acquisitions_api.py +10 -6
- flywheel/api/analyses_api.py +5 -1
- flywheel/api/bulk_api.py +3 -3
- flywheel/api/collections_api.py +5 -1
- flywheel/api/containers_api.py +10 -6
- flywheel/api/gears_api.py +3 -3
- flywheel/api/{workspaces_api.py → jupyterlab_servers_api.py} +47 -47
- flywheel/api/projects_api.py +10 -6
- flywheel/api/reports_api.py +30 -5
- flywheel/api/sessions_api.py +10 -6
- flywheel/api/site_api.py +6 -6
- flywheel/api/subjects_api.py +10 -6
- flywheel/api/upload_api.py +15 -15
- flywheel/api/views_api.py +4 -4
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +55 -42
- flywheel/models/__init__.py +9 -8
- flywheel/models/as_storage.py +1 -1
- flywheel/models/aws_storage.py +1 -1
- flywheel/models/base_compute.py +1 -1
- flywheel/models/central_out.py +31 -4
- flywheel/models/change_method.py +1 -0
- flywheel/models/container_type.py +1 -1
- flywheel/models/context_input.py +1 -1
- flywheel/models/core_models_jobs_api_key_input.py +1 -1
- flywheel/models/exchange_storage.py +1 -1
- flywheel/models/gcp_storage.py +1 -1
- flywheel/models/gear_context_input.py +1 -1
- flywheel/models/gear_context_value_output_unfound.py +1 -1
- flywheel/models/gear_file_input.py +1 -1
- flywheel/models/gear_key_input.py +1 -1
- flywheel/models/job_file_input.py +1 -1
- flywheel/models/job_file_input_list_output.py +1 -1
- flywheel/models/{workspace_modify.py → jupyterlab_server_modify.py} +24 -24
- flywheel/models/{workspace_origin.py → jupyterlab_server_origin.py} +1 -1
- flywheel/models/{workspace_output.py → jupyterlab_server_output.py} +2 -2
- flywheel/models/{workspace_response.py → jupyterlab_server_response.py} +44 -44
- flywheel/models/{workspace_update.py → jupyterlab_server_update.py} +2 -2
- flywheel/models/local_storage.py +1 -1
- flywheel/models/mixins.py +10 -4
- flywheel/models/move_conflict.py +298 -0
- flywheel/models/s3_compat_storage.py +1 -1
- flywheel/models/site_settings.py +1 -1
- flywheel/models/static_compute.py +1 -1
- {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/METADATA +2 -2
- {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/RECORD +52 -51
- {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/top_level.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -38,6 +38,7 @@ from flywheel.api.files_api import FilesApi
|
|
|
38
38
|
from flywheel.api.gears_api import GearsApi
|
|
39
39
|
from flywheel.api.groups_api import GroupsApi
|
|
40
40
|
from flywheel.api.jobs_api import JobsApi
|
|
41
|
+
from flywheel.api.jupyterlab_servers_api import JupyterlabServersApi
|
|
41
42
|
from flywheel.api.modalities_api import ModalitiesApi
|
|
42
43
|
from flywheel.api.packfiles_api import PackfilesApi
|
|
43
44
|
from flywheel.api.projects_api import ProjectsApi
|
|
@@ -52,7 +53,6 @@ from flywheel.api.uids_api import UidsApi
|
|
|
52
53
|
from flywheel.api.upload_api import UploadApi
|
|
53
54
|
from flywheel.api.users_api import UsersApi
|
|
54
55
|
from flywheel.api.views_api import ViewsApi
|
|
55
|
-
from flywheel.api.workspaces_api import WorkspacesApi
|
|
56
56
|
|
|
57
57
|
# import ApiClient
|
|
58
58
|
from flywheel.file_spec import FileSpec
|
|
@@ -433,6 +433,11 @@ from flywheel.models.join_origin_user import JoinOriginUser
|
|
|
433
433
|
from flywheel.models.join_origins import JoinOrigins
|
|
434
434
|
from flywheel.models.join_type import JoinType
|
|
435
435
|
from flywheel.models.jupyterhub_workspace import JupyterhubWorkspace
|
|
436
|
+
from flywheel.models.jupyterlab_server_modify import JupyterlabServerModify
|
|
437
|
+
from flywheel.models.jupyterlab_server_origin import JupyterlabServerOrigin
|
|
438
|
+
from flywheel.models.jupyterlab_server_output import JupyterlabServerOutput
|
|
439
|
+
from flywheel.models.jupyterlab_server_response import JupyterlabServerResponse
|
|
440
|
+
from flywheel.models.jupyterlab_server_update import JupyterlabServerUpdate
|
|
436
441
|
from flywheel.models.ldap_sync import LdapSync
|
|
437
442
|
from flywheel.models.ldap_sync_config import LdapSyncConfig
|
|
438
443
|
from flywheel.models.ldap_sync_input import LdapSyncInput
|
|
@@ -457,6 +462,7 @@ from flywheel.models.modality_output import ModalityOutput
|
|
|
457
462
|
from flywheel.models.modified_result import ModifiedResult
|
|
458
463
|
from flywheel.models.modify_report_input import ModifyReportInput
|
|
459
464
|
from flywheel.models.modify_user_input import ModifyUserInput
|
|
465
|
+
from flywheel.models.move_conflict import MoveConflict
|
|
460
466
|
from flywheel.models.note import Note
|
|
461
467
|
from flywheel.models.note_input import NoteInput
|
|
462
468
|
from flywheel.models.open_tracing import OpenTracing
|
|
@@ -713,10 +719,5 @@ from flywheel.models.viewer_app_type import ViewerAppType
|
|
|
713
719
|
from flywheel.models.virus_scan import VirusScan
|
|
714
720
|
from flywheel.models.virus_scan_state import VirusScanState
|
|
715
721
|
from flywheel.models.work_in_progress_features import WorkInProgressFeatures
|
|
716
|
-
from flywheel.models.workspace_modify import WorkspaceModify
|
|
717
|
-
from flywheel.models.workspace_origin import WorkspaceOrigin
|
|
718
|
-
from flywheel.models.workspace_output import WorkspaceOutput
|
|
719
|
-
from flywheel.models.workspace_response import WorkspaceResponse
|
|
720
|
-
from flywheel.models.workspace_update import WorkspaceUpdate
|
|
721
722
|
from flywheel.models.zipfile_info import ZipfileInfo
|
|
722
723
|
from flywheel.models.zipfile_member_info import ZipfileMemberInfo
|
flywheel/api/__init__.py
CHANGED
|
@@ -22,6 +22,7 @@ from flywheel.api.files_api import FilesApi
|
|
|
22
22
|
from flywheel.api.gears_api import GearsApi
|
|
23
23
|
from flywheel.api.groups_api import GroupsApi
|
|
24
24
|
from flywheel.api.jobs_api import JobsApi
|
|
25
|
+
from flywheel.api.jupyterlab_servers_api import JupyterlabServersApi
|
|
25
26
|
from flywheel.api.modalities_api import ModalitiesApi
|
|
26
27
|
from flywheel.api.packfiles_api import PackfilesApi
|
|
27
28
|
from flywheel.api.projects_api import ProjectsApi
|
|
@@ -36,4 +37,3 @@ from flywheel.api.uids_api import UidsApi
|
|
|
36
37
|
from flywheel.api.upload_api import UploadApi
|
|
37
38
|
from flywheel.api.users_api import UsersApi
|
|
38
39
|
from flywheel.api.views_api import ViewsApi
|
|
39
|
-
from flywheel.api.workspaces_api import WorkspacesApi
|
flywheel/api/acquisitions_api.py
CHANGED
|
@@ -4478,6 +4478,7 @@ class AcquisitionsApi(object):
|
|
|
4478
4478
|
:param str file: The file to upload (required)
|
|
4479
4479
|
:param bool preserve_metadata:
|
|
4480
4480
|
:param str ticket:
|
|
4481
|
+
:param str id:
|
|
4481
4482
|
:param ContainerType level:
|
|
4482
4483
|
:param str job:
|
|
4483
4484
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -4511,6 +4512,7 @@ class AcquisitionsApi(object):
|
|
|
4511
4512
|
:param str file: The file to upload (required)
|
|
4512
4513
|
:param bool preserve_metadata:
|
|
4513
4514
|
:param str ticket:
|
|
4515
|
+
:param str id:
|
|
4514
4516
|
:param ContainerType level:
|
|
4515
4517
|
:param str job:
|
|
4516
4518
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -4520,7 +4522,7 @@ class AcquisitionsApi(object):
|
|
|
4520
4522
|
:return: union[list[FileOutput],UploadTicketOutput]
|
|
4521
4523
|
"""
|
|
4522
4524
|
|
|
4523
|
-
all_params = ['container_id','file','preserve_metadata','ticket','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
4525
|
+
all_params = ['container_id','file','preserve_metadata','ticket','id','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
4524
4526
|
all_params.append('async_')
|
|
4525
4527
|
all_params.append('_return_http_data_only')
|
|
4526
4528
|
all_params.append('_preload_content')
|
|
@@ -4556,6 +4558,8 @@ class AcquisitionsApi(object):
|
|
|
4556
4558
|
query_params.append(('preserve_metadata', params['preserve_metadata'])) # noqa: E501
|
|
4557
4559
|
if 'ticket' in params:
|
|
4558
4560
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
4561
|
+
if 'id' in params:
|
|
4562
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
4559
4563
|
if 'level' in params:
|
|
4560
4564
|
query_params.append(('level', params['level'])) # noqa: E501
|
|
4561
4565
|
if 'job' in params:
|
|
@@ -4614,8 +4618,8 @@ class AcquisitionsApi(object):
|
|
|
4614
4618
|
:param str analysis_id: (required)
|
|
4615
4619
|
:param str file: The file to upload (required)
|
|
4616
4620
|
:param str ticket:
|
|
4617
|
-
:param ContainerType level:
|
|
4618
4621
|
:param str id:
|
|
4622
|
+
:param ContainerType level:
|
|
4619
4623
|
:param str job:
|
|
4620
4624
|
:param str content_type:
|
|
4621
4625
|
:param bool async_: Perform the request asynchronously
|
|
@@ -4647,15 +4651,15 @@ class AcquisitionsApi(object):
|
|
|
4647
4651
|
:param str analysis_id: (required)
|
|
4648
4652
|
:param str file: The file to upload (required)
|
|
4649
4653
|
:param str ticket:
|
|
4650
|
-
:param ContainerType level:
|
|
4651
4654
|
:param str id:
|
|
4655
|
+
:param ContainerType level:
|
|
4652
4656
|
:param str job:
|
|
4653
4657
|
:param str content_type:
|
|
4654
4658
|
:param bool async_: Perform the request asynchronously
|
|
4655
4659
|
:return: list[FileOutput]
|
|
4656
4660
|
"""
|
|
4657
4661
|
|
|
4658
|
-
all_params = ['cid','analysis_id','file','ticket','
|
|
4662
|
+
all_params = ['cid','analysis_id','file','ticket','id','level','job','content_type',] # noqa: E501
|
|
4659
4663
|
all_params.append('async_')
|
|
4660
4664
|
all_params.append('_return_http_data_only')
|
|
4661
4665
|
all_params.append('_preload_content')
|
|
@@ -4695,10 +4699,10 @@ class AcquisitionsApi(object):
|
|
|
4695
4699
|
query_params = []
|
|
4696
4700
|
if 'ticket' in params:
|
|
4697
4701
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
4698
|
-
if 'level' in params:
|
|
4699
|
-
query_params.append(('level', params['level'])) # noqa: E501
|
|
4700
4702
|
if 'id' in params:
|
|
4701
4703
|
query_params.append(('id', params['id'])) # noqa: E501
|
|
4704
|
+
if 'level' in params:
|
|
4705
|
+
query_params.append(('level', params['level'])) # noqa: E501
|
|
4702
4706
|
if 'job' in params:
|
|
4703
4707
|
query_params.append(('job', params['job'])) # noqa: E501
|
|
4704
4708
|
|
flywheel/api/analyses_api.py
CHANGED
|
@@ -2479,6 +2479,7 @@ class AnalysesApi(object):
|
|
|
2479
2479
|
:param str file: The file to upload (required)
|
|
2480
2480
|
:param str ticket:
|
|
2481
2481
|
:param bool preserve_metadata:
|
|
2482
|
+
:param str id:
|
|
2482
2483
|
:param ContainerType level:
|
|
2483
2484
|
:param str job:
|
|
2484
2485
|
:param list[str] x_accept_feature: redirect header
|
|
@@ -2512,6 +2513,7 @@ class AnalysesApi(object):
|
|
|
2512
2513
|
:param str file: The file to upload (required)
|
|
2513
2514
|
:param str ticket:
|
|
2514
2515
|
:param bool preserve_metadata:
|
|
2516
|
+
:param str id:
|
|
2515
2517
|
:param ContainerType level:
|
|
2516
2518
|
:param str job:
|
|
2517
2519
|
:param list[str] x_accept_feature: redirect header
|
|
@@ -2520,7 +2522,7 @@ class AnalysesApi(object):
|
|
|
2520
2522
|
:return: None
|
|
2521
2523
|
"""
|
|
2522
2524
|
|
|
2523
|
-
all_params = ['container_id','file','ticket','preserve_metadata','level','job','x_accept_feature','content_type',] # noqa: E501
|
|
2525
|
+
all_params = ['container_id','file','ticket','preserve_metadata','id','level','job','x_accept_feature','content_type',] # noqa: E501
|
|
2524
2526
|
all_params.append('async_')
|
|
2525
2527
|
all_params.append('_return_http_data_only')
|
|
2526
2528
|
all_params.append('_preload_content')
|
|
@@ -2556,6 +2558,8 @@ class AnalysesApi(object):
|
|
|
2556
2558
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
2557
2559
|
if 'preserve_metadata' in params:
|
|
2558
2560
|
query_params.append(('preserve_metadata', params['preserve_metadata'])) # noqa: E501
|
|
2561
|
+
if 'id' in params:
|
|
2562
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
2559
2563
|
if 'level' in params:
|
|
2560
2564
|
query_params.append(('level', params['level'])) # noqa: E501
|
|
2561
2565
|
if 'job' in params:
|
flywheel/api/bulk_api.py
CHANGED
|
@@ -37,7 +37,7 @@ class BulkApi(object):
|
|
|
37
37
|
|
|
38
38
|
:param BulkMoveInput body: (required)
|
|
39
39
|
:param bool async_: Perform the request asynchronously
|
|
40
|
-
:return:
|
|
40
|
+
:return: list[MoveConflict]
|
|
41
41
|
"""
|
|
42
42
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
43
43
|
kwargs['_return_http_data_only'] = True
|
|
@@ -62,7 +62,7 @@ class BulkApi(object):
|
|
|
62
62
|
|
|
63
63
|
:param BulkMoveInput body: (required)
|
|
64
64
|
:param bool async_: Perform the request asynchronously
|
|
65
|
-
:return:
|
|
65
|
+
:return: list[MoveConflict]
|
|
66
66
|
"""
|
|
67
67
|
|
|
68
68
|
all_params = ['body',] # noqa: E501
|
|
@@ -126,7 +126,7 @@ class BulkApi(object):
|
|
|
126
126
|
body=body_params,
|
|
127
127
|
post_params=form_params,
|
|
128
128
|
files=local_var_files,
|
|
129
|
-
response_type=
|
|
129
|
+
response_type='list[MoveConflict]', # noqa: E501
|
|
130
130
|
auth_settings=auth_settings,
|
|
131
131
|
async_=params.get('async_'),
|
|
132
132
|
_return_http_data_only=params.get('_return_http_data_only'),
|
flywheel/api/collections_api.py
CHANGED
|
@@ -3634,6 +3634,7 @@ class CollectionsApi(object):
|
|
|
3634
3634
|
:param str file: The file to upload (required)
|
|
3635
3635
|
:param bool preserve_metadata:
|
|
3636
3636
|
:param str ticket:
|
|
3637
|
+
:param str id:
|
|
3637
3638
|
:param ContainerType level:
|
|
3638
3639
|
:param str job:
|
|
3639
3640
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -3667,6 +3668,7 @@ class CollectionsApi(object):
|
|
|
3667
3668
|
:param str file: The file to upload (required)
|
|
3668
3669
|
:param bool preserve_metadata:
|
|
3669
3670
|
:param str ticket:
|
|
3671
|
+
:param str id:
|
|
3670
3672
|
:param ContainerType level:
|
|
3671
3673
|
:param str job:
|
|
3672
3674
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -3676,7 +3678,7 @@ class CollectionsApi(object):
|
|
|
3676
3678
|
:return: union[list[FileOutput],UploadTicketOutput]
|
|
3677
3679
|
"""
|
|
3678
3680
|
|
|
3679
|
-
all_params = ['container_id','file','preserve_metadata','ticket','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
3681
|
+
all_params = ['container_id','file','preserve_metadata','ticket','id','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
3680
3682
|
all_params.append('async_')
|
|
3681
3683
|
all_params.append('_return_http_data_only')
|
|
3682
3684
|
all_params.append('_preload_content')
|
|
@@ -3712,6 +3714,8 @@ class CollectionsApi(object):
|
|
|
3712
3714
|
query_params.append(('preserve_metadata', params['preserve_metadata'])) # noqa: E501
|
|
3713
3715
|
if 'ticket' in params:
|
|
3714
3716
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
3717
|
+
if 'id' in params:
|
|
3718
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
3715
3719
|
if 'level' in params:
|
|
3716
3720
|
query_params.append(('level', params['level'])) # noqa: E501
|
|
3717
3721
|
if 'job' in params:
|
flywheel/api/containers_api.py
CHANGED
|
@@ -4468,6 +4468,7 @@ class ContainersApi(object):
|
|
|
4468
4468
|
:param str file: The file to upload (required)
|
|
4469
4469
|
:param bool preserve_metadata:
|
|
4470
4470
|
:param str ticket:
|
|
4471
|
+
:param str id:
|
|
4471
4472
|
:param ContainerType level:
|
|
4472
4473
|
:param str job:
|
|
4473
4474
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -4501,6 +4502,7 @@ class ContainersApi(object):
|
|
|
4501
4502
|
:param str file: The file to upload (required)
|
|
4502
4503
|
:param bool preserve_metadata:
|
|
4503
4504
|
:param str ticket:
|
|
4505
|
+
:param str id:
|
|
4504
4506
|
:param ContainerType level:
|
|
4505
4507
|
:param str job:
|
|
4506
4508
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -4510,7 +4512,7 @@ class ContainersApi(object):
|
|
|
4510
4512
|
:return: union[list[FileOutput],UploadTicketOutput]
|
|
4511
4513
|
"""
|
|
4512
4514
|
|
|
4513
|
-
all_params = ['container_id','file','preserve_metadata','ticket','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
4515
|
+
all_params = ['container_id','file','preserve_metadata','ticket','id','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
4514
4516
|
all_params.append('async_')
|
|
4515
4517
|
all_params.append('_return_http_data_only')
|
|
4516
4518
|
all_params.append('_preload_content')
|
|
@@ -4546,6 +4548,8 @@ class ContainersApi(object):
|
|
|
4546
4548
|
query_params.append(('preserve_metadata', params['preserve_metadata'])) # noqa: E501
|
|
4547
4549
|
if 'ticket' in params:
|
|
4548
4550
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
4551
|
+
if 'id' in params:
|
|
4552
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
4549
4553
|
if 'level' in params:
|
|
4550
4554
|
query_params.append(('level', params['level'])) # noqa: E501
|
|
4551
4555
|
if 'job' in params:
|
|
@@ -4604,8 +4608,8 @@ class ContainersApi(object):
|
|
|
4604
4608
|
:param str analysis_id: (required)
|
|
4605
4609
|
:param str file: The file to upload (required)
|
|
4606
4610
|
:param str ticket:
|
|
4607
|
-
:param ContainerType level:
|
|
4608
4611
|
:param str id:
|
|
4612
|
+
:param ContainerType level:
|
|
4609
4613
|
:param str job:
|
|
4610
4614
|
:param str content_type:
|
|
4611
4615
|
:param bool async_: Perform the request asynchronously
|
|
@@ -4637,15 +4641,15 @@ class ContainersApi(object):
|
|
|
4637
4641
|
:param str analysis_id: (required)
|
|
4638
4642
|
:param str file: The file to upload (required)
|
|
4639
4643
|
:param str ticket:
|
|
4640
|
-
:param ContainerType level:
|
|
4641
4644
|
:param str id:
|
|
4645
|
+
:param ContainerType level:
|
|
4642
4646
|
:param str job:
|
|
4643
4647
|
:param str content_type:
|
|
4644
4648
|
:param bool async_: Perform the request asynchronously
|
|
4645
4649
|
:return: list[FileOutput]
|
|
4646
4650
|
"""
|
|
4647
4651
|
|
|
4648
|
-
all_params = ['cid','analysis_id','file','ticket','
|
|
4652
|
+
all_params = ['cid','analysis_id','file','ticket','id','level','job','content_type',] # noqa: E501
|
|
4649
4653
|
all_params.append('async_')
|
|
4650
4654
|
all_params.append('_return_http_data_only')
|
|
4651
4655
|
all_params.append('_preload_content')
|
|
@@ -4685,10 +4689,10 @@ class ContainersApi(object):
|
|
|
4685
4689
|
query_params = []
|
|
4686
4690
|
if 'ticket' in params:
|
|
4687
4691
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
4688
|
-
if 'level' in params:
|
|
4689
|
-
query_params.append(('level', params['level'])) # noqa: E501
|
|
4690
4692
|
if 'id' in params:
|
|
4691
4693
|
query_params.append(('id', params['id'])) # noqa: E501
|
|
4694
|
+
if 'level' in params:
|
|
4695
|
+
query_params.append(('level', params['level'])) # noqa: E501
|
|
4692
4696
|
if 'job' in params:
|
|
4693
4697
|
query_params.append(('job', params['job'])) # noqa: E501
|
|
4694
4698
|
|
flywheel/api/gears_api.py
CHANGED
|
@@ -1336,7 +1336,7 @@ class GearsApi(object):
|
|
|
1336
1336
|
This method makes a synchronous HTTP request by default.
|
|
1337
1337
|
|
|
1338
1338
|
:param bool async_: Perform the request asynchronously
|
|
1339
|
-
:return:
|
|
1339
|
+
:return: list[str]
|
|
1340
1340
|
"""
|
|
1341
1341
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
1342
1342
|
kwargs['_return_http_data_only'] = True
|
|
@@ -1360,7 +1360,7 @@ class GearsApi(object):
|
|
|
1360
1360
|
This method makes a synchronous HTTP request by default.
|
|
1361
1361
|
|
|
1362
1362
|
:param bool async_: Perform the request asynchronously
|
|
1363
|
-
:return:
|
|
1363
|
+
:return: list[str]
|
|
1364
1364
|
"""
|
|
1365
1365
|
|
|
1366
1366
|
all_params = [] # noqa: E501
|
|
@@ -1407,7 +1407,7 @@ class GearsApi(object):
|
|
|
1407
1407
|
body=body_params,
|
|
1408
1408
|
post_params=form_params,
|
|
1409
1409
|
files=local_var_files,
|
|
1410
|
-
response_type='
|
|
1410
|
+
response_type='list[str]', # noqa: E501
|
|
1411
1411
|
auth_settings=auth_settings,
|
|
1412
1412
|
async_=params.get('async_'),
|
|
1413
1413
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -24,29 +24,29 @@ import flywheel.models
|
|
|
24
24
|
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
25
|
# Do not edit the class manually.
|
|
26
26
|
|
|
27
|
-
class
|
|
27
|
+
class JupyterlabServersApi(object):
|
|
28
28
|
def __init__(self, api_client=None):
|
|
29
29
|
if api_client is None:
|
|
30
30
|
api_client = ApiClient()
|
|
31
31
|
self.api_client = api_client
|
|
32
32
|
|
|
33
|
-
def
|
|
34
|
-
"""Get
|
|
33
|
+
def get_jupyterlab_server(self, jupyterlab_server_id, **kwargs): # noqa: E501
|
|
34
|
+
"""Get jupyterlab server
|
|
35
35
|
|
|
36
|
-
Get
|
|
36
|
+
Get jupyterlab server
|
|
37
37
|
This method makes a synchronous HTTP request by default.
|
|
38
38
|
|
|
39
|
-
:param str
|
|
39
|
+
:param str jupyterlab_server_id: (required)
|
|
40
40
|
:param bool async_: Perform the request asynchronously
|
|
41
|
-
:return:
|
|
41
|
+
:return: JupyterlabServerResponse
|
|
42
42
|
"""
|
|
43
43
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
44
44
|
kwargs['_return_http_data_only'] = True
|
|
45
45
|
|
|
46
46
|
if kwargs.get('async_'):
|
|
47
|
-
return self.
|
|
47
|
+
return self.get_jupyterlab_server_with_http_info(jupyterlab_server_id, **kwargs) # noqa: E501
|
|
48
48
|
else:
|
|
49
|
-
(data) = self.
|
|
49
|
+
(data) = self.get_jupyterlab_server_with_http_info(jupyterlab_server_id, **kwargs) # noqa: E501
|
|
50
50
|
if (
|
|
51
51
|
data
|
|
52
52
|
and hasattr(data, 'return_value')
|
|
@@ -56,18 +56,18 @@ class WorkspacesApi(object):
|
|
|
56
56
|
return data
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
def
|
|
60
|
-
"""Get
|
|
59
|
+
def get_jupyterlab_server_with_http_info(self, jupyterlab_server_id, **kwargs): # noqa: E501
|
|
60
|
+
"""Get jupyterlab server
|
|
61
61
|
|
|
62
|
-
Get
|
|
62
|
+
Get jupyterlab server
|
|
63
63
|
This method makes a synchronous HTTP request by default.
|
|
64
64
|
|
|
65
|
-
:param str
|
|
65
|
+
:param str jupyterlab_server_id: (required)
|
|
66
66
|
:param bool async_: Perform the request asynchronously
|
|
67
|
-
:return:
|
|
67
|
+
:return: JupyterlabServerResponse
|
|
68
68
|
"""
|
|
69
69
|
|
|
70
|
-
all_params = ['
|
|
70
|
+
all_params = ['jupyterlab_server_id',] # noqa: E501
|
|
71
71
|
all_params.append('async_')
|
|
72
72
|
all_params.append('_return_http_data_only')
|
|
73
73
|
all_params.append('_preload_content')
|
|
@@ -79,20 +79,20 @@ class WorkspacesApi(object):
|
|
|
79
79
|
if key not in all_params:
|
|
80
80
|
raise TypeError(
|
|
81
81
|
"Got an unexpected keyword argument '%s'"
|
|
82
|
-
" to method
|
|
82
|
+
" to method get_jupyterlab_server" % key
|
|
83
83
|
)
|
|
84
84
|
params[key] = val
|
|
85
85
|
del params['kwargs']
|
|
86
|
-
# verify the required parameter '
|
|
87
|
-
if ('
|
|
88
|
-
params['
|
|
89
|
-
raise ValueError("Missing the required parameter `
|
|
86
|
+
# verify the required parameter 'jupyterlab_server_id' is set
|
|
87
|
+
if ('jupyterlab_server_id' not in params or
|
|
88
|
+
params['jupyterlab_server_id'] is None):
|
|
89
|
+
raise ValueError("Missing the required parameter `jupyterlab_server_id` when calling `get_jupyterlab_server`") # noqa: E501
|
|
90
90
|
|
|
91
91
|
collection_formats = {}
|
|
92
92
|
|
|
93
93
|
path_params = {}
|
|
94
|
-
if '
|
|
95
|
-
path_params['
|
|
94
|
+
if 'jupyterlab_server_id' in params:
|
|
95
|
+
path_params['jupyterlab_server_id'] = params['jupyterlab_server_id'] # noqa: E501
|
|
96
96
|
|
|
97
97
|
query_params = []
|
|
98
98
|
|
|
@@ -110,14 +110,14 @@ class WorkspacesApi(object):
|
|
|
110
110
|
auth_settings = ['ApiKey'] # noqa: E501
|
|
111
111
|
|
|
112
112
|
return self.api_client.call_api(
|
|
113
|
-
'/
|
|
113
|
+
'/jupyterlab_servers/{jupyterlab_server_id}', 'GET',
|
|
114
114
|
path_params,
|
|
115
115
|
query_params,
|
|
116
116
|
header_params,
|
|
117
117
|
body=body_params,
|
|
118
118
|
post_params=form_params,
|
|
119
119
|
files=local_var_files,
|
|
120
|
-
response_type='
|
|
120
|
+
response_type='JupyterlabServerResponse', # noqa: E501
|
|
121
121
|
auth_settings=auth_settings,
|
|
122
122
|
async_=params.get('async_'),
|
|
123
123
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -126,14 +126,14 @@ class WorkspacesApi(object):
|
|
|
126
126
|
_request_out=params.get('_request_out'),
|
|
127
127
|
collection_formats=collection_formats)
|
|
128
128
|
|
|
129
|
-
def
|
|
130
|
-
"""Update a
|
|
129
|
+
def modify_jupyterlab_server(self, jupyterlab_server_id, body, **kwargs): # noqa: E501
|
|
130
|
+
"""Update a jupyterlab server
|
|
131
131
|
|
|
132
|
-
Update a
|
|
132
|
+
Update a jupyterlab server
|
|
133
133
|
This method makes a synchronous HTTP request by default.
|
|
134
134
|
|
|
135
|
-
:param str
|
|
136
|
-
:param
|
|
135
|
+
:param str jupyterlab_server_id: (required)
|
|
136
|
+
:param JupyterlabServerModify body: (required)
|
|
137
137
|
:param bool async_: Perform the request asynchronously
|
|
138
138
|
:return: ModifiedResult
|
|
139
139
|
"""
|
|
@@ -141,9 +141,9 @@ class WorkspacesApi(object):
|
|
|
141
141
|
kwargs['_return_http_data_only'] = True
|
|
142
142
|
|
|
143
143
|
if kwargs.get('async_'):
|
|
144
|
-
return self.
|
|
144
|
+
return self.modify_jupyterlab_server_with_http_info(jupyterlab_server_id, body, **kwargs) # noqa: E501
|
|
145
145
|
else:
|
|
146
|
-
(data) = self.
|
|
146
|
+
(data) = self.modify_jupyterlab_server_with_http_info(jupyterlab_server_id, body, **kwargs) # noqa: E501
|
|
147
147
|
if (
|
|
148
148
|
data
|
|
149
149
|
and hasattr(data, 'return_value')
|
|
@@ -153,19 +153,19 @@ class WorkspacesApi(object):
|
|
|
153
153
|
return data
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
def
|
|
157
|
-
"""Update a
|
|
156
|
+
def modify_jupyterlab_server_with_http_info(self, jupyterlab_server_id, body, **kwargs): # noqa: E501
|
|
157
|
+
"""Update a jupyterlab server
|
|
158
158
|
|
|
159
|
-
Update a
|
|
159
|
+
Update a jupyterlab server
|
|
160
160
|
This method makes a synchronous HTTP request by default.
|
|
161
161
|
|
|
162
|
-
:param str
|
|
163
|
-
:param
|
|
162
|
+
:param str jupyterlab_server_id: (required)
|
|
163
|
+
:param JupyterlabServerModify body: (required)
|
|
164
164
|
:param bool async_: Perform the request asynchronously
|
|
165
165
|
:return: ModifiedResult
|
|
166
166
|
"""
|
|
167
167
|
|
|
168
|
-
all_params = ['
|
|
168
|
+
all_params = ['jupyterlab_server_id','body',] # noqa: E501
|
|
169
169
|
all_params.append('async_')
|
|
170
170
|
all_params.append('_return_http_data_only')
|
|
171
171
|
all_params.append('_preload_content')
|
|
@@ -177,24 +177,24 @@ class WorkspacesApi(object):
|
|
|
177
177
|
if key not in all_params:
|
|
178
178
|
raise TypeError(
|
|
179
179
|
"Got an unexpected keyword argument '%s'"
|
|
180
|
-
" to method
|
|
180
|
+
" to method modify_jupyterlab_server" % key
|
|
181
181
|
)
|
|
182
182
|
params[key] = val
|
|
183
183
|
del params['kwargs']
|
|
184
|
-
# verify the required parameter '
|
|
185
|
-
if ('
|
|
186
|
-
params['
|
|
187
|
-
raise ValueError("Missing the required parameter `
|
|
184
|
+
# verify the required parameter 'jupyterlab_server_id' is set
|
|
185
|
+
if ('jupyterlab_server_id' not in params or
|
|
186
|
+
params['jupyterlab_server_id'] is None):
|
|
187
|
+
raise ValueError("Missing the required parameter `jupyterlab_server_id` when calling `modify_jupyterlab_server`") # noqa: E501
|
|
188
188
|
# verify the required parameter 'body' is set
|
|
189
189
|
if ('body' not in params or
|
|
190
190
|
params['body'] is None):
|
|
191
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
191
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_jupyterlab_server`") # noqa: E501
|
|
192
192
|
|
|
193
193
|
collection_formats = {}
|
|
194
194
|
|
|
195
195
|
path_params = {}
|
|
196
|
-
if '
|
|
197
|
-
path_params['
|
|
196
|
+
if 'jupyterlab_server_id' in params:
|
|
197
|
+
path_params['jupyterlab_server_id'] = params['jupyterlab_server_id'] # noqa: E501
|
|
198
198
|
|
|
199
199
|
query_params = []
|
|
200
200
|
|
|
@@ -205,14 +205,14 @@ class WorkspacesApi(object):
|
|
|
205
205
|
|
|
206
206
|
body_params = None
|
|
207
207
|
if 'body' in params:
|
|
208
|
-
if '
|
|
208
|
+
if 'JupyterlabServerModify'.startswith('union'):
|
|
209
209
|
body_type = type(params['body'])
|
|
210
210
|
if getattr(body_type, 'positional_to_model', None):
|
|
211
211
|
body_params = body_type.positional_to_model(params['body'])
|
|
212
212
|
else:
|
|
213
213
|
body_params = params['body']
|
|
214
214
|
else:
|
|
215
|
-
body_params = flywheel.models.
|
|
215
|
+
body_params = flywheel.models.JupyterlabServerModify.positional_to_model(params['body'])
|
|
216
216
|
# HTTP header `Accept`
|
|
217
217
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
218
218
|
['application/json']) # noqa: E501
|
|
@@ -225,7 +225,7 @@ class WorkspacesApi(object):
|
|
|
225
225
|
auth_settings = ['ApiKey'] # noqa: E501
|
|
226
226
|
|
|
227
227
|
return self.api_client.call_api(
|
|
228
|
-
'/
|
|
228
|
+
'/jupyterlab_servers/{jupyterlab_server_id}', 'PUT',
|
|
229
229
|
path_params,
|
|
230
230
|
query_params,
|
|
231
231
|
header_params,
|
flywheel/api/projects_api.py
CHANGED
|
@@ -7239,6 +7239,7 @@ class ProjectsApi(object):
|
|
|
7239
7239
|
:param str file: The file to upload (required)
|
|
7240
7240
|
:param bool preserve_metadata:
|
|
7241
7241
|
:param str ticket:
|
|
7242
|
+
:param str id:
|
|
7242
7243
|
:param ContainerType level:
|
|
7243
7244
|
:param str job:
|
|
7244
7245
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -7272,6 +7273,7 @@ class ProjectsApi(object):
|
|
|
7272
7273
|
:param str file: The file to upload (required)
|
|
7273
7274
|
:param bool preserve_metadata:
|
|
7274
7275
|
:param str ticket:
|
|
7276
|
+
:param str id:
|
|
7275
7277
|
:param ContainerType level:
|
|
7276
7278
|
:param str job:
|
|
7277
7279
|
:param str metadata: Metadata object as a JSON-encoded string
|
|
@@ -7281,7 +7283,7 @@ class ProjectsApi(object):
|
|
|
7281
7283
|
:return: union[list[FileOutput],UploadTicketOutput]
|
|
7282
7284
|
"""
|
|
7283
7285
|
|
|
7284
|
-
all_params = ['container_id','file','preserve_metadata','ticket','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
7286
|
+
all_params = ['container_id','file','preserve_metadata','ticket','id','level','job','metadata','x_accept_feature','content_type',] # noqa: E501
|
|
7285
7287
|
all_params.append('async_')
|
|
7286
7288
|
all_params.append('_return_http_data_only')
|
|
7287
7289
|
all_params.append('_preload_content')
|
|
@@ -7317,6 +7319,8 @@ class ProjectsApi(object):
|
|
|
7317
7319
|
query_params.append(('preserve_metadata', params['preserve_metadata'])) # noqa: E501
|
|
7318
7320
|
if 'ticket' in params:
|
|
7319
7321
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
7322
|
+
if 'id' in params:
|
|
7323
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
7320
7324
|
if 'level' in params:
|
|
7321
7325
|
query_params.append(('level', params['level'])) # noqa: E501
|
|
7322
7326
|
if 'job' in params:
|
|
@@ -7375,8 +7379,8 @@ class ProjectsApi(object):
|
|
|
7375
7379
|
:param str analysis_id: (required)
|
|
7376
7380
|
:param str file: The file to upload (required)
|
|
7377
7381
|
:param str ticket:
|
|
7378
|
-
:param ContainerType level:
|
|
7379
7382
|
:param str id:
|
|
7383
|
+
:param ContainerType level:
|
|
7380
7384
|
:param str job:
|
|
7381
7385
|
:param str content_type:
|
|
7382
7386
|
:param bool async_: Perform the request asynchronously
|
|
@@ -7408,15 +7412,15 @@ class ProjectsApi(object):
|
|
|
7408
7412
|
:param str analysis_id: (required)
|
|
7409
7413
|
:param str file: The file to upload (required)
|
|
7410
7414
|
:param str ticket:
|
|
7411
|
-
:param ContainerType level:
|
|
7412
7415
|
:param str id:
|
|
7416
|
+
:param ContainerType level:
|
|
7413
7417
|
:param str job:
|
|
7414
7418
|
:param str content_type:
|
|
7415
7419
|
:param bool async_: Perform the request asynchronously
|
|
7416
7420
|
:return: list[FileOutput]
|
|
7417
7421
|
"""
|
|
7418
7422
|
|
|
7419
|
-
all_params = ['cid','analysis_id','file','ticket','
|
|
7423
|
+
all_params = ['cid','analysis_id','file','ticket','id','level','job','content_type',] # noqa: E501
|
|
7420
7424
|
all_params.append('async_')
|
|
7421
7425
|
all_params.append('_return_http_data_only')
|
|
7422
7426
|
all_params.append('_preload_content')
|
|
@@ -7456,10 +7460,10 @@ class ProjectsApi(object):
|
|
|
7456
7460
|
query_params = []
|
|
7457
7461
|
if 'ticket' in params:
|
|
7458
7462
|
query_params.append(('ticket', params['ticket'])) # noqa: E501
|
|
7459
|
-
if 'level' in params:
|
|
7460
|
-
query_params.append(('level', params['level'])) # noqa: E501
|
|
7461
7463
|
if 'id' in params:
|
|
7462
7464
|
query_params.append(('id', params['id'])) # noqa: E501
|
|
7465
|
+
if 'level' in params:
|
|
7466
|
+
query_params.append(('level', params['level'])) # noqa: E501
|
|
7463
7467
|
if 'job' in params:
|
|
7464
7468
|
query_params.append(('job', params['job'])) # noqa: E501
|
|
7465
7469
|
|