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.
Files changed (52) hide show
  1. flywheel/__init__.py +7 -6
  2. flywheel/api/__init__.py +1 -1
  3. flywheel/api/acquisitions_api.py +10 -6
  4. flywheel/api/analyses_api.py +5 -1
  5. flywheel/api/bulk_api.py +3 -3
  6. flywheel/api/collections_api.py +5 -1
  7. flywheel/api/containers_api.py +10 -6
  8. flywheel/api/gears_api.py +3 -3
  9. flywheel/api/{workspaces_api.py → jupyterlab_servers_api.py} +47 -47
  10. flywheel/api/projects_api.py +10 -6
  11. flywheel/api/reports_api.py +30 -5
  12. flywheel/api/sessions_api.py +10 -6
  13. flywheel/api/site_api.py +6 -6
  14. flywheel/api/subjects_api.py +10 -6
  15. flywheel/api/upload_api.py +15 -15
  16. flywheel/api/views_api.py +4 -4
  17. flywheel/api_client.py +1 -1
  18. flywheel/configuration.py +2 -2
  19. flywheel/flywheel.py +55 -42
  20. flywheel/models/__init__.py +9 -8
  21. flywheel/models/as_storage.py +1 -1
  22. flywheel/models/aws_storage.py +1 -1
  23. flywheel/models/base_compute.py +1 -1
  24. flywheel/models/central_out.py +31 -4
  25. flywheel/models/change_method.py +1 -0
  26. flywheel/models/container_type.py +1 -1
  27. flywheel/models/context_input.py +1 -1
  28. flywheel/models/core_models_jobs_api_key_input.py +1 -1
  29. flywheel/models/exchange_storage.py +1 -1
  30. flywheel/models/gcp_storage.py +1 -1
  31. flywheel/models/gear_context_input.py +1 -1
  32. flywheel/models/gear_context_value_output_unfound.py +1 -1
  33. flywheel/models/gear_file_input.py +1 -1
  34. flywheel/models/gear_key_input.py +1 -1
  35. flywheel/models/job_file_input.py +1 -1
  36. flywheel/models/job_file_input_list_output.py +1 -1
  37. flywheel/models/{workspace_modify.py → jupyterlab_server_modify.py} +24 -24
  38. flywheel/models/{workspace_origin.py → jupyterlab_server_origin.py} +1 -1
  39. flywheel/models/{workspace_output.py → jupyterlab_server_output.py} +2 -2
  40. flywheel/models/{workspace_response.py → jupyterlab_server_response.py} +44 -44
  41. flywheel/models/{workspace_update.py → jupyterlab_server_update.py} +2 -2
  42. flywheel/models/local_storage.py +1 -1
  43. flywheel/models/mixins.py +10 -4
  44. flywheel/models/move_conflict.py +298 -0
  45. flywheel/models/s3_compat_storage.py +1 -1
  46. flywheel/models/site_settings.py +1 -1
  47. flywheel/models/static_compute.py +1 -1
  48. {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/METADATA +2 -2
  49. {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/RECORD +52 -51
  50. {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/LICENSE.txt +0 -0
  51. {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.0rc0.dist-info}/WHEEL +0 -0
  52. {flywheel_sdk-18.3.0rc0.dist-info → flywheel_sdk-18.4.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.3.0-rc0"
42
+ SDK_VERSION = "18.4.0-rc0"
43
43
 
44
44
  def config_from_api_key(api_key):
45
45
  parts = api_key.split(':')
@@ -119,6 +119,7 @@ class Flywheel:
119
119
  self.gears_api = flywheel.api.GearsApi(self.api_client)
120
120
  self.groups_api = flywheel.api.GroupsApi(self.api_client)
121
121
  self.jobs_api = flywheel.api.JobsApi(self.api_client)
122
+ self.jupyterlab_servers_api = flywheel.api.JupyterlabServersApi(self.api_client)
122
123
  self.modalities_api = flywheel.api.ModalitiesApi(self.api_client)
123
124
  self.packfiles_api = flywheel.api.PackfilesApi(self.api_client)
124
125
  self.projects_api = flywheel.api.ProjectsApi(self.api_client)
@@ -133,7 +134,6 @@ class Flywheel:
133
134
  self.upload_api = flywheel.api.UploadApi(self.api_client)
134
135
  self.users_api = flywheel.api.UsersApi(self.api_client)
135
136
  self.views_api = flywheel.api.ViewsApi(self.api_client)
136
- self.workspaces_api = flywheel.api.WorkspacesApi(self.api_client)
137
137
 
138
138
  # Finder objects
139
139
  self.users = Finder(self, 'get_all_users')
@@ -766,6 +766,7 @@ class Flywheel:
766
766
  :param str file: The file to upload (required)
767
767
  :param bool preserve_metadata:
768
768
  :param str ticket:
769
+ :param str id:
769
770
  :param ContainerType level:
770
771
  :param str job:
771
772
  :param str metadata: Metadata object as a JSON-encoded string
@@ -791,8 +792,8 @@ class Flywheel:
791
792
  :param str analysis_id: (required)
792
793
  :param str file: The file to upload (required)
793
794
  :param str ticket:
794
- :param ContainerType level:
795
795
  :param str id:
796
+ :param ContainerType level:
796
797
  :param str job:
797
798
  :param str content_type:
798
799
  :param bool async_: Perform the request asynchronously
@@ -1145,6 +1146,7 @@ class Flywheel:
1145
1146
  :param str file: The file to upload (required)
1146
1147
  :param str ticket:
1147
1148
  :param bool preserve_metadata:
1149
+ :param str id:
1148
1150
  :param ContainerType level:
1149
1151
  :param str job:
1150
1152
  :param list[str] x_accept_feature: redirect header
@@ -1315,7 +1317,7 @@ class Flywheel:
1315
1317
 
1316
1318
  :param BulkMoveInput body: (required)
1317
1319
  :param bool async_: Perform the request asynchronously
1318
- :return: None
1320
+ :return: list[MoveConflict]
1319
1321
  """
1320
1322
  return self.bulk_api.bulk_move_sessions(body, **kwargs)
1321
1323
 
@@ -1822,6 +1824,7 @@ class Flywheel:
1822
1824
  :param str file: The file to upload (required)
1823
1825
  :param bool preserve_metadata:
1824
1826
  :param str ticket:
1827
+ :param str id:
1825
1828
  :param ContainerType level:
1826
1829
  :param str job:
1827
1830
  :param str metadata: Metadata object as a JSON-encoded string
@@ -2470,6 +2473,7 @@ class Flywheel:
2470
2473
  :param str file: The file to upload (required)
2471
2474
  :param bool preserve_metadata:
2472
2475
  :param str ticket:
2476
+ :param str id:
2473
2477
  :param ContainerType level:
2474
2478
  :param str job:
2475
2479
  :param str metadata: Metadata object as a JSON-encoded string
@@ -2495,8 +2499,8 @@ class Flywheel:
2495
2499
  :param str analysis_id: (required)
2496
2500
  :param str file: The file to upload (required)
2497
2501
  :param str ticket:
2498
- :param ContainerType level:
2499
2502
  :param str id:
2503
+ :param ContainerType level:
2500
2504
  :param str job:
2501
2505
  :param str content_type:
2502
2506
  :param bool async_: Perform the request asynchronously
@@ -3256,7 +3260,7 @@ class Flywheel:
3256
3260
 
3257
3261
 
3258
3262
  :param bool async_: Perform the request asynchronously
3259
- :return: object
3263
+ :return: list[str]
3260
3264
  """
3261
3265
  return self.gears_api.get_my_gear_tickets(**kwargs)
3262
3266
 
@@ -3869,6 +3873,31 @@ class Flywheel:
3869
3873
  return self.jobs_api.update_jobs_priority(body, **kwargs)
3870
3874
 
3871
3875
 
3876
+ def get_jupyterlab_server(self, jupyterlab_server_id, **kwargs): # noqa: E501
3877
+ """Get jupyterlab server
3878
+
3879
+ Get jupyterlab server
3880
+
3881
+ :param str jupyterlab_server_id: (required)
3882
+ :param bool async_: Perform the request asynchronously
3883
+ :return: JupyterlabServerResponse
3884
+ """
3885
+ return self.jupyterlab_servers_api.get_jupyterlab_server(jupyterlab_server_id, **kwargs)
3886
+
3887
+
3888
+ def modify_jupyterlab_server(self, jupyterlab_server_id, body, **kwargs): # noqa: E501
3889
+ """Update a jupyterlab server
3890
+
3891
+ Update a jupyterlab server
3892
+
3893
+ :param str jupyterlab_server_id: (required)
3894
+ :param JupyterlabServerModify body: (required)
3895
+ :param bool async_: Perform the request asynchronously
3896
+ :return: ModifiedResult
3897
+ """
3898
+ return self.jupyterlab_servers_api.modify_jupyterlab_server(jupyterlab_server_id, body, **kwargs)
3899
+
3900
+
3872
3901
  def add_modality(self, body, **kwargs): # noqa: E501
3873
3902
  """Create a new modality.
3874
3903
 
@@ -4891,6 +4920,7 @@ class Flywheel:
4891
4920
  :param str file: The file to upload (required)
4892
4921
  :param bool preserve_metadata:
4893
4922
  :param str ticket:
4923
+ :param str id:
4894
4924
  :param ContainerType level:
4895
4925
  :param str job:
4896
4926
  :param str metadata: Metadata object as a JSON-encoded string
@@ -4916,8 +4946,8 @@ class Flywheel:
4916
4946
  :param str analysis_id: (required)
4917
4947
  :param str file: The file to upload (required)
4918
4948
  :param str ticket:
4919
- :param ContainerType level:
4920
4949
  :param str id:
4950
+ :param ContainerType level:
4921
4951
  :param str job:
4922
4952
  :param str content_type:
4923
4953
  :param bool async_: Perform the request asynchronously
@@ -4963,13 +4993,19 @@ class Flywheel:
4963
4993
 
4964
4994
 
4965
4995
  :param bool csv: Set to download a csv file instead of json
4996
+ :param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
4997
+ :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
4998
+ :param int limit: The maximum number of entries to return
4999
+ :param int skip: The number of entries to skip
5000
+ :param int page: The page number (i.e. skip limit*page entries)
5001
+ :param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
4966
5002
  :param datetime start_date: An ISO formatted timestamp for the start time of the report
4967
5003
  :param datetime end_date: An ISO formatted timestamp for the end time of the report
4968
5004
  :param str user: User id of the target user
4969
5005
  :param str subject: Limit the report to the subject code of subject accessed
4970
5006
  :param str project: Limit the report to the project id
4971
5007
  :param list[AccessType] access_types: The list of access_types to filter logs
4972
- :param int limit: Maximum number of records to return
5008
+ :param list[str] x_accept_feature:
4973
5009
  :param bool async_: Perform the request asynchronously
4974
5010
  :return: list[ReportAccessLogEntry]
4975
5011
  """
@@ -5802,6 +5838,7 @@ class Flywheel:
5802
5838
  :param str file: The file to upload (required)
5803
5839
  :param bool preserve_metadata:
5804
5840
  :param str ticket:
5841
+ :param str id:
5805
5842
  :param ContainerType level:
5806
5843
  :param str job:
5807
5844
  :param str metadata: Metadata object as a JSON-encoded string
@@ -5827,8 +5864,8 @@ class Flywheel:
5827
5864
  :param str analysis_id: (required)
5828
5865
  :param str file: The file to upload (required)
5829
5866
  :param str ticket:
5830
- :param ContainerType level:
5831
5867
  :param str id:
5868
+ :param ContainerType level:
5832
5869
  :param str job:
5833
5870
  :param str content_type:
5834
5871
  :param bool async_: Perform the request asynchronously
@@ -5982,7 +6019,7 @@ class Flywheel:
5982
6019
  :param str provider_id: The ID of the provider (required)
5983
6020
  :param IngressUpdateProvider body: (required)
5984
6021
  :param bool async_: Perform the request asynchronously
5985
- :return: None
6022
+ :return: EgressProvider
5986
6023
  """
5987
6024
  return self.site_api.modify_provider(provider_id, body, **kwargs)
5988
6025
 
@@ -5994,7 +6031,7 @@ class Flywheel:
5994
6031
  :param str rule_id: (required)
5995
6032
  :param GearRuleModifyInput body: (required)
5996
6033
  :param bool async_: Perform the request asynchronously
5997
- :return: None
6034
+ :return: GearRule
5998
6035
  """
5999
6036
  return self.site_api.modify_site_rule(rule_id, body, **kwargs)
6000
6037
 
@@ -6655,6 +6692,7 @@ class Flywheel:
6655
6692
  :param str file: The file to upload (required)
6656
6693
  :param bool preserve_metadata:
6657
6694
  :param str ticket:
6695
+ :param str id:
6658
6696
  :param ContainerType level:
6659
6697
  :param str job:
6660
6698
  :param str metadata: Metadata object as a JSON-encoded string
@@ -6680,8 +6718,8 @@ class Flywheel:
6680
6718
  :param str analysis_id: (required)
6681
6719
  :param str file: The file to upload (required)
6682
6720
  :param str ticket:
6683
- :param ContainerType level:
6684
6721
  :param str id:
6722
+ :param ContainerType level:
6685
6723
  :param str job:
6686
6724
  :param str content_type:
6687
6725
  :param bool async_: Perform the request asynchronously
@@ -6792,8 +6830,8 @@ class Flywheel:
6792
6830
 
6793
6831
  :param bool preserve_metadata:
6794
6832
  :param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
6795
- :param ContainerType level:
6796
6833
  :param str id:
6834
+ :param ContainerType level:
6797
6835
  :param str job:
6798
6836
  :param str files:
6799
6837
  :param object metadata: Metadata object
@@ -6812,8 +6850,8 @@ class Flywheel:
6812
6850
  :param bool preserve_metadata:
6813
6851
  :param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
6814
6852
  :param bool uid_placement:
6815
- :param ContainerType level:
6816
6853
  :param str id:
6854
+ :param ContainerType level:
6817
6855
  :param str job:
6818
6856
  :param str files:
6819
6857
  :param object metadata: Metadata object
@@ -6831,8 +6869,8 @@ class Flywheel:
6831
6869
 
6832
6870
  :param bool preserve_metadata:
6833
6871
  :param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
6834
- :param ContainerType level:
6835
6872
  :param str id:
6873
+ :param ContainerType level:
6836
6874
  :param str job:
6837
6875
  :param str files:
6838
6876
  :param object metadata: Metadata object
@@ -7144,7 +7182,7 @@ class Flywheel:
7144
7182
 
7145
7183
  Soft deletes data view in database
7146
7184
 
7147
- :param str view_id: (required)
7185
+ :param str view_id: The ID of the view (required)
7148
7186
  :param bool async_: Perform the request asynchronously
7149
7187
  :return: DeletedResult
7150
7188
  """
@@ -7193,7 +7231,7 @@ class Flywheel:
7193
7231
  """Return the view identified by ViewId
7194
7232
 
7195
7233
 
7196
- :param str view_id: (required)
7234
+ :param str view_id: The ID of the view (required)
7197
7235
  :param bool async_: Perform the request asynchronously
7198
7236
  :return: ViewOutput
7199
7237
  """
@@ -7264,31 +7302,6 @@ class Flywheel:
7264
7302
  return self.views_api.save_view_data_to_container(container_id, body, **kwargs)
7265
7303
 
7266
7304
 
7267
- def get_workspace(self, workspace_id, **kwargs): # noqa: E501
7268
- """Get workspace
7269
-
7270
- Get workspace
7271
-
7272
- :param str workspace_id: (required)
7273
- :param bool async_: Perform the request asynchronously
7274
- :return: WorkspaceResponse
7275
- """
7276
- return self.workspaces_api.get_workspace(workspace_id, **kwargs)
7277
-
7278
-
7279
- def modify_workspace(self, workspace_id, body, **kwargs): # noqa: E501
7280
- """Update a workspace
7281
-
7282
- Update a workspace
7283
-
7284
- :param str workspace_id: (required)
7285
- :param WorkspaceModify body: (required)
7286
- :param bool async_: Perform the request asynchronously
7287
- :return: ModifiedResult
7288
- """
7289
- return self.workspaces_api.modify_workspace(workspace_id, body, **kwargs)
7290
-
7291
-
7292
7305
  def enable_feature(self, value):
7293
7306
  """Enable feature named value, via the x-accept-feature header"""
7294
7307
  features = self.api_client.default_headers.get('x-accept-feature')
@@ -2,11 +2,11 @@
2
2
 
3
3
  # flake8: noqa
4
4
  """
5
- Flywheel
5
+ Flywheel API
6
6
 
7
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+ Flywheel: API for data import, automated curation, image processing, machine learning workflows, and secure collaboration. # noqa: E501
8
8
 
9
- OpenAPI spec version: 0.0.1
9
+ OpenAPI spec version: 18.4.0-rc0
10
10
 
11
11
  Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  """
@@ -381,6 +381,11 @@ from flywheel.models.join_origin_user import JoinOriginUser
381
381
  from flywheel.models.join_origins import JoinOrigins
382
382
  from flywheel.models.join_type import JoinType
383
383
  from flywheel.models.jupyterhub_workspace import JupyterhubWorkspace
384
+ from flywheel.models.jupyterlab_server_modify import JupyterlabServerModify
385
+ from flywheel.models.jupyterlab_server_origin import JupyterlabServerOrigin
386
+ from flywheel.models.jupyterlab_server_output import JupyterlabServerOutput
387
+ from flywheel.models.jupyterlab_server_response import JupyterlabServerResponse
388
+ from flywheel.models.jupyterlab_server_update import JupyterlabServerUpdate
384
389
  from flywheel.models.ldap_sync import LdapSync
385
390
  from flywheel.models.ldap_sync_config import LdapSyncConfig
386
391
  from flywheel.models.ldap_sync_input import LdapSyncInput
@@ -405,6 +410,7 @@ from flywheel.models.modality_output import ModalityOutput
405
410
  from flywheel.models.modified_result import ModifiedResult
406
411
  from flywheel.models.modify_report_input import ModifyReportInput
407
412
  from flywheel.models.modify_user_input import ModifyUserInput
413
+ from flywheel.models.move_conflict import MoveConflict
408
414
  from flywheel.models.note import Note
409
415
  from flywheel.models.note_input import NoteInput
410
416
  from flywheel.models.open_tracing import OpenTracing
@@ -661,10 +667,5 @@ from flywheel.models.viewer_app_type import ViewerAppType
661
667
  from flywheel.models.virus_scan import VirusScan
662
668
  from flywheel.models.virus_scan_state import VirusScanState
663
669
  from flywheel.models.work_in_progress_features import WorkInProgressFeatures
664
- from flywheel.models.workspace_modify import WorkspaceModify
665
- from flywheel.models.workspace_origin import WorkspaceOrigin
666
- from flywheel.models.workspace_output import WorkspaceOutput
667
- from flywheel.models.workspace_response import WorkspaceResponse
668
- from flywheel.models.workspace_update import WorkspaceUpdate
669
670
  from flywheel.models.zipfile_info import ZipfileInfo
670
671
  from flywheel.models.zipfile_member_info import ZipfileMemberInfo
@@ -47,7 +47,7 @@ class AsStorage(object):
47
47
  'config_class': 'config_class'
48
48
  }
49
49
 
50
- def __init__(self, bucket=None, path='', signed_urls=True, region=None, config_type=None, config_class=None): # noqa: E501
50
+ def __init__(self, bucket=None, path='', signed_urls=True, region=None, config_type='azure', config_class='storage'): # noqa: E501
51
51
  """AsStorage - a model defined in Swagger"""
52
52
  super(AsStorage, self).__init__()
53
53
 
@@ -53,7 +53,7 @@ class AwsStorage(object):
53
53
  'addressing_style': 'addressing_style'
54
54
  }
55
55
 
56
- def __init__(self, region=None, bucket=None, path='', zone=None, endpoint_url=None, config_type=None, config_class=None, addressing_style=None): # noqa: E501
56
+ def __init__(self, region=None, bucket=None, path='', zone=None, endpoint_url=None, config_type='aws', config_class='storage', addressing_style=None): # noqa: E501
57
57
  """AwsStorage - a model defined in Swagger"""
58
58
  super(AwsStorage, self).__init__()
59
59
 
@@ -62,7 +62,7 @@ class BaseCompute(object):
62
62
  'config_class': 'config_class'
63
63
  }
64
64
 
65
- def __init__(self, queue_threshold=None, max_compute=None, machine_type=None, disk_size=None, swap_size='30G', preemptible=None, zone=None, region=None, tags=None, config_type=None, config_class=None): # noqa: E501
65
+ def __init__(self, queue_threshold=None, max_compute=None, machine_type=None, disk_size=None, swap_size='30G', preemptible=None, zone=None, region=None, tags=None, config_type=None, config_class='compute'): # noqa: E501
66
66
  """BaseCompute - a model defined in Swagger"""
67
67
  super(BaseCompute, self).__init__()
68
68
 
@@ -22,25 +22,29 @@ class CentralOut(object):
22
22
 
23
23
  swagger_types = {
24
24
  'enabled': 'bool',
25
- 'manager_url': 'str'
25
+ 'manager_url': 'str',
26
+ 'app_url': 'str'
26
27
  }
27
28
 
28
29
  attribute_map = {
29
30
  'enabled': 'enabled',
30
- 'manager_url': 'manager_url'
31
+ 'manager_url': 'manager_url',
32
+ 'app_url': 'app_url'
31
33
  }
32
34
 
33
35
  rattribute_map = {
34
36
  'enabled': 'enabled',
35
- 'manager_url': 'manager_url'
37
+ 'manager_url': 'manager_url',
38
+ 'app_url': 'app_url'
36
39
  }
37
40
 
38
- def __init__(self, enabled=False, manager_url=''): # noqa: E501
41
+ def __init__(self, enabled=False, manager_url='', app_url=''): # noqa: E501
39
42
  """CentralOut - a model defined in Swagger"""
40
43
  super(CentralOut, self).__init__()
41
44
 
42
45
  self._enabled = None
43
46
  self._manager_url = None
47
+ self._app_url = None
44
48
  self.discriminator = None
45
49
  self.alt_discriminator = None
46
50
 
@@ -48,6 +52,8 @@ class CentralOut(object):
48
52
  self.enabled = enabled
49
53
  if manager_url is not None:
50
54
  self.manager_url = manager_url
55
+ if app_url is not None:
56
+ self.app_url = app_url
51
57
 
52
58
  @property
53
59
  def enabled(self):
@@ -91,6 +97,27 @@ class CentralOut(object):
91
97
 
92
98
  self._manager_url = manager_url
93
99
 
100
+ @property
101
+ def app_url(self):
102
+ """Gets the app_url of this CentralOut.
103
+
104
+
105
+ :return: The app_url of this CentralOut.
106
+ :rtype: str
107
+ """
108
+ return self._app_url
109
+
110
+ @app_url.setter
111
+ def app_url(self, app_url):
112
+ """Sets the app_url of this CentralOut.
113
+
114
+
115
+ :param app_url: The app_url of this CentralOut. # noqa: E501
116
+ :type: str
117
+ """
118
+
119
+ self._app_url = app_url
120
+
94
121
 
95
122
  @staticmethod
96
123
  def positional_to_model(value):
@@ -26,6 +26,7 @@ class ChangeMethod(str, enum.Enum):
26
26
  DELETE = "DELETE"
27
27
  UPDATE = "UPDATE"
28
28
  REPLACE_FILE = "REPLACE_FILE"
29
+ NOTE_DELETION = "NOTE_DELETION"
29
30
 
30
31
  def __str__(self):
31
32
  return self.value
@@ -31,7 +31,7 @@ class ContainerType(str, enum.Enum):
31
31
  USER = "user"
32
32
  COLLECTION = "collection"
33
33
  READER_TASK = "reader_task"
34
- WORKSPACE = "workspace"
34
+ JUPYTERLAB_SERVER = "jupyterlab_server"
35
35
  AZUREML_RESOURCE = "azureml_resource"
36
36
 
37
37
  def __str__(self):
@@ -38,7 +38,7 @@ class ContextInput(object):
38
38
  'base': 'base'
39
39
  }
40
40
 
41
- def __init__(self, found=None, value=None, base=None): # noqa: E501
41
+ def __init__(self, found=None, value=None, base='context'): # noqa: E501
42
42
  """ContextInput - a model defined in Swagger"""
43
43
  super(ContextInput, self).__init__()
44
44
 
@@ -35,7 +35,7 @@ class CoreModelsJobsApiKeyInput(object):
35
35
  'key': 'key'
36
36
  }
37
37
 
38
- def __init__(self, base=None, key=None): # noqa: E501
38
+ def __init__(self, base='api-key', key=None): # noqa: E501
39
39
  """CoreModelsJobsApiKeyInput - a model defined in Swagger"""
40
40
  super(CoreModelsJobsApiKeyInput, self).__init__()
41
41
 
@@ -41,7 +41,7 @@ class ExchangeStorage(object):
41
41
  'dataset_id': 'dataset_id'
42
42
  }
43
43
 
44
- def __init__(self, config_type=None, config_class=None, site_id=None, dataset_id=None): # noqa: E501
44
+ def __init__(self, config_type='exchange', config_class='storage', site_id=None, dataset_id=None): # noqa: E501
45
45
  """ExchangeStorage - a model defined in Swagger"""
46
46
  super(ExchangeStorage, self).__init__()
47
47
 
@@ -47,7 +47,7 @@ class GcpStorage(object):
47
47
  'config_class': 'config_class'
48
48
  }
49
49
 
50
- def __init__(self, region='us-central1', bucket=None, path='', zone=None, config_type=None, config_class=None): # noqa: E501
50
+ def __init__(self, region='us-central1', bucket=None, path='', zone=None, config_type='gc', config_class='storage'): # noqa: E501
51
51
  """GcpStorage - a model defined in Swagger"""
52
52
  super(GcpStorage, self).__init__()
53
53
 
@@ -32,7 +32,7 @@ class GearContextInput(object):
32
32
  'base': 'base'
33
33
  }
34
34
 
35
- def __init__(self, base=None): # noqa: E501
35
+ def __init__(self, base='context'): # noqa: E501
36
36
  """GearContextInput - a model defined in Swagger"""
37
37
  super(GearContextInput, self).__init__()
38
38
 
@@ -32,7 +32,7 @@ class GearContextValueOutputUnfound(object):
32
32
  'found': 'found'
33
33
  }
34
34
 
35
- def __init__(self, found=None): # noqa: E501
35
+ def __init__(self, found=False): # noqa: E501
36
36
  """GearContextValueOutputUnfound - a model defined in Swagger"""
37
37
  super(GearContextValueOutputUnfound, self).__init__()
38
38
 
@@ -36,7 +36,7 @@ class GearFileInput(GearMixin):
36
36
  'optional': 'optional'
37
37
  }
38
38
 
39
- def __init__(self, base=None, optional=False): # noqa: E501
39
+ def __init__(self, base='file', optional=False): # noqa: E501
40
40
  """GearFileInput - a model defined in Swagger"""
41
41
  super(GearFileInput, self).__init__()
42
42
 
@@ -35,7 +35,7 @@ class GearKeyInput(object):
35
35
  'read-only': 'read_only'
36
36
  }
37
37
 
38
- def __init__(self, base=None, read_only=False): # noqa: E501
38
+ def __init__(self, base='api-key', read_only=False): # noqa: E501
39
39
  """GearKeyInput - a model defined in Swagger"""
40
40
  super(GearKeyInput, self).__init__()
41
41
 
@@ -45,7 +45,7 @@ class JobFileInput(object):
45
45
  'base': 'base'
46
46
  }
47
47
 
48
- def __init__(self, hierarchy=None, object=None, location=None, base=None): # noqa: E501
48
+ def __init__(self, hierarchy=None, object=None, location=None, base='file'): # noqa: E501
49
49
  """JobFileInput - a model defined in Swagger"""
50
50
  super(JobFileInput, self).__init__()
51
51
 
@@ -45,7 +45,7 @@ class JobFileInputListOutput(object):
45
45
  'base': 'base'
46
46
  }
47
47
 
48
- def __init__(self, hierarchy=None, object=None, location=None, base=None): # noqa: E501
48
+ def __init__(self, hierarchy=None, object=None, location=None, base='file'): # noqa: E501
49
49
  """JobFileInputListOutput - a model defined in Swagger"""
50
50
  super(JobFileInputListOutput, self).__init__()
51
51