lightning-sdk 2025.8.1__py3-none-any.whl → 2025.8.6rc1__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 (65) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +6 -4
  3. lightning_sdk/api/job_api.py +2 -0
  4. lightning_sdk/api/mmt_api.py +2 -0
  5. lightning_sdk/deployment/deployment.py +5 -0
  6. lightning_sdk/lightning_cloud/login.py +1 -7
  7. lightning_sdk/lightning_cloud/openapi/__init__.py +15 -23
  8. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  9. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +5 -1
  10. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +228 -1
  11. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +126 -2129
  12. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +625 -0
  13. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
  14. lightning_sdk/lightning_cloud/openapi/models/__init__.py +14 -23
  15. lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +175 -0
  16. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +53 -1
  17. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +53 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  19. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +201 -0
  20. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +29 -3
  21. lightning_sdk/lightning_cloud/openapi/models/{v1_complete_upload_service_execution_artifact_response.py → v1_complete_running_cloud_space_instance_transfer_response.py} +6 -6
  22. lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
  23. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
  24. lightning_sdk/lightning_cloud/openapi/models/{v1_list_file_endpoints_response.py → v1_list_container_metrics_response.py} +23 -23
  25. lightning_sdk/lightning_cloud/openapi/models/{service_artifact_artifact_kind.py → v1_list_node_file_system_metrics_response.py} +6 -13
  26. lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_parts_response.py → v1_list_node_metrics_response.py} +23 -23
  27. lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +79 -1
  29. lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +357 -0
  30. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +435 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +53 -1
  33. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_service_execution_response.py → v1_report_k8s_cluster_metrics_response.py} +6 -6
  34. lightning_sdk/lightning_cloud/openapi/models/{command_argument_command_argument_type.py → v1_request_cloud_space_access_response.py} +6 -12
  35. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +331 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -53
  37. lightning_sdk/lightning_cloud/utils/data_connection.py +56 -1
  38. lightning_sdk/llm/llm.py +2 -13
  39. lightning_sdk/llm/public_assistants.py +17 -0
  40. lightning_sdk/pipeline/steps.py +30 -1
  41. lightning_sdk/services/file_endpoint.py +3 -4
  42. {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/METADATA +1 -1
  43. {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/RECORD +47 -55
  44. lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +0 -409
  45. lightning_sdk/lightning_cloud/openapi/models/id_complete_body.py +0 -175
  46. lightning_sdk/lightning_cloud/openapi/models/id_storage_body.py +0 -175
  47. lightning_sdk/lightning_cloud/openapi/models/id_uploads_body1.py +0 -175
  48. lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +0 -357
  49. lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +0 -175
  50. lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +0 -331
  51. lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +0 -305
  52. lightning_sdk/lightning_cloud/openapi/models/v1_delete_file_endpoint_response.py +0 -149
  53. lightning_sdk/lightning_cloud/openapi/models/v1_download_service_execution_artifact_response.py +0 -175
  54. lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +0 -461
  55. lightning_sdk/lightning_cloud/openapi/models/v1_get_service_execution_status_response.py +0 -175
  56. lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +0 -175
  57. lightning_sdk/lightning_cloud/openapi/models/v1_list_service_executions_response.py +0 -123
  58. lightning_sdk/lightning_cloud/openapi/models/v1_service_artifact.py +0 -201
  59. lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +0 -383
  60. lightning_sdk/lightning_cloud/openapi/models/v1_upload_service_execution_artifact_response.py +0 -149
  61. lightning_sdk/llm/public_assistants.json +0 -34
  62. {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/LICENSE +0 -0
  63. {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/WHEEL +0 -0
  64. {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/entry_points.txt +0 -0
  65. {lightning_sdk-2025.8.1.dist-info → lightning_sdk-2025.8.6rc1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,435 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1PodMetrics(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_types (dict): The key is attribute name
39
+ and the value is attribute type.
40
+ attribute_map (dict): The key is attribute name
41
+ and the value is json key in definition.
42
+ """
43
+ swagger_types = {
44
+ 'cpu_usage': 'float',
45
+ 'labels': 'dict(str, str)',
46
+ 'mem_usage': 'float',
47
+ 'namespace': 'str',
48
+ 'node_name': 'str',
49
+ 'num_cpus_limit': 'float',
50
+ 'num_cpus_request': 'float',
51
+ 'num_gpus': 'float',
52
+ 'per_gpu_mem_used': 'dict(str, float)',
53
+ 'per_gpu_util': 'dict(str, float)',
54
+ 'pod_id': 'str',
55
+ 'pod_name': 'str',
56
+ 'timestamp': 'datetime'
57
+ }
58
+
59
+ attribute_map = {
60
+ 'cpu_usage': 'cpuUsage',
61
+ 'labels': 'labels',
62
+ 'mem_usage': 'memUsage',
63
+ 'namespace': 'namespace',
64
+ 'node_name': 'nodeName',
65
+ 'num_cpus_limit': 'numCpusLimit',
66
+ 'num_cpus_request': 'numCpusRequest',
67
+ 'num_gpus': 'numGpus',
68
+ 'per_gpu_mem_used': 'perGpuMemUsed',
69
+ 'per_gpu_util': 'perGpuUtil',
70
+ 'pod_id': 'podId',
71
+ 'pod_name': 'podName',
72
+ 'timestamp': 'timestamp'
73
+ }
74
+
75
+ def __init__(self, cpu_usage: 'float' =None, labels: 'dict(str, str)' =None, mem_usage: 'float' =None, namespace: 'str' =None, node_name: 'str' =None, num_cpus_limit: 'float' =None, num_cpus_request: 'float' =None, num_gpus: 'float' =None, per_gpu_mem_used: 'dict(str, float)' =None, per_gpu_util: 'dict(str, float)' =None, pod_id: 'str' =None, pod_name: 'str' =None, timestamp: 'datetime' =None): # noqa: E501
76
+ """V1PodMetrics - a model defined in Swagger""" # noqa: E501
77
+ self._cpu_usage = None
78
+ self._labels = None
79
+ self._mem_usage = None
80
+ self._namespace = None
81
+ self._node_name = None
82
+ self._num_cpus_limit = None
83
+ self._num_cpus_request = None
84
+ self._num_gpus = None
85
+ self._per_gpu_mem_used = None
86
+ self._per_gpu_util = None
87
+ self._pod_id = None
88
+ self._pod_name = None
89
+ self._timestamp = None
90
+ self.discriminator = None
91
+ if cpu_usage is not None:
92
+ self.cpu_usage = cpu_usage
93
+ if labels is not None:
94
+ self.labels = labels
95
+ if mem_usage is not None:
96
+ self.mem_usage = mem_usage
97
+ if namespace is not None:
98
+ self.namespace = namespace
99
+ if node_name is not None:
100
+ self.node_name = node_name
101
+ if num_cpus_limit is not None:
102
+ self.num_cpus_limit = num_cpus_limit
103
+ if num_cpus_request is not None:
104
+ self.num_cpus_request = num_cpus_request
105
+ if num_gpus is not None:
106
+ self.num_gpus = num_gpus
107
+ if per_gpu_mem_used is not None:
108
+ self.per_gpu_mem_used = per_gpu_mem_used
109
+ if per_gpu_util is not None:
110
+ self.per_gpu_util = per_gpu_util
111
+ if pod_id is not None:
112
+ self.pod_id = pod_id
113
+ if pod_name is not None:
114
+ self.pod_name = pod_name
115
+ if timestamp is not None:
116
+ self.timestamp = timestamp
117
+
118
+ @property
119
+ def cpu_usage(self) -> 'float':
120
+ """Gets the cpu_usage of this V1PodMetrics. # noqa: E501
121
+
122
+
123
+ :return: The cpu_usage of this V1PodMetrics. # noqa: E501
124
+ :rtype: float
125
+ """
126
+ return self._cpu_usage
127
+
128
+ @cpu_usage.setter
129
+ def cpu_usage(self, cpu_usage: 'float'):
130
+ """Sets the cpu_usage of this V1PodMetrics.
131
+
132
+
133
+ :param cpu_usage: The cpu_usage of this V1PodMetrics. # noqa: E501
134
+ :type: float
135
+ """
136
+
137
+ self._cpu_usage = cpu_usage
138
+
139
+ @property
140
+ def labels(self) -> 'dict(str, str)':
141
+ """Gets the labels of this V1PodMetrics. # noqa: E501
142
+
143
+
144
+ :return: The labels of this V1PodMetrics. # noqa: E501
145
+ :rtype: dict(str, str)
146
+ """
147
+ return self._labels
148
+
149
+ @labels.setter
150
+ def labels(self, labels: 'dict(str, str)'):
151
+ """Sets the labels of this V1PodMetrics.
152
+
153
+
154
+ :param labels: The labels of this V1PodMetrics. # noqa: E501
155
+ :type: dict(str, str)
156
+ """
157
+
158
+ self._labels = labels
159
+
160
+ @property
161
+ def mem_usage(self) -> 'float':
162
+ """Gets the mem_usage of this V1PodMetrics. # noqa: E501
163
+
164
+
165
+ :return: The mem_usage of this V1PodMetrics. # noqa: E501
166
+ :rtype: float
167
+ """
168
+ return self._mem_usage
169
+
170
+ @mem_usage.setter
171
+ def mem_usage(self, mem_usage: 'float'):
172
+ """Sets the mem_usage of this V1PodMetrics.
173
+
174
+
175
+ :param mem_usage: The mem_usage of this V1PodMetrics. # noqa: E501
176
+ :type: float
177
+ """
178
+
179
+ self._mem_usage = mem_usage
180
+
181
+ @property
182
+ def namespace(self) -> 'str':
183
+ """Gets the namespace of this V1PodMetrics. # noqa: E501
184
+
185
+
186
+ :return: The namespace of this V1PodMetrics. # noqa: E501
187
+ :rtype: str
188
+ """
189
+ return self._namespace
190
+
191
+ @namespace.setter
192
+ def namespace(self, namespace: 'str'):
193
+ """Sets the namespace of this V1PodMetrics.
194
+
195
+
196
+ :param namespace: The namespace of this V1PodMetrics. # noqa: E501
197
+ :type: str
198
+ """
199
+
200
+ self._namespace = namespace
201
+
202
+ @property
203
+ def node_name(self) -> 'str':
204
+ """Gets the node_name of this V1PodMetrics. # noqa: E501
205
+
206
+
207
+ :return: The node_name of this V1PodMetrics. # noqa: E501
208
+ :rtype: str
209
+ """
210
+ return self._node_name
211
+
212
+ @node_name.setter
213
+ def node_name(self, node_name: 'str'):
214
+ """Sets the node_name of this V1PodMetrics.
215
+
216
+
217
+ :param node_name: The node_name of this V1PodMetrics. # noqa: E501
218
+ :type: str
219
+ """
220
+
221
+ self._node_name = node_name
222
+
223
+ @property
224
+ def num_cpus_limit(self) -> 'float':
225
+ """Gets the num_cpus_limit of this V1PodMetrics. # noqa: E501
226
+
227
+
228
+ :return: The num_cpus_limit of this V1PodMetrics. # noqa: E501
229
+ :rtype: float
230
+ """
231
+ return self._num_cpus_limit
232
+
233
+ @num_cpus_limit.setter
234
+ def num_cpus_limit(self, num_cpus_limit: 'float'):
235
+ """Sets the num_cpus_limit of this V1PodMetrics.
236
+
237
+
238
+ :param num_cpus_limit: The num_cpus_limit of this V1PodMetrics. # noqa: E501
239
+ :type: float
240
+ """
241
+
242
+ self._num_cpus_limit = num_cpus_limit
243
+
244
+ @property
245
+ def num_cpus_request(self) -> 'float':
246
+ """Gets the num_cpus_request of this V1PodMetrics. # noqa: E501
247
+
248
+
249
+ :return: The num_cpus_request of this V1PodMetrics. # noqa: E501
250
+ :rtype: float
251
+ """
252
+ return self._num_cpus_request
253
+
254
+ @num_cpus_request.setter
255
+ def num_cpus_request(self, num_cpus_request: 'float'):
256
+ """Sets the num_cpus_request of this V1PodMetrics.
257
+
258
+
259
+ :param num_cpus_request: The num_cpus_request of this V1PodMetrics. # noqa: E501
260
+ :type: float
261
+ """
262
+
263
+ self._num_cpus_request = num_cpus_request
264
+
265
+ @property
266
+ def num_gpus(self) -> 'float':
267
+ """Gets the num_gpus of this V1PodMetrics. # noqa: E501
268
+
269
+
270
+ :return: The num_gpus of this V1PodMetrics. # noqa: E501
271
+ :rtype: float
272
+ """
273
+ return self._num_gpus
274
+
275
+ @num_gpus.setter
276
+ def num_gpus(self, num_gpus: 'float'):
277
+ """Sets the num_gpus of this V1PodMetrics.
278
+
279
+
280
+ :param num_gpus: The num_gpus of this V1PodMetrics. # noqa: E501
281
+ :type: float
282
+ """
283
+
284
+ self._num_gpus = num_gpus
285
+
286
+ @property
287
+ def per_gpu_mem_used(self) -> 'dict(str, float)':
288
+ """Gets the per_gpu_mem_used of this V1PodMetrics. # noqa: E501
289
+
290
+
291
+ :return: The per_gpu_mem_used of this V1PodMetrics. # noqa: E501
292
+ :rtype: dict(str, float)
293
+ """
294
+ return self._per_gpu_mem_used
295
+
296
+ @per_gpu_mem_used.setter
297
+ def per_gpu_mem_used(self, per_gpu_mem_used: 'dict(str, float)'):
298
+ """Sets the per_gpu_mem_used of this V1PodMetrics.
299
+
300
+
301
+ :param per_gpu_mem_used: The per_gpu_mem_used of this V1PodMetrics. # noqa: E501
302
+ :type: dict(str, float)
303
+ """
304
+
305
+ self._per_gpu_mem_used = per_gpu_mem_used
306
+
307
+ @property
308
+ def per_gpu_util(self) -> 'dict(str, float)':
309
+ """Gets the per_gpu_util of this V1PodMetrics. # noqa: E501
310
+
311
+
312
+ :return: The per_gpu_util of this V1PodMetrics. # noqa: E501
313
+ :rtype: dict(str, float)
314
+ """
315
+ return self._per_gpu_util
316
+
317
+ @per_gpu_util.setter
318
+ def per_gpu_util(self, per_gpu_util: 'dict(str, float)'):
319
+ """Sets the per_gpu_util of this V1PodMetrics.
320
+
321
+
322
+ :param per_gpu_util: The per_gpu_util of this V1PodMetrics. # noqa: E501
323
+ :type: dict(str, float)
324
+ """
325
+
326
+ self._per_gpu_util = per_gpu_util
327
+
328
+ @property
329
+ def pod_id(self) -> 'str':
330
+ """Gets the pod_id of this V1PodMetrics. # noqa: E501
331
+
332
+
333
+ :return: The pod_id of this V1PodMetrics. # noqa: E501
334
+ :rtype: str
335
+ """
336
+ return self._pod_id
337
+
338
+ @pod_id.setter
339
+ def pod_id(self, pod_id: 'str'):
340
+ """Sets the pod_id of this V1PodMetrics.
341
+
342
+
343
+ :param pod_id: The pod_id of this V1PodMetrics. # noqa: E501
344
+ :type: str
345
+ """
346
+
347
+ self._pod_id = pod_id
348
+
349
+ @property
350
+ def pod_name(self) -> 'str':
351
+ """Gets the pod_name of this V1PodMetrics. # noqa: E501
352
+
353
+
354
+ :return: The pod_name of this V1PodMetrics. # noqa: E501
355
+ :rtype: str
356
+ """
357
+ return self._pod_name
358
+
359
+ @pod_name.setter
360
+ def pod_name(self, pod_name: 'str'):
361
+ """Sets the pod_name of this V1PodMetrics.
362
+
363
+
364
+ :param pod_name: The pod_name of this V1PodMetrics. # noqa: E501
365
+ :type: str
366
+ """
367
+
368
+ self._pod_name = pod_name
369
+
370
+ @property
371
+ def timestamp(self) -> 'datetime':
372
+ """Gets the timestamp of this V1PodMetrics. # noqa: E501
373
+
374
+
375
+ :return: The timestamp of this V1PodMetrics. # noqa: E501
376
+ :rtype: datetime
377
+ """
378
+ return self._timestamp
379
+
380
+ @timestamp.setter
381
+ def timestamp(self, timestamp: 'datetime'):
382
+ """Sets the timestamp of this V1PodMetrics.
383
+
384
+
385
+ :param timestamp: The timestamp of this V1PodMetrics. # noqa: E501
386
+ :type: datetime
387
+ """
388
+
389
+ self._timestamp = timestamp
390
+
391
+ def to_dict(self) -> dict:
392
+ """Returns the model properties as a dict"""
393
+ result = {}
394
+
395
+ for attr, _ in six.iteritems(self.swagger_types):
396
+ value = getattr(self, attr)
397
+ if isinstance(value, list):
398
+ result[attr] = list(map(
399
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
400
+ value
401
+ ))
402
+ elif hasattr(value, "to_dict"):
403
+ result[attr] = value.to_dict()
404
+ elif isinstance(value, dict):
405
+ result[attr] = dict(map(
406
+ lambda item: (item[0], item[1].to_dict())
407
+ if hasattr(item[1], "to_dict") else item,
408
+ value.items()
409
+ ))
410
+ else:
411
+ result[attr] = value
412
+ if issubclass(V1PodMetrics, dict):
413
+ for key, value in self.items():
414
+ result[key] = value
415
+
416
+ return result
417
+
418
+ def to_str(self) -> str:
419
+ """Returns the string representation of the model"""
420
+ return pprint.pformat(self.to_dict())
421
+
422
+ def __repr__(self) -> str:
423
+ """For `print` and `pprint`"""
424
+ return self.to_str()
425
+
426
+ def __eq__(self, other: 'V1PodMetrics') -> bool:
427
+ """Returns true if both objects are equal"""
428
+ if not isinstance(other, V1PodMetrics):
429
+ return False
430
+
431
+ return self.__dict__ == other.__dict__
432
+
433
+ def __ne__(self, other: 'V1PodMetrics') -> bool:
434
+ """Returns true if both objects are not equal"""
435
+ return not self == other
@@ -48,6 +48,8 @@ class V1ProjectSettings(object):
48
48
  'allow_gcp_saas': 'bool',
49
49
  'allow_lambda_saas': 'bool',
50
50
  'allow_lightning_saas': 'bool',
51
+ 'allow_nebius_saas': 'bool',
52
+ 'allow_voltage_park_saas': 'bool',
51
53
  'allow_vultr_saas': 'bool',
52
54
  'auto_replenish_amount': 'float',
53
55
  'auto_replenish_threshold': 'float',
@@ -70,6 +72,8 @@ class V1ProjectSettings(object):
70
72
  'allow_gcp_saas': 'allowGcpSaas',
71
73
  'allow_lambda_saas': 'allowLambdaSaas',
72
74
  'allow_lightning_saas': 'allowLightningSaas',
75
+ 'allow_nebius_saas': 'allowNebiusSaas',
76
+ 'allow_voltage_park_saas': 'allowVoltageParkSaas',
73
77
  'allow_vultr_saas': 'allowVultrSaas',
74
78
  'auto_replenish_amount': 'autoReplenishAmount',
75
79
  'auto_replenish_threshold': 'autoReplenishThreshold',
@@ -84,7 +88,7 @@ class V1ProjectSettings(object):
84
88
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle'
85
89
  }
86
90
 
87
- def __init__(self, allow_aws_saas: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
91
+ def __init__(self, allow_aws_saas: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_nebius_saas: 'bool' =None, allow_voltage_park_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
88
92
  """V1ProjectSettings - a model defined in Swagger""" # noqa: E501
89
93
  self._allow_aws_saas = None
90
94
  self._allow_credits_auto_replenish = None
@@ -93,6 +97,8 @@ class V1ProjectSettings(object):
93
97
  self._allow_gcp_saas = None
94
98
  self._allow_lambda_saas = None
95
99
  self._allow_lightning_saas = None
100
+ self._allow_nebius_saas = None
101
+ self._allow_voltage_park_saas = None
96
102
  self._allow_vultr_saas = None
97
103
  self._auto_replenish_amount = None
98
104
  self._auto_replenish_threshold = None
@@ -120,6 +126,10 @@ class V1ProjectSettings(object):
120
126
  self.allow_lambda_saas = allow_lambda_saas
121
127
  if allow_lightning_saas is not None:
122
128
  self.allow_lightning_saas = allow_lightning_saas
129
+ if allow_nebius_saas is not None:
130
+ self.allow_nebius_saas = allow_nebius_saas
131
+ if allow_voltage_park_saas is not None:
132
+ self.allow_voltage_park_saas = allow_voltage_park_saas
123
133
  if allow_vultr_saas is not None:
124
134
  self.allow_vultr_saas = allow_vultr_saas
125
135
  if auto_replenish_amount is not None:
@@ -294,6 +304,48 @@ class V1ProjectSettings(object):
294
304
 
295
305
  self._allow_lightning_saas = allow_lightning_saas
296
306
 
307
+ @property
308
+ def allow_nebius_saas(self) -> 'bool':
309
+ """Gets the allow_nebius_saas of this V1ProjectSettings. # noqa: E501
310
+
311
+
312
+ :return: The allow_nebius_saas of this V1ProjectSettings. # noqa: E501
313
+ :rtype: bool
314
+ """
315
+ return self._allow_nebius_saas
316
+
317
+ @allow_nebius_saas.setter
318
+ def allow_nebius_saas(self, allow_nebius_saas: 'bool'):
319
+ """Sets the allow_nebius_saas of this V1ProjectSettings.
320
+
321
+
322
+ :param allow_nebius_saas: The allow_nebius_saas of this V1ProjectSettings. # noqa: E501
323
+ :type: bool
324
+ """
325
+
326
+ self._allow_nebius_saas = allow_nebius_saas
327
+
328
+ @property
329
+ def allow_voltage_park_saas(self) -> 'bool':
330
+ """Gets the allow_voltage_park_saas of this V1ProjectSettings. # noqa: E501
331
+
332
+
333
+ :return: The allow_voltage_park_saas of this V1ProjectSettings. # noqa: E501
334
+ :rtype: bool
335
+ """
336
+ return self._allow_voltage_park_saas
337
+
338
+ @allow_voltage_park_saas.setter
339
+ def allow_voltage_park_saas(self, allow_voltage_park_saas: 'bool'):
340
+ """Sets the allow_voltage_park_saas of this V1ProjectSettings.
341
+
342
+
343
+ :param allow_voltage_park_saas: The allow_voltage_park_saas of this V1ProjectSettings. # noqa: E501
344
+ :type: bool
345
+ """
346
+
347
+ self._allow_voltage_park_saas = allow_voltage_park_saas
348
+
297
349
  @property
298
350
  def allow_vultr_saas(self) -> 'bool':
299
351
  """Gets the allow_vultr_saas of this V1ProjectSettings. # noqa: E501
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
28
28
  from datetime import datetime
29
29
  from lightning_sdk.lightning_cloud.openapi.models import *
30
30
 
31
- class V1DeleteServiceExecutionResponse(object):
31
+ class V1ReportK8sClusterMetricsResponse(object):
32
32
  """NOTE: This class is auto generated by the swagger code generator program.
33
33
 
34
34
  Do not edit the class manually.
@@ -47,7 +47,7 @@ class V1DeleteServiceExecutionResponse(object):
47
47
  }
48
48
 
49
49
  def __init__(self): # noqa: E501
50
- """V1DeleteServiceExecutionResponse - a model defined in Swagger""" # noqa: E501
50
+ """V1ReportK8sClusterMetricsResponse - a model defined in Swagger""" # noqa: E501
51
51
  self.discriminator = None
52
52
 
53
53
  def to_dict(self) -> dict:
@@ -71,7 +71,7 @@ class V1DeleteServiceExecutionResponse(object):
71
71
  ))
72
72
  else:
73
73
  result[attr] = value
74
- if issubclass(V1DeleteServiceExecutionResponse, dict):
74
+ if issubclass(V1ReportK8sClusterMetricsResponse, dict):
75
75
  for key, value in self.items():
76
76
  result[key] = value
77
77
 
@@ -85,13 +85,13 @@ class V1DeleteServiceExecutionResponse(object):
85
85
  """For `print` and `pprint`"""
86
86
  return self.to_str()
87
87
 
88
- def __eq__(self, other: 'V1DeleteServiceExecutionResponse') -> bool:
88
+ def __eq__(self, other: 'V1ReportK8sClusterMetricsResponse') -> bool:
89
89
  """Returns true if both objects are equal"""
90
- if not isinstance(other, V1DeleteServiceExecutionResponse):
90
+ if not isinstance(other, V1ReportK8sClusterMetricsResponse):
91
91
  return False
92
92
 
93
93
  return self.__dict__ == other.__dict__
94
94
 
95
- def __ne__(self, other: 'V1DeleteServiceExecutionResponse') -> bool:
95
+ def __ne__(self, other: 'V1ReportK8sClusterMetricsResponse') -> bool:
96
96
  """Returns true if both objects are not equal"""
97
97
  return not self == other
@@ -28,17 +28,11 @@ if TYPE_CHECKING:
28
28
  from datetime import datetime
29
29
  from lightning_sdk.lightning_cloud.openapi.models import *
30
30
 
31
- class CommandArgumentCommandArgumentType(object):
31
+ class V1RequestCloudSpaceAccessResponse(object):
32
32
  """NOTE: This class is auto generated by the swagger code generator program.
33
33
 
34
34
  Do not edit the class manually.
35
35
  """
36
-
37
- """
38
- allowed enum values
39
- """
40
- TEXT = "Text"
41
- FILE = "File"
42
36
  """
43
37
  Attributes:
44
38
  swagger_types (dict): The key is attribute name
@@ -53,7 +47,7 @@ class CommandArgumentCommandArgumentType(object):
53
47
  }
54
48
 
55
49
  def __init__(self): # noqa: E501
56
- """CommandArgumentCommandArgumentType - a model defined in Swagger""" # noqa: E501
50
+ """V1RequestCloudSpaceAccessResponse - a model defined in Swagger""" # noqa: E501
57
51
  self.discriminator = None
58
52
 
59
53
  def to_dict(self) -> dict:
@@ -77,7 +71,7 @@ class CommandArgumentCommandArgumentType(object):
77
71
  ))
78
72
  else:
79
73
  result[attr] = value
80
- if issubclass(CommandArgumentCommandArgumentType, dict):
74
+ if issubclass(V1RequestCloudSpaceAccessResponse, dict):
81
75
  for key, value in self.items():
82
76
  result[key] = value
83
77
 
@@ -91,13 +85,13 @@ class CommandArgumentCommandArgumentType(object):
91
85
  """For `print` and `pprint`"""
92
86
  return self.to_str()
93
87
 
94
- def __eq__(self, other: 'CommandArgumentCommandArgumentType') -> bool:
88
+ def __eq__(self, other: 'V1RequestCloudSpaceAccessResponse') -> bool:
95
89
  """Returns true if both objects are equal"""
96
- if not isinstance(other, CommandArgumentCommandArgumentType):
90
+ if not isinstance(other, V1RequestCloudSpaceAccessResponse):
97
91
  return False
98
92
 
99
93
  return self.__dict__ == other.__dict__
100
94
 
101
- def __ne__(self, other: 'CommandArgumentCommandArgumentType') -> bool:
95
+ def __ne__(self, other: 'V1RequestCloudSpaceAccessResponse') -> bool:
102
96
  """Returns true if both objects are not equal"""
103
97
  return not self == other