lightning-sdk 0.1.33__py3-none-any.whl → 0.1.35__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 (34) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/ai_hub.py +61 -3
  3. lightning_sdk/api/ai_hub_api.py +14 -0
  4. lightning_sdk/cli/ai_hub.py +49 -0
  5. lightning_sdk/cli/download.py +3 -3
  6. lightning_sdk/cli/entrypoint.py +2 -0
  7. lightning_sdk/lightning_cloud/login.py +5 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +1 -0
  9. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +5 -1
  10. lightning_sdk/lightning_cloud/openapi/models/__init__.py +1 -0
  11. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
  12. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  13. lightning_sdk/lightning_cloud/openapi/models/snowflake_export_body.py +27 -1
  14. lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +27 -1
  15. lightning_sdk/lightning_cloud/openapi/models/v1_checkbox.py +175 -0
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version.py +53 -1
  17. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  19. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +27 -1
  20. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py +1 -0
  21. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +1 -27
  24. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py +1 -27
  25. lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_snowflake_data_connection.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py +55 -3
  28. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -1
  29. {lightning_sdk-0.1.33.dist-info → lightning_sdk-0.1.35.dist-info}/METADATA +1 -1
  30. {lightning_sdk-0.1.33.dist-info → lightning_sdk-0.1.35.dist-info}/RECORD +34 -32
  31. {lightning_sdk-0.1.33.dist-info → lightning_sdk-0.1.35.dist-info}/LICENSE +0 -0
  32. {lightning_sdk-0.1.33.dist-info → lightning_sdk-0.1.35.dist-info}/WHEEL +0 -0
  33. {lightning_sdk-0.1.33.dist-info → lightning_sdk-0.1.35.dist-info}/entry_points.txt +0 -0
  34. {lightning_sdk-0.1.33.dist-info → lightning_sdk-0.1.35.dist-info}/top_level.txt +0 -0
@@ -44,7 +44,6 @@ class V1JobSpec(object):
44
44
  'cloudspace_id': 'str',
45
45
  'cluster_id': 'str',
46
46
  'command': 'str',
47
- 'created_symlinks': 'bool',
48
47
  'data_paths': 'list[V1DataPath]',
49
48
  'entrypoint': 'str',
50
49
  'env': 'list[V1EnvVar]',
@@ -69,7 +68,6 @@ class V1JobSpec(object):
69
68
  'cloudspace_id': 'cloudspaceId',
70
69
  'cluster_id': 'clusterId',
71
70
  'command': 'command',
72
- 'created_symlinks': 'createdSymlinks',
73
71
  'data_paths': 'dataPaths',
74
72
  'entrypoint': 'entrypoint',
75
73
  'env': 'env',
@@ -90,12 +88,11 @@ class V1JobSpec(object):
90
88
  'volumes': 'volumes'
91
89
  }
92
90
 
93
- def __init__(self, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, created_symlinks: 'bool' =None, data_paths: 'list[V1DataPath]' =None, entrypoint: 'str' =None, env: 'list[V1EnvVar]' =None, image: 'str' =None, image_cluster_credentials: 'bool' =None, image_secret_ref: 'str' =None, include_credentials: 'bool' =None, instance_name: 'str' =None, instance_type: 'str' =None, modified_volume: 'bool' =None, readiness_probe: 'V1JobHealthCheckConfig' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, skip_data_connections_setup: 'bool' =None, skip_filesystem_setup: 'bool' =None, spot: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
91
+ def __init__(self, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, data_paths: 'list[V1DataPath]' =None, entrypoint: 'str' =None, env: 'list[V1EnvVar]' =None, image: 'str' =None, image_cluster_credentials: 'bool' =None, image_secret_ref: 'str' =None, include_credentials: 'bool' =None, instance_name: 'str' =None, instance_type: 'str' =None, modified_volume: 'bool' =None, readiness_probe: 'V1JobHealthCheckConfig' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, skip_data_connections_setup: 'bool' =None, skip_filesystem_setup: 'bool' =None, spot: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
94
92
  """V1JobSpec - a model defined in Swagger""" # noqa: E501
95
93
  self._cloudspace_id = None
96
94
  self._cluster_id = None
97
95
  self._command = None
98
- self._created_symlinks = None
99
96
  self._data_paths = None
100
97
  self._entrypoint = None
101
98
  self._env = None
@@ -121,8 +118,6 @@ class V1JobSpec(object):
121
118
  self.cluster_id = cluster_id
122
119
  if command is not None:
123
120
  self.command = command
124
- if created_symlinks is not None:
125
- self.created_symlinks = created_symlinks
126
121
  if data_paths is not None:
127
122
  self.data_paths = data_paths
128
123
  if entrypoint is not None:
@@ -223,27 +218,6 @@ class V1JobSpec(object):
223
218
 
224
219
  self._command = command
225
220
 
226
- @property
227
- def created_symlinks(self) -> 'bool':
228
- """Gets the created_symlinks of this V1JobSpec. # noqa: E501
229
-
230
-
231
- :return: The created_symlinks of this V1JobSpec. # noqa: E501
232
- :rtype: bool
233
- """
234
- return self._created_symlinks
235
-
236
- @created_symlinks.setter
237
- def created_symlinks(self, created_symlinks: 'bool'):
238
- """Sets the created_symlinks of this V1JobSpec.
239
-
240
-
241
- :param created_symlinks: The created_symlinks of this V1JobSpec. # noqa: E501
242
- :type: bool
243
- """
244
-
245
- self._created_symlinks = created_symlinks
246
-
247
221
  @property
248
222
  def data_paths(self) -> 'list[V1DataPath]':
249
223
  """Gets the data_paths of this V1JobSpec. # noqa: E501
@@ -52,7 +52,6 @@ class V1LightningworkStatus(object):
52
52
  'server_instance_id': 'str',
53
53
  'start_timestamp': 'datetime',
54
54
  'stop_timestamp': 'datetime',
55
- 'symlinks_created': 'bool',
56
55
  'total_cost': 'float',
57
56
  'total_size_bytes': 'str'
58
57
  }
@@ -69,12 +68,11 @@ class V1LightningworkStatus(object):
69
68
  'server_instance_id': 'serverInstanceId',
70
69
  'start_timestamp': 'startTimestamp',
71
70
  'stop_timestamp': 'stopTimestamp',
72
- 'symlinks_created': 'symlinksCreated',
73
71
  'total_cost': 'totalCost',
74
72
  'total_size_bytes': 'totalSizeBytes'
75
73
  }
76
74
 
77
- def __init__(self, ip_address: 'str' =None, last_state_status_transition_timestamp: 'datetime' =None, message: 'str' =None, modified_volume: 'bool' =None, number_of_files: 'str' =None, phase: 'V1LightningworkState' =None, reason: 'V1LightningworkStatusReason' =None, server_id: 'str' =None, server_instance_id: 'str' =None, start_timestamp: 'datetime' =None, stop_timestamp: 'datetime' =None, symlinks_created: 'bool' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None): # noqa: E501
75
+ def __init__(self, ip_address: 'str' =None, last_state_status_transition_timestamp: 'datetime' =None, message: 'str' =None, modified_volume: 'bool' =None, number_of_files: 'str' =None, phase: 'V1LightningworkState' =None, reason: 'V1LightningworkStatusReason' =None, server_id: 'str' =None, server_instance_id: 'str' =None, start_timestamp: 'datetime' =None, stop_timestamp: 'datetime' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None): # noqa: E501
78
76
  """V1LightningworkStatus - a model defined in Swagger""" # noqa: E501
79
77
  self._ip_address = None
80
78
  self._last_state_status_transition_timestamp = None
@@ -87,7 +85,6 @@ class V1LightningworkStatus(object):
87
85
  self._server_instance_id = None
88
86
  self._start_timestamp = None
89
87
  self._stop_timestamp = None
90
- self._symlinks_created = None
91
88
  self._total_cost = None
92
89
  self._total_size_bytes = None
93
90
  self.discriminator = None
@@ -113,8 +110,6 @@ class V1LightningworkStatus(object):
113
110
  self.start_timestamp = start_timestamp
114
111
  if stop_timestamp is not None:
115
112
  self.stop_timestamp = stop_timestamp
116
- if symlinks_created is not None:
117
- self.symlinks_created = symlinks_created
118
113
  if total_cost is not None:
119
114
  self.total_cost = total_cost
120
115
  if total_size_bytes is not None:
@@ -351,27 +346,6 @@ class V1LightningworkStatus(object):
351
346
 
352
347
  self._stop_timestamp = stop_timestamp
353
348
 
354
- @property
355
- def symlinks_created(self) -> 'bool':
356
- """Gets the symlinks_created of this V1LightningworkStatus. # noqa: E501
357
-
358
-
359
- :return: The symlinks_created of this V1LightningworkStatus. # noqa: E501
360
- :rtype: bool
361
- """
362
- return self._symlinks_created
363
-
364
- @symlinks_created.setter
365
- def symlinks_created(self, symlinks_created: 'bool'):
366
- """Sets the symlinks_created of this V1LightningworkStatus.
367
-
368
-
369
- :param symlinks_created: The symlinks_created of this V1LightningworkStatus. # noqa: E501
370
- :type: bool
371
- """
372
-
373
- self._symlinks_created = symlinks_created
374
-
375
349
  @property
376
350
  def total_cost(self) -> 'float':
377
351
  """Gets the total_cost of this V1LightningworkStatus. # noqa: E501
@@ -42,24 +42,29 @@ class V1MetricValue(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'created_at': 'datetime',
45
+ 'internal_step': 'str',
45
46
  'step': 'str',
46
47
  'value': 'float'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'created_at': 'createdAt',
52
+ 'internal_step': 'internalStep',
51
53
  'step': 'step',
52
54
  'value': 'value'
53
55
  }
54
56
 
55
- def __init__(self, created_at: 'datetime' =None, step: 'str' =None, value: 'float' =None): # noqa: E501
57
+ def __init__(self, created_at: 'datetime' =None, internal_step: 'str' =None, step: 'str' =None, value: 'float' =None): # noqa: E501
56
58
  """V1MetricValue - a model defined in Swagger""" # noqa: E501
57
59
  self._created_at = None
60
+ self._internal_step = None
58
61
  self._step = None
59
62
  self._value = None
60
63
  self.discriminator = None
61
64
  if created_at is not None:
62
65
  self.created_at = created_at
66
+ if internal_step is not None:
67
+ self.internal_step = internal_step
63
68
  if step is not None:
64
69
  self.step = step
65
70
  if value is not None:
@@ -86,6 +91,27 @@ class V1MetricValue(object):
86
91
 
87
92
  self._created_at = created_at
88
93
 
94
+ @property
95
+ def internal_step(self) -> 'str':
96
+ """Gets the internal_step of this V1MetricValue. # noqa: E501
97
+
98
+
99
+ :return: The internal_step of this V1MetricValue. # noqa: E501
100
+ :rtype: str
101
+ """
102
+ return self._internal_step
103
+
104
+ @internal_step.setter
105
+ def internal_step(self, internal_step: 'str'):
106
+ """Sets the internal_step of this V1MetricValue.
107
+
108
+
109
+ :param internal_step: The internal_step of this V1MetricValue. # noqa: E501
110
+ :type: str
111
+ """
112
+
113
+ self._internal_step = internal_step
114
+
89
115
  @property
90
116
  def step(self) -> 'str':
91
117
  """Gets the step of this V1MetricValue. # noqa: E501
@@ -44,6 +44,7 @@ class V1SnowflakeDataConnection(object):
44
44
  'bucket_name': 'str',
45
45
  'compress': 'bool',
46
46
  'format': 'str',
47
+ 'include_header': 'bool',
47
48
  'query': 'str',
48
49
  'secret_account': 'str',
49
50
  'secret_password': 'str',
@@ -54,17 +55,19 @@ class V1SnowflakeDataConnection(object):
54
55
  'bucket_name': 'bucketName',
55
56
  'compress': 'compress',
56
57
  'format': 'format',
58
+ 'include_header': 'includeHeader',
57
59
  'query': 'query',
58
60
  'secret_account': 'secretAccount',
59
61
  'secret_password': 'secretPassword',
60
62
  'secret_username': 'secretUsername'
61
63
  }
62
64
 
63
- def __init__(self, bucket_name: 'str' =None, compress: 'bool' =None, format: 'str' =None, query: 'str' =None, secret_account: 'str' =None, secret_password: 'str' =None, secret_username: 'str' =None): # noqa: E501
65
+ def __init__(self, bucket_name: 'str' =None, compress: 'bool' =None, format: 'str' =None, include_header: 'bool' =None, query: 'str' =None, secret_account: 'str' =None, secret_password: 'str' =None, secret_username: 'str' =None): # noqa: E501
64
66
  """V1SnowflakeDataConnection - a model defined in Swagger""" # noqa: E501
65
67
  self._bucket_name = None
66
68
  self._compress = None
67
69
  self._format = None
70
+ self._include_header = None
68
71
  self._query = None
69
72
  self._secret_account = None
70
73
  self._secret_password = None
@@ -76,6 +79,8 @@ class V1SnowflakeDataConnection(object):
76
79
  self.compress = compress
77
80
  if format is not None:
78
81
  self.format = format
82
+ if include_header is not None:
83
+ self.include_header = include_header
79
84
  if query is not None:
80
85
  self.query = query
81
86
  if secret_account is not None:
@@ -148,6 +153,27 @@ class V1SnowflakeDataConnection(object):
148
153
 
149
154
  self._format = format
150
155
 
156
+ @property
157
+ def include_header(self) -> 'bool':
158
+ """Gets the include_header of this V1SnowflakeDataConnection. # noqa: E501
159
+
160
+
161
+ :return: The include_header of this V1SnowflakeDataConnection. # noqa: E501
162
+ :rtype: bool
163
+ """
164
+ return self._include_header
165
+
166
+ @include_header.setter
167
+ def include_header(self, include_header: 'bool'):
168
+ """Sets the include_header of this V1SnowflakeDataConnection.
169
+
170
+
171
+ :param include_header: The include_header of this V1SnowflakeDataConnection. # noqa: E501
172
+ :type: bool
173
+ """
174
+
175
+ self._include_header = include_header
176
+
151
177
  @property
152
178
  def query(self) -> 'str':
153
179
  """Gets the query of this V1SnowflakeDataConnection. # noqa: E501
@@ -49,11 +49,13 @@ class V1UsageDetails(object):
49
49
  'hourly_price': 'float',
50
50
  'instance_count': 'str',
51
51
  'instance_type': 'str',
52
+ 'read_bytes': 'str',
52
53
  'resource_name': 'str',
53
54
  'saved_cost': 'float',
54
55
  'spot': 'bool',
55
56
  'started_at': 'datetime',
56
- 'user_id': 'str'
57
+ 'user_id': 'str',
58
+ 'written_bytes': 'str'
57
59
  }
58
60
 
59
61
  attribute_map = {
@@ -65,14 +67,16 @@ class V1UsageDetails(object):
65
67
  'hourly_price': 'hourlyPrice',
66
68
  'instance_count': 'instanceCount',
67
69
  'instance_type': 'instanceType',
70
+ 'read_bytes': 'readBytes',
68
71
  'resource_name': 'resourceName',
69
72
  'saved_cost': 'savedCost',
70
73
  'spot': 'spot',
71
74
  'started_at': 'startedAt',
72
- 'user_id': 'userId'
75
+ 'user_id': 'userId',
76
+ 'written_bytes': 'writtenBytes'
73
77
  }
74
78
 
75
- def __init__(self, billed_bytes: 'str' =None, billed_time_seconds: 'str' =None, cost: 'float' =None, ended_at: 'datetime' =None, free: 'bool' =None, hourly_price: 'float' =None, instance_count: 'str' =None, instance_type: 'str' =None, resource_name: 'str' =None, saved_cost: 'float' =None, spot: 'bool' =None, started_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
79
+ def __init__(self, billed_bytes: 'str' =None, billed_time_seconds: 'str' =None, cost: 'float' =None, ended_at: 'datetime' =None, free: 'bool' =None, hourly_price: 'float' =None, instance_count: 'str' =None, instance_type: 'str' =None, read_bytes: 'str' =None, resource_name: 'str' =None, saved_cost: 'float' =None, spot: 'bool' =None, started_at: 'datetime' =None, user_id: 'str' =None, written_bytes: 'str' =None): # noqa: E501
76
80
  """V1UsageDetails - a model defined in Swagger""" # noqa: E501
77
81
  self._billed_bytes = None
78
82
  self._billed_time_seconds = None
@@ -82,11 +86,13 @@ class V1UsageDetails(object):
82
86
  self._hourly_price = None
83
87
  self._instance_count = None
84
88
  self._instance_type = None
89
+ self._read_bytes = None
85
90
  self._resource_name = None
86
91
  self._saved_cost = None
87
92
  self._spot = None
88
93
  self._started_at = None
89
94
  self._user_id = None
95
+ self._written_bytes = None
90
96
  self.discriminator = None
91
97
  if billed_bytes is not None:
92
98
  self.billed_bytes = billed_bytes
@@ -104,6 +110,8 @@ class V1UsageDetails(object):
104
110
  self.instance_count = instance_count
105
111
  if instance_type is not None:
106
112
  self.instance_type = instance_type
113
+ if read_bytes is not None:
114
+ self.read_bytes = read_bytes
107
115
  if resource_name is not None:
108
116
  self.resource_name = resource_name
109
117
  if saved_cost is not None:
@@ -114,6 +122,8 @@ class V1UsageDetails(object):
114
122
  self.started_at = started_at
115
123
  if user_id is not None:
116
124
  self.user_id = user_id
125
+ if written_bytes is not None:
126
+ self.written_bytes = written_bytes
117
127
 
118
128
  @property
119
129
  def billed_bytes(self) -> 'str':
@@ -283,6 +293,27 @@ class V1UsageDetails(object):
283
293
 
284
294
  self._instance_type = instance_type
285
295
 
296
+ @property
297
+ def read_bytes(self) -> 'str':
298
+ """Gets the read_bytes of this V1UsageDetails. # noqa: E501
299
+
300
+
301
+ :return: The read_bytes of this V1UsageDetails. # noqa: E501
302
+ :rtype: str
303
+ """
304
+ return self._read_bytes
305
+
306
+ @read_bytes.setter
307
+ def read_bytes(self, read_bytes: 'str'):
308
+ """Sets the read_bytes of this V1UsageDetails.
309
+
310
+
311
+ :param read_bytes: The read_bytes of this V1UsageDetails. # noqa: E501
312
+ :type: str
313
+ """
314
+
315
+ self._read_bytes = read_bytes
316
+
286
317
  @property
287
318
  def resource_name(self) -> 'str':
288
319
  """Gets the resource_name of this V1UsageDetails. # noqa: E501
@@ -388,6 +419,27 @@ class V1UsageDetails(object):
388
419
 
389
420
  self._user_id = user_id
390
421
 
422
+ @property
423
+ def written_bytes(self) -> 'str':
424
+ """Gets the written_bytes of this V1UsageDetails. # noqa: E501
425
+
426
+
427
+ :return: The written_bytes of this V1UsageDetails. # noqa: E501
428
+ :rtype: str
429
+ """
430
+ return self._written_bytes
431
+
432
+ @written_bytes.setter
433
+ def written_bytes(self, written_bytes: 'str'):
434
+ """Sets the written_bytes of this V1UsageDetails.
435
+
436
+
437
+ :param written_bytes: The written_bytes of this V1UsageDetails. # noqa: E501
438
+ :type: str
439
+ """
440
+
441
+ self._written_bytes = written_bytes
442
+
391
443
  def to_dict(self) -> dict:
392
444
  """Returns the model properties as a dict"""
393
445
  result = {}
@@ -60,6 +60,7 @@ class V1UserFeatures(object):
60
60
  'custom_app_domain': 'bool',
61
61
  'custom_instance_types': 'bool',
62
62
  'default_one_cluster': 'bool',
63
+ 'deployment_customize_api': 'bool',
63
64
  'deployment_data_path': 'bool',
64
65
  'deployment_gallery': 'bool',
65
66
  'deployment_persistent_disk': 'bool',
@@ -81,6 +82,7 @@ class V1UserFeatures(object):
81
82
  'mmt_strategy_selector': 'bool',
82
83
  'model_store': 'bool',
83
84
  'multiple_deployment_versions': 'bool',
85
+ 'multiple_studio_versions': 'bool',
84
86
  'org_level_member_permissions': 'bool',
85
87
  'plugin_biz_chat': 'bool',
86
88
  'plugin_distributed': 'bool',
@@ -136,6 +138,7 @@ class V1UserFeatures(object):
136
138
  'custom_app_domain': 'customAppDomain',
137
139
  'custom_instance_types': 'customInstanceTypes',
138
140
  'default_one_cluster': 'defaultOneCluster',
141
+ 'deployment_customize_api': 'deploymentCustomizeApi',
139
142
  'deployment_data_path': 'deploymentDataPath',
140
143
  'deployment_gallery': 'deploymentGallery',
141
144
  'deployment_persistent_disk': 'deploymentPersistentDisk',
@@ -157,6 +160,7 @@ class V1UserFeatures(object):
157
160
  'mmt_strategy_selector': 'mmtStrategySelector',
158
161
  'model_store': 'modelStore',
159
162
  'multiple_deployment_versions': 'multipleDeploymentVersions',
163
+ 'multiple_studio_versions': 'multipleStudioVersions',
160
164
  'org_level_member_permissions': 'orgLevelMemberPermissions',
161
165
  'plugin_biz_chat': 'pluginBizChat',
162
166
  'plugin_distributed': 'pluginDistributed',
@@ -192,7 +196,7 @@ class V1UserFeatures(object):
192
196
  'writable_data_connections': 'writableDataConnections'
193
197
  }
194
198
 
195
- def __init__(self, advanced_deployment_autoscaling: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, aws_trainium: 'bool' =None, b2c_experience: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, cluster_proxy: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, crypto_monitoring: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, default_one_cluster: 'bool' =None, deployment_data_path: 'bool' =None, deployment_gallery: 'bool' =None, deployment_persistent_disk: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_crypto_crackdown: 'bool' =None, enable_efs: 'bool' =None, enable_storage_limits: 'bool' =None, featured_studios_admin: 'bool' =None, filesystem_optimisation: 'bool' =None, gcp: 'bool' =None, inference_job_deployment_plugin: 'bool' =None, jobs_init: 'bool' =None, jobs_v2: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, lit_logger_storage_v2: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, model_store: 'bool' =None, multiple_deployment_versions: 'bool' =None, org_level_member_permissions: 'bool' =None, plugin_biz_chat: 'bool' =None, plugin_distributed: 'bool' =None, plugin_fiftyone: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_lightning_apps: 'bool' =None, plugin_lightning_apps_distributed: 'bool' =None, plugin_mage_ai: 'bool' =None, plugin_milvus: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_react: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, plugin_weviate: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, restart_ide_on_hang: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, s3_folders: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, snowflake_connection: 'bool' =None, spot_v2: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, teamspace_storage_tab: 'bool' =None, use_rclone_mounts_only: 'bool' =None, writable_data_connections: 'bool' =None): # noqa: E501
199
+ def __init__(self, advanced_deployment_autoscaling: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, aws_trainium: 'bool' =None, b2c_experience: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, cluster_proxy: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, crypto_monitoring: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, default_one_cluster: 'bool' =None, deployment_customize_api: 'bool' =None, deployment_data_path: 'bool' =None, deployment_gallery: 'bool' =None, deployment_persistent_disk: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_crypto_crackdown: 'bool' =None, enable_efs: 'bool' =None, enable_storage_limits: 'bool' =None, featured_studios_admin: 'bool' =None, filesystem_optimisation: 'bool' =None, gcp: 'bool' =None, inference_job_deployment_plugin: 'bool' =None, jobs_init: 'bool' =None, jobs_v2: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, lit_logger_storage_v2: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, model_store: 'bool' =None, multiple_deployment_versions: 'bool' =None, multiple_studio_versions: 'bool' =None, org_level_member_permissions: 'bool' =None, plugin_biz_chat: 'bool' =None, plugin_distributed: 'bool' =None, plugin_fiftyone: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_lightning_apps: 'bool' =None, plugin_lightning_apps_distributed: 'bool' =None, plugin_mage_ai: 'bool' =None, plugin_milvus: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_react: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, plugin_weviate: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, restart_ide_on_hang: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, s3_folders: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, snowflake_connection: 'bool' =None, spot_v2: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, teamspace_storage_tab: 'bool' =None, use_rclone_mounts_only: 'bool' =None, writable_data_connections: 'bool' =None): # noqa: E501
196
200
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
197
201
  self._advanced_deployment_autoscaling = None
198
202
  self._affiliate_links = None
@@ -213,6 +217,7 @@ class V1UserFeatures(object):
213
217
  self._custom_app_domain = None
214
218
  self._custom_instance_types = None
215
219
  self._default_one_cluster = None
220
+ self._deployment_customize_api = None
216
221
  self._deployment_data_path = None
217
222
  self._deployment_gallery = None
218
223
  self._deployment_persistent_disk = None
@@ -234,6 +239,7 @@ class V1UserFeatures(object):
234
239
  self._mmt_strategy_selector = None
235
240
  self._model_store = None
236
241
  self._multiple_deployment_versions = None
242
+ self._multiple_studio_versions = None
237
243
  self._org_level_member_permissions = None
238
244
  self._plugin_biz_chat = None
239
245
  self._plugin_distributed = None
@@ -306,6 +312,8 @@ class V1UserFeatures(object):
306
312
  self.custom_instance_types = custom_instance_types
307
313
  if default_one_cluster is not None:
308
314
  self.default_one_cluster = default_one_cluster
315
+ if deployment_customize_api is not None:
316
+ self.deployment_customize_api = deployment_customize_api
309
317
  if deployment_data_path is not None:
310
318
  self.deployment_data_path = deployment_data_path
311
319
  if deployment_gallery is not None:
@@ -348,6 +356,8 @@ class V1UserFeatures(object):
348
356
  self.model_store = model_store
349
357
  if multiple_deployment_versions is not None:
350
358
  self.multiple_deployment_versions = multiple_deployment_versions
359
+ if multiple_studio_versions is not None:
360
+ self.multiple_studio_versions = multiple_studio_versions
351
361
  if org_level_member_permissions is not None:
352
362
  self.org_level_member_permissions = org_level_member_permissions
353
363
  if plugin_biz_chat is not None:
@@ -814,6 +824,27 @@ class V1UserFeatures(object):
814
824
 
815
825
  self._default_one_cluster = default_one_cluster
816
826
 
827
+ @property
828
+ def deployment_customize_api(self) -> 'bool':
829
+ """Gets the deployment_customize_api of this V1UserFeatures. # noqa: E501
830
+
831
+
832
+ :return: The deployment_customize_api of this V1UserFeatures. # noqa: E501
833
+ :rtype: bool
834
+ """
835
+ return self._deployment_customize_api
836
+
837
+ @deployment_customize_api.setter
838
+ def deployment_customize_api(self, deployment_customize_api: 'bool'):
839
+ """Sets the deployment_customize_api of this V1UserFeatures.
840
+
841
+
842
+ :param deployment_customize_api: The deployment_customize_api of this V1UserFeatures. # noqa: E501
843
+ :type: bool
844
+ """
845
+
846
+ self._deployment_customize_api = deployment_customize_api
847
+
817
848
  @property
818
849
  def deployment_data_path(self) -> 'bool':
819
850
  """Gets the deployment_data_path of this V1UserFeatures. # noqa: E501
@@ -1255,6 +1286,27 @@ class V1UserFeatures(object):
1255
1286
 
1256
1287
  self._multiple_deployment_versions = multiple_deployment_versions
1257
1288
 
1289
+ @property
1290
+ def multiple_studio_versions(self) -> 'bool':
1291
+ """Gets the multiple_studio_versions of this V1UserFeatures. # noqa: E501
1292
+
1293
+
1294
+ :return: The multiple_studio_versions of this V1UserFeatures. # noqa: E501
1295
+ :rtype: bool
1296
+ """
1297
+ return self._multiple_studio_versions
1298
+
1299
+ @multiple_studio_versions.setter
1300
+ def multiple_studio_versions(self, multiple_studio_versions: 'bool'):
1301
+ """Sets the multiple_studio_versions of this V1UserFeatures.
1302
+
1303
+
1304
+ :param multiple_studio_versions: The multiple_studio_versions of this V1UserFeatures. # noqa: E501
1305
+ :type: bool
1306
+ """
1307
+
1308
+ self._multiple_studio_versions = multiple_studio_versions
1309
+
1258
1310
  @property
1259
1311
  def org_level_member_permissions(self) -> 'bool':
1260
1312
  """Gets the org_level_member_permissions of this V1UserFeatures. # noqa: E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lightning_sdk
3
- Version: 0.1.33
3
+ Version: 0.1.35
4
4
  Summary: SDK to develop using Lightning AI Studios
5
5
  Author-email: Lightning-AI <justus@lightning.ai>
6
6
  License: MIT License