lightning-sdk 2025.10.8__py3-none-any.whl → 2025.10.22__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 (96) hide show
  1. lightning_sdk/__init__.py +6 -3
  2. lightning_sdk/api/base_studio_api.py +13 -9
  3. lightning_sdk/api/cloud_account_api.py +0 -2
  4. lightning_sdk/api/license_api.py +26 -59
  5. lightning_sdk/api/studio_api.py +15 -2
  6. lightning_sdk/base_studio.py +30 -17
  7. lightning_sdk/cli/base_studio/list.py +1 -3
  8. lightning_sdk/cli/entrypoint.py +8 -34
  9. lightning_sdk/cli/studio/connect.py +42 -92
  10. lightning_sdk/cli/studio/create.py +23 -1
  11. lightning_sdk/cli/studio/start.py +12 -2
  12. lightning_sdk/cli/utils/get_base_studio.py +24 -0
  13. lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +71 -0
  14. lightning_sdk/cli/utils/logging.py +121 -0
  15. lightning_sdk/cli/utils/ssh_connection.py +1 -1
  16. lightning_sdk/constants.py +1 -0
  17. lightning_sdk/helpers.py +53 -34
  18. lightning_sdk/job/job.py +5 -0
  19. lightning_sdk/job/v1.py +8 -0
  20. lightning_sdk/job/v2.py +8 -0
  21. lightning_sdk/lightning_cloud/login.py +260 -10
  22. lightning_sdk/lightning_cloud/openapi/__init__.py +30 -3
  23. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  24. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +19 -19
  25. lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +97 -0
  26. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +105 -0
  27. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +1463 -240
  28. lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +108 -108
  29. lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
  30. lightning_sdk/lightning_cloud/openapi/models/__init__.py +29 -3
  31. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +27 -1
  32. lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +53 -1
  33. lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  35. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +79 -1
  36. lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +27 -1
  37. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +53 -1
  38. lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +149 -0
  39. lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
  40. lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
  41. lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +149 -0
  42. lightning_sdk/lightning_cloud/openapi/models/project_id_incidents_body.py +279 -0
  43. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +27 -1
  44. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +15 -15
  45. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +53 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
  47. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
  49. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
  50. lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
  51. lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
  53. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  54. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -1
  55. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
  56. lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
  57. lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
  58. lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
  59. lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +27 -1
  60. lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
  61. lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +1 -0
  62. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +53 -1
  63. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  64. lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
  65. lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
  66. lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
  67. lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
  68. lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
  69. lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
  70. lightning_sdk/lightning_cloud/openapi/models/{v1_list_product_licenses_response.py → v1_list_license_response.py} +16 -16
  71. lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +79 -1
  72. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  73. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  74. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
  75. lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +1 -27
  76. lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
  77. lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
  78. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
  79. lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +53 -1
  80. lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
  81. lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
  82. lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
  83. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +209 -131
  84. lightning_sdk/lightning_cloud/openapi/models/{v1_product_license_check_response.py → v1_validate_license_response.py} +21 -21
  85. lightning_sdk/lightning_cloud/rest_client.py +48 -45
  86. lightning_sdk/machine.py +2 -1
  87. lightning_sdk/studio.py +22 -2
  88. lightning_sdk/utils/license.py +13 -0
  89. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/METADATA +1 -1
  90. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/RECORD +94 -64
  91. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +0 -435
  92. lightning_sdk/services/license.py +0 -363
  93. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/LICENSE +0 -0
  94. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/WHEEL +0 -0
  95. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/entry_points.txt +0 -0
  96. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/top_level.txt +0 -0
@@ -45,7 +45,6 @@ class V1UserFeatures(object):
45
45
  'agents_v2': 'bool',
46
46
  'ai_hub_monetization': 'bool',
47
47
  'auto_fast_load': 'bool',
48
- 'auto_join_orgs': 'bool',
49
48
  'b2c_experience': 'bool',
50
49
  'byo_machine_type': 'bool',
51
50
  'cap_add': 'list[str]',
@@ -75,17 +74,23 @@ class V1UserFeatures(object):
75
74
  'f247': 'bool',
76
75
  'f248': 'bool',
77
76
  'f250': 'bool',
78
- 'f251': 'bool',
79
77
  'f252': 'bool',
80
78
  'f253': 'bool',
81
79
  'f254': 'bool',
82
80
  'f255': 'bool',
83
81
  'f257': 'bool',
84
82
  'f258': 'bool',
83
+ 'f259': 'bool',
84
+ 'f260': 'bool',
85
+ 'f261': 'bool',
86
+ 'f262': 'bool',
87
+ 'f263': 'bool',
88
+ 'f264': 'bool',
89
+ 'f265': 'bool',
90
+ 'f266': 'bool',
85
91
  'fair_share': 'bool',
86
92
  'featured_studios_admin': 'bool',
87
93
  'gcs_connections_optimized': 'bool',
88
- 'instant_capacity_reservation': 'bool',
89
94
  'job_artifacts_v2': 'bool',
90
95
  'kubernetes_cluster_ui': 'bool',
91
96
  'kubernetes_clusters': 'bool',
@@ -116,14 +121,12 @@ class V1UserFeatures(object):
116
121
  'runnable_public_studio_page': 'bool',
117
122
  'security_docs': 'bool',
118
123
  'show_dev_admin': 'bool',
119
- 'single_wallet': 'bool',
120
124
  'slurm': 'bool',
121
125
  'specialised_studios': 'bool',
122
126
  'storage_overuse_deletion': 'bool',
123
127
  'studio_config': 'bool',
124
128
  'studio_sharing_v2': 'bool',
125
129
  'studio_version_visibility': 'bool',
126
- 'trainium2': 'bool',
127
130
  'vultr': 'bool',
128
131
  'weka': 'bool',
129
132
  'writable_s3_connections': 'bool'
@@ -134,7 +137,6 @@ class V1UserFeatures(object):
134
137
  'agents_v2': 'agentsV2',
135
138
  'ai_hub_monetization': 'aiHubMonetization',
136
139
  'auto_fast_load': 'autoFastLoad',
137
- 'auto_join_orgs': 'autoJoinOrgs',
138
140
  'b2c_experience': 'b2cExperience',
139
141
  'byo_machine_type': 'byoMachineType',
140
142
  'cap_add': 'capAdd',
@@ -164,17 +166,23 @@ class V1UserFeatures(object):
164
166
  'f247': 'f247',
165
167
  'f248': 'f248',
166
168
  'f250': 'f250',
167
- 'f251': 'f251',
168
169
  'f252': 'f252',
169
170
  'f253': 'f253',
170
171
  'f254': 'f254',
171
172
  'f255': 'f255',
172
173
  'f257': 'f257',
173
174
  'f258': 'f258',
175
+ 'f259': 'f259',
176
+ 'f260': 'f260',
177
+ 'f261': 'f261',
178
+ 'f262': 'f262',
179
+ 'f263': 'f263',
180
+ 'f264': 'f264',
181
+ 'f265': 'f265',
182
+ 'f266': 'f266',
174
183
  'fair_share': 'fairShare',
175
184
  'featured_studios_admin': 'featuredStudiosAdmin',
176
185
  'gcs_connections_optimized': 'gcsConnectionsOptimized',
177
- 'instant_capacity_reservation': 'instantCapacityReservation',
178
186
  'job_artifacts_v2': 'jobArtifactsV2',
179
187
  'kubernetes_cluster_ui': 'kubernetesClusterUi',
180
188
  'kubernetes_clusters': 'kubernetesClusters',
@@ -205,26 +213,23 @@ class V1UserFeatures(object):
205
213
  'runnable_public_studio_page': 'runnablePublicStudioPage',
206
214
  'security_docs': 'securityDocs',
207
215
  'show_dev_admin': 'showDevAdmin',
208
- 'single_wallet': 'singleWallet',
209
216
  'slurm': 'slurm',
210
217
  'specialised_studios': 'specialisedStudios',
211
218
  'storage_overuse_deletion': 'storageOveruseDeletion',
212
219
  'studio_config': 'studioConfig',
213
220
  'studio_sharing_v2': 'studioSharingV2',
214
221
  'studio_version_visibility': 'studioVersionVisibility',
215
- 'trainium2': 'trainium2',
216
222
  'vultr': 'vultr',
217
223
  'weka': 'weka',
218
224
  'writable_s3_connections': 'writableS3Connections'
219
225
  }
220
226
 
221
- def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, b2c_experience: 'bool' =None, byo_machine_type: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloudspace_schedules: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, control_center_monitoring: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_persistent_disk: 'bool' =None, drive_v2: 'bool' =None, enterprise_compute_admin: 'bool' =None, f227: 'bool' =None, f234: 'bool' =None, f236: 'bool' =None, f239: 'bool' =None, f240: 'bool' =None, f241: 'bool' =None, f243: 'bool' =None, f245: 'bool' =None, f247: 'bool' =None, f248: 'bool' =None, f250: 'bool' =None, f251: 'bool' =None, f252: 'bool' =None, f253: 'bool' =None, f254: 'bool' =None, f255: 'bool' =None, f257: 'bool' =None, f258: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, gcs_connections_optimized: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, kubernetes_cluster_ui: 'bool' =None, kubernetes_clusters: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, model_api_dashboard: 'bool' =None, multiple_studio_versions: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, persistent_disk: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_sweeps: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, product_license: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, single_wallet: 'bool' =None, slurm: 'bool' =None, specialised_studios: 'bool' =None, storage_overuse_deletion: 'bool' =None, studio_config: 'bool' =None, studio_sharing_v2: 'bool' =None, studio_version_visibility: 'bool' =None, trainium2: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None, writable_s3_connections: 'bool' =None): # noqa: E501
227
+ def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, b2c_experience: 'bool' =None, byo_machine_type: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloudspace_schedules: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, control_center_monitoring: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_persistent_disk: 'bool' =None, drive_v2: 'bool' =None, enterprise_compute_admin: 'bool' =None, f227: 'bool' =None, f234: 'bool' =None, f236: 'bool' =None, f239: 'bool' =None, f240: 'bool' =None, f241: 'bool' =None, f243: 'bool' =None, f245: 'bool' =None, f247: 'bool' =None, f248: 'bool' =None, f250: 'bool' =None, f252: 'bool' =None, f253: 'bool' =None, f254: 'bool' =None, f255: 'bool' =None, f257: 'bool' =None, f258: 'bool' =None, f259: 'bool' =None, f260: 'bool' =None, f261: 'bool' =None, f262: 'bool' =None, f263: 'bool' =None, f264: 'bool' =None, f265: 'bool' =None, f266: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, gcs_connections_optimized: 'bool' =None, job_artifacts_v2: 'bool' =None, kubernetes_cluster_ui: 'bool' =None, kubernetes_clusters: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, model_api_dashboard: 'bool' =None, multiple_studio_versions: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, persistent_disk: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_sweeps: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, product_license: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, specialised_studios: 'bool' =None, storage_overuse_deletion: 'bool' =None, studio_config: 'bool' =None, studio_sharing_v2: 'bool' =None, studio_version_visibility: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None, writable_s3_connections: 'bool' =None): # noqa: E501
222
228
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
223
229
  self._affiliate_links = None
224
230
  self._agents_v2 = None
225
231
  self._ai_hub_monetization = None
226
232
  self._auto_fast_load = None
227
- self._auto_join_orgs = None
228
233
  self._b2c_experience = None
229
234
  self._byo_machine_type = None
230
235
  self._cap_add = None
@@ -254,17 +259,23 @@ class V1UserFeatures(object):
254
259
  self._f247 = None
255
260
  self._f248 = None
256
261
  self._f250 = None
257
- self._f251 = None
258
262
  self._f252 = None
259
263
  self._f253 = None
260
264
  self._f254 = None
261
265
  self._f255 = None
262
266
  self._f257 = None
263
267
  self._f258 = None
268
+ self._f259 = None
269
+ self._f260 = None
270
+ self._f261 = None
271
+ self._f262 = None
272
+ self._f263 = None
273
+ self._f264 = None
274
+ self._f265 = None
275
+ self._f266 = None
264
276
  self._fair_share = None
265
277
  self._featured_studios_admin = None
266
278
  self._gcs_connections_optimized = None
267
- self._instant_capacity_reservation = None
268
279
  self._job_artifacts_v2 = None
269
280
  self._kubernetes_cluster_ui = None
270
281
  self._kubernetes_clusters = None
@@ -295,14 +306,12 @@ class V1UserFeatures(object):
295
306
  self._runnable_public_studio_page = None
296
307
  self._security_docs = None
297
308
  self._show_dev_admin = None
298
- self._single_wallet = None
299
309
  self._slurm = None
300
310
  self._specialised_studios = None
301
311
  self._storage_overuse_deletion = None
302
312
  self._studio_config = None
303
313
  self._studio_sharing_v2 = None
304
314
  self._studio_version_visibility = None
305
- self._trainium2 = None
306
315
  self._vultr = None
307
316
  self._weka = None
308
317
  self._writable_s3_connections = None
@@ -315,8 +324,6 @@ class V1UserFeatures(object):
315
324
  self.ai_hub_monetization = ai_hub_monetization
316
325
  if auto_fast_load is not None:
317
326
  self.auto_fast_load = auto_fast_load
318
- if auto_join_orgs is not None:
319
- self.auto_join_orgs = auto_join_orgs
320
327
  if b2c_experience is not None:
321
328
  self.b2c_experience = b2c_experience
322
329
  if byo_machine_type is not None:
@@ -375,8 +382,6 @@ class V1UserFeatures(object):
375
382
  self.f248 = f248
376
383
  if f250 is not None:
377
384
  self.f250 = f250
378
- if f251 is not None:
379
- self.f251 = f251
380
385
  if f252 is not None:
381
386
  self.f252 = f252
382
387
  if f253 is not None:
@@ -389,14 +394,28 @@ class V1UserFeatures(object):
389
394
  self.f257 = f257
390
395
  if f258 is not None:
391
396
  self.f258 = f258
397
+ if f259 is not None:
398
+ self.f259 = f259
399
+ if f260 is not None:
400
+ self.f260 = f260
401
+ if f261 is not None:
402
+ self.f261 = f261
403
+ if f262 is not None:
404
+ self.f262 = f262
405
+ if f263 is not None:
406
+ self.f263 = f263
407
+ if f264 is not None:
408
+ self.f264 = f264
409
+ if f265 is not None:
410
+ self.f265 = f265
411
+ if f266 is not None:
412
+ self.f266 = f266
392
413
  if fair_share is not None:
393
414
  self.fair_share = fair_share
394
415
  if featured_studios_admin is not None:
395
416
  self.featured_studios_admin = featured_studios_admin
396
417
  if gcs_connections_optimized is not None:
397
418
  self.gcs_connections_optimized = gcs_connections_optimized
398
- if instant_capacity_reservation is not None:
399
- self.instant_capacity_reservation = instant_capacity_reservation
400
419
  if job_artifacts_v2 is not None:
401
420
  self.job_artifacts_v2 = job_artifacts_v2
402
421
  if kubernetes_cluster_ui is not None:
@@ -457,8 +476,6 @@ class V1UserFeatures(object):
457
476
  self.security_docs = security_docs
458
477
  if show_dev_admin is not None:
459
478
  self.show_dev_admin = show_dev_admin
460
- if single_wallet is not None:
461
- self.single_wallet = single_wallet
462
479
  if slurm is not None:
463
480
  self.slurm = slurm
464
481
  if specialised_studios is not None:
@@ -471,8 +488,6 @@ class V1UserFeatures(object):
471
488
  self.studio_sharing_v2 = studio_sharing_v2
472
489
  if studio_version_visibility is not None:
473
490
  self.studio_version_visibility = studio_version_visibility
474
- if trainium2 is not None:
475
- self.trainium2 = trainium2
476
491
  if vultr is not None:
477
492
  self.vultr = vultr
478
493
  if weka is not None:
@@ -564,27 +579,6 @@ class V1UserFeatures(object):
564
579
 
565
580
  self._auto_fast_load = auto_fast_load
566
581
 
567
- @property
568
- def auto_join_orgs(self) -> 'bool':
569
- """Gets the auto_join_orgs of this V1UserFeatures. # noqa: E501
570
-
571
-
572
- :return: The auto_join_orgs of this V1UserFeatures. # noqa: E501
573
- :rtype: bool
574
- """
575
- return self._auto_join_orgs
576
-
577
- @auto_join_orgs.setter
578
- def auto_join_orgs(self, auto_join_orgs: 'bool'):
579
- """Sets the auto_join_orgs of this V1UserFeatures.
580
-
581
-
582
- :param auto_join_orgs: The auto_join_orgs of this V1UserFeatures. # noqa: E501
583
- :type: bool
584
- """
585
-
586
- self._auto_join_orgs = auto_join_orgs
587
-
588
582
  @property
589
583
  def b2c_experience(self) -> 'bool':
590
584
  """Gets the b2c_experience of this V1UserFeatures. # noqa: E501
@@ -1194,27 +1188,6 @@ class V1UserFeatures(object):
1194
1188
 
1195
1189
  self._f250 = f250
1196
1190
 
1197
- @property
1198
- def f251(self) -> 'bool':
1199
- """Gets the f251 of this V1UserFeatures. # noqa: E501
1200
-
1201
-
1202
- :return: The f251 of this V1UserFeatures. # noqa: E501
1203
- :rtype: bool
1204
- """
1205
- return self._f251
1206
-
1207
- @f251.setter
1208
- def f251(self, f251: 'bool'):
1209
- """Sets the f251 of this V1UserFeatures.
1210
-
1211
-
1212
- :param f251: The f251 of this V1UserFeatures. # noqa: E501
1213
- :type: bool
1214
- """
1215
-
1216
- self._f251 = f251
1217
-
1218
1191
  @property
1219
1192
  def f252(self) -> 'bool':
1220
1193
  """Gets the f252 of this V1UserFeatures. # noqa: E501
@@ -1341,6 +1314,174 @@ class V1UserFeatures(object):
1341
1314
 
1342
1315
  self._f258 = f258
1343
1316
 
1317
+ @property
1318
+ def f259(self) -> 'bool':
1319
+ """Gets the f259 of this V1UserFeatures. # noqa: E501
1320
+
1321
+
1322
+ :return: The f259 of this V1UserFeatures. # noqa: E501
1323
+ :rtype: bool
1324
+ """
1325
+ return self._f259
1326
+
1327
+ @f259.setter
1328
+ def f259(self, f259: 'bool'):
1329
+ """Sets the f259 of this V1UserFeatures.
1330
+
1331
+
1332
+ :param f259: The f259 of this V1UserFeatures. # noqa: E501
1333
+ :type: bool
1334
+ """
1335
+
1336
+ self._f259 = f259
1337
+
1338
+ @property
1339
+ def f260(self) -> 'bool':
1340
+ """Gets the f260 of this V1UserFeatures. # noqa: E501
1341
+
1342
+
1343
+ :return: The f260 of this V1UserFeatures. # noqa: E501
1344
+ :rtype: bool
1345
+ """
1346
+ return self._f260
1347
+
1348
+ @f260.setter
1349
+ def f260(self, f260: 'bool'):
1350
+ """Sets the f260 of this V1UserFeatures.
1351
+
1352
+
1353
+ :param f260: The f260 of this V1UserFeatures. # noqa: E501
1354
+ :type: bool
1355
+ """
1356
+
1357
+ self._f260 = f260
1358
+
1359
+ @property
1360
+ def f261(self) -> 'bool':
1361
+ """Gets the f261 of this V1UserFeatures. # noqa: E501
1362
+
1363
+
1364
+ :return: The f261 of this V1UserFeatures. # noqa: E501
1365
+ :rtype: bool
1366
+ """
1367
+ return self._f261
1368
+
1369
+ @f261.setter
1370
+ def f261(self, f261: 'bool'):
1371
+ """Sets the f261 of this V1UserFeatures.
1372
+
1373
+
1374
+ :param f261: The f261 of this V1UserFeatures. # noqa: E501
1375
+ :type: bool
1376
+ """
1377
+
1378
+ self._f261 = f261
1379
+
1380
+ @property
1381
+ def f262(self) -> 'bool':
1382
+ """Gets the f262 of this V1UserFeatures. # noqa: E501
1383
+
1384
+
1385
+ :return: The f262 of this V1UserFeatures. # noqa: E501
1386
+ :rtype: bool
1387
+ """
1388
+ return self._f262
1389
+
1390
+ @f262.setter
1391
+ def f262(self, f262: 'bool'):
1392
+ """Sets the f262 of this V1UserFeatures.
1393
+
1394
+
1395
+ :param f262: The f262 of this V1UserFeatures. # noqa: E501
1396
+ :type: bool
1397
+ """
1398
+
1399
+ self._f262 = f262
1400
+
1401
+ @property
1402
+ def f263(self) -> 'bool':
1403
+ """Gets the f263 of this V1UserFeatures. # noqa: E501
1404
+
1405
+
1406
+ :return: The f263 of this V1UserFeatures. # noqa: E501
1407
+ :rtype: bool
1408
+ """
1409
+ return self._f263
1410
+
1411
+ @f263.setter
1412
+ def f263(self, f263: 'bool'):
1413
+ """Sets the f263 of this V1UserFeatures.
1414
+
1415
+
1416
+ :param f263: The f263 of this V1UserFeatures. # noqa: E501
1417
+ :type: bool
1418
+ """
1419
+
1420
+ self._f263 = f263
1421
+
1422
+ @property
1423
+ def f264(self) -> 'bool':
1424
+ """Gets the f264 of this V1UserFeatures. # noqa: E501
1425
+
1426
+
1427
+ :return: The f264 of this V1UserFeatures. # noqa: E501
1428
+ :rtype: bool
1429
+ """
1430
+ return self._f264
1431
+
1432
+ @f264.setter
1433
+ def f264(self, f264: 'bool'):
1434
+ """Sets the f264 of this V1UserFeatures.
1435
+
1436
+
1437
+ :param f264: The f264 of this V1UserFeatures. # noqa: E501
1438
+ :type: bool
1439
+ """
1440
+
1441
+ self._f264 = f264
1442
+
1443
+ @property
1444
+ def f265(self) -> 'bool':
1445
+ """Gets the f265 of this V1UserFeatures. # noqa: E501
1446
+
1447
+
1448
+ :return: The f265 of this V1UserFeatures. # noqa: E501
1449
+ :rtype: bool
1450
+ """
1451
+ return self._f265
1452
+
1453
+ @f265.setter
1454
+ def f265(self, f265: 'bool'):
1455
+ """Sets the f265 of this V1UserFeatures.
1456
+
1457
+
1458
+ :param f265: The f265 of this V1UserFeatures. # noqa: E501
1459
+ :type: bool
1460
+ """
1461
+
1462
+ self._f265 = f265
1463
+
1464
+ @property
1465
+ def f266(self) -> 'bool':
1466
+ """Gets the f266 of this V1UserFeatures. # noqa: E501
1467
+
1468
+
1469
+ :return: The f266 of this V1UserFeatures. # noqa: E501
1470
+ :rtype: bool
1471
+ """
1472
+ return self._f266
1473
+
1474
+ @f266.setter
1475
+ def f266(self, f266: 'bool'):
1476
+ """Sets the f266 of this V1UserFeatures.
1477
+
1478
+
1479
+ :param f266: The f266 of this V1UserFeatures. # noqa: E501
1480
+ :type: bool
1481
+ """
1482
+
1483
+ self._f266 = f266
1484
+
1344
1485
  @property
1345
1486
  def fair_share(self) -> 'bool':
1346
1487
  """Gets the fair_share of this V1UserFeatures. # noqa: E501
@@ -1404,27 +1545,6 @@ class V1UserFeatures(object):
1404
1545
 
1405
1546
  self._gcs_connections_optimized = gcs_connections_optimized
1406
1547
 
1407
- @property
1408
- def instant_capacity_reservation(self) -> 'bool':
1409
- """Gets the instant_capacity_reservation of this V1UserFeatures. # noqa: E501
1410
-
1411
-
1412
- :return: The instant_capacity_reservation of this V1UserFeatures. # noqa: E501
1413
- :rtype: bool
1414
- """
1415
- return self._instant_capacity_reservation
1416
-
1417
- @instant_capacity_reservation.setter
1418
- def instant_capacity_reservation(self, instant_capacity_reservation: 'bool'):
1419
- """Sets the instant_capacity_reservation of this V1UserFeatures.
1420
-
1421
-
1422
- :param instant_capacity_reservation: The instant_capacity_reservation of this V1UserFeatures. # noqa: E501
1423
- :type: bool
1424
- """
1425
-
1426
- self._instant_capacity_reservation = instant_capacity_reservation
1427
-
1428
1548
  @property
1429
1549
  def job_artifacts_v2(self) -> 'bool':
1430
1550
  """Gets the job_artifacts_v2 of this V1UserFeatures. # noqa: E501
@@ -2055,27 +2175,6 @@ class V1UserFeatures(object):
2055
2175
 
2056
2176
  self._show_dev_admin = show_dev_admin
2057
2177
 
2058
- @property
2059
- def single_wallet(self) -> 'bool':
2060
- """Gets the single_wallet of this V1UserFeatures. # noqa: E501
2061
-
2062
-
2063
- :return: The single_wallet of this V1UserFeatures. # noqa: E501
2064
- :rtype: bool
2065
- """
2066
- return self._single_wallet
2067
-
2068
- @single_wallet.setter
2069
- def single_wallet(self, single_wallet: 'bool'):
2070
- """Sets the single_wallet of this V1UserFeatures.
2071
-
2072
-
2073
- :param single_wallet: The single_wallet of this V1UserFeatures. # noqa: E501
2074
- :type: bool
2075
- """
2076
-
2077
- self._single_wallet = single_wallet
2078
-
2079
2178
  @property
2080
2179
  def slurm(self) -> 'bool':
2081
2180
  """Gets the slurm of this V1UserFeatures. # noqa: E501
@@ -2202,27 +2301,6 @@ class V1UserFeatures(object):
2202
2301
 
2203
2302
  self._studio_version_visibility = studio_version_visibility
2204
2303
 
2205
- @property
2206
- def trainium2(self) -> 'bool':
2207
- """Gets the trainium2 of this V1UserFeatures. # noqa: E501
2208
-
2209
-
2210
- :return: The trainium2 of this V1UserFeatures. # noqa: E501
2211
- :rtype: bool
2212
- """
2213
- return self._trainium2
2214
-
2215
- @trainium2.setter
2216
- def trainium2(self, trainium2: 'bool'):
2217
- """Sets the trainium2 of this V1UserFeatures.
2218
-
2219
-
2220
- :param trainium2: The trainium2 of this V1UserFeatures. # noqa: E501
2221
- :type: bool
2222
- """
2223
-
2224
- self._trainium2 = trainium2
2225
-
2226
2304
  @property
2227
2305
  def vultr(self) -> 'bool':
2228
2306
  """Gets the vultr of this V1UserFeatures. # 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 V1ProductLicenseCheckResponse(object):
31
+ class V1ValidateLicenseResponse(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.
@@ -41,40 +41,40 @@ class V1ProductLicenseCheckResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'valid': 'bool'
44
+ 'is_valid': 'bool'
45
45
  }
46
46
 
47
47
  attribute_map = {
48
- 'valid': 'valid'
48
+ 'is_valid': 'isValid'
49
49
  }
50
50
 
51
- def __init__(self, valid: 'bool' =None): # noqa: E501
52
- """V1ProductLicenseCheckResponse - a model defined in Swagger""" # noqa: E501
53
- self._valid = None
51
+ def __init__(self, is_valid: 'bool' =None): # noqa: E501
52
+ """V1ValidateLicenseResponse - a model defined in Swagger""" # noqa: E501
53
+ self._is_valid = None
54
54
  self.discriminator = None
55
- if valid is not None:
56
- self.valid = valid
55
+ if is_valid is not None:
56
+ self.is_valid = is_valid
57
57
 
58
58
  @property
59
- def valid(self) -> 'bool':
60
- """Gets the valid of this V1ProductLicenseCheckResponse. # noqa: E501
59
+ def is_valid(self) -> 'bool':
60
+ """Gets the is_valid of this V1ValidateLicenseResponse. # noqa: E501
61
61
 
62
62
 
63
- :return: The valid of this V1ProductLicenseCheckResponse. # noqa: E501
63
+ :return: The is_valid of this V1ValidateLicenseResponse. # noqa: E501
64
64
  :rtype: bool
65
65
  """
66
- return self._valid
66
+ return self._is_valid
67
67
 
68
- @valid.setter
69
- def valid(self, valid: 'bool'):
70
- """Sets the valid of this V1ProductLicenseCheckResponse.
68
+ @is_valid.setter
69
+ def is_valid(self, is_valid: 'bool'):
70
+ """Sets the is_valid of this V1ValidateLicenseResponse.
71
71
 
72
72
 
73
- :param valid: The valid of this V1ProductLicenseCheckResponse. # noqa: E501
73
+ :param is_valid: The is_valid of this V1ValidateLicenseResponse. # noqa: E501
74
74
  :type: bool
75
75
  """
76
76
 
77
- self._valid = valid
77
+ self._is_valid = is_valid
78
78
 
79
79
  def to_dict(self) -> dict:
80
80
  """Returns the model properties as a dict"""
@@ -97,7 +97,7 @@ class V1ProductLicenseCheckResponse(object):
97
97
  ))
98
98
  else:
99
99
  result[attr] = value
100
- if issubclass(V1ProductLicenseCheckResponse, dict):
100
+ if issubclass(V1ValidateLicenseResponse, dict):
101
101
  for key, value in self.items():
102
102
  result[key] = value
103
103
 
@@ -111,13 +111,13 @@ class V1ProductLicenseCheckResponse(object):
111
111
  """For `print` and `pprint`"""
112
112
  return self.to_str()
113
113
 
114
- def __eq__(self, other: 'V1ProductLicenseCheckResponse') -> bool:
114
+ def __eq__(self, other: 'V1ValidateLicenseResponse') -> bool:
115
115
  """Returns true if both objects are equal"""
116
- if not isinstance(other, V1ProductLicenseCheckResponse):
116
+ if not isinstance(other, V1ValidateLicenseResponse):
117
117
  return False
118
118
 
119
119
  return self.__dict__ == other.__dict__
120
120
 
121
- def __ne__(self, other: 'V1ProductLicenseCheckResponse') -> bool:
121
+ def __ne__(self, other: 'V1ValidateLicenseResponse') -> bool:
122
122
  """Returns true if both objects are not equal"""
123
123
  return not self == other