lightning-sdk 0.2.18__py3-none-any.whl → 0.2.19__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 (46) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +2 -0
  3. lightning_sdk/deployment/deployment.py +2 -0
  4. lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
  5. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  6. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  7. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  8. lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -0
  9. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
  10. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  11. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
  12. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
  13. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  14. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +331 -0
  15. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
  18. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
  19. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
  20. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  21. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +133 -3
  24. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +53 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  27. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +157 -157
  29. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +53 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +79 -27
  34. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +79 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +197 -67
  39. lightning_sdk/serve.py +1 -0
  40. lightning_sdk/services/license.py +87 -22
  41. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/METADATA +1 -1
  42. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/RECORD +46 -38
  43. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/LICENSE +0 -0
  44. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/WHEEL +0 -0
  45. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/entry_points.txt +0 -0
  46. {lightning_sdk-0.2.18.dist-info → lightning_sdk-0.2.19.dist-info}/top_level.txt +0 -0
@@ -41,6 +41,7 @@ class V1UserFeatures(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'accurate_billing': 'bool',
44
45
  'affiliate_links': 'bool',
45
46
  'agents_v2': 'bool',
46
47
  'ai_hub_monetization': 'bool',
@@ -49,7 +50,7 @@ class V1UserFeatures(object):
49
50
  'auto_top_up': 'bool',
50
51
  'auto_top_up_teamspace': 'bool',
51
52
  'b2c_experience': 'bool',
52
- 'big_default_cpus': 'bool',
53
+ 'blog_route': 'bool',
53
54
  'byoc_litcr': 'bool',
54
55
  'cap_add': 'list[str]',
55
56
  'cap_drop': 'list[str]',
@@ -78,14 +79,13 @@ class V1UserFeatures(object):
78
79
  'featured_studios_admin': 'bool',
79
80
  'filestore': 'bool',
80
81
  'gcs_folders': 'bool',
81
- 'inactive_notify_delete': 'bool',
82
82
  'instant_capacity_reservation': 'bool',
83
83
  'job_artifacts_v2': 'bool',
84
84
  'lambda_labs': 'bool',
85
+ 'lambda_labs_studios': 'bool',
85
86
  'landing_studios': 'bool',
86
87
  'lightning_cloud': 'bool',
87
88
  'lit_logger': 'bool',
88
- 'manage_storage_costs': 'bool',
89
89
  'marketplace': 'bool',
90
90
  'mmt_fault_tolerance': 'bool',
91
91
  'mmt_strategy_selector': 'bool',
@@ -93,6 +93,8 @@ class V1UserFeatures(object):
93
93
  'multicloud_saas': 'bool',
94
94
  'multiple_studio_versions': 'bool',
95
95
  'nebius': 'bool',
96
+ 'nebius_cpu_studios': 'bool',
97
+ 'nebius_gpu_studios': 'bool',
96
98
  'neocloud_studios': 'bool',
97
99
  'nerf_fs_nonpaying': 'bool',
98
100
  'org_level_member_permissions': 'bool',
@@ -122,19 +124,23 @@ class V1UserFeatures(object):
122
124
  'slurm': 'bool',
123
125
  'slurm_machine_selector': 'bool',
124
126
  'stop_ide_container_on_shutdown': 'bool',
127
+ 'storage_overuse_deletion': 'bool',
125
128
  'studio_config': 'bool',
126
129
  'studio_version_visibility': 'bool',
127
130
  'studios_dashboard': 'bool',
128
131
  'studios_dashboard_system_metrics': 'bool',
129
132
  'teamspace_storage_tab': 'bool',
130
133
  'trainium2': 'bool',
134
+ 'transfer_studios': 'bool',
131
135
  'use_rclone_mounts_only': 'bool',
132
136
  'voltage_park': 'bool',
137
+ 'voltage_park_studios': 'bool',
133
138
  'vultr': 'bool',
134
139
  'weka': 'bool'
135
140
  }
136
141
 
137
142
  attribute_map = {
143
+ 'accurate_billing': 'accurateBilling',
138
144
  'affiliate_links': 'affiliateLinks',
139
145
  'agents_v2': 'agentsV2',
140
146
  'ai_hub_monetization': 'aiHubMonetization',
@@ -143,7 +149,7 @@ class V1UserFeatures(object):
143
149
  'auto_top_up': 'autoTopUp',
144
150
  'auto_top_up_teamspace': 'autoTopUpTeamspace',
145
151
  'b2c_experience': 'b2cExperience',
146
- 'big_default_cpus': 'bigDefaultCpus',
152
+ 'blog_route': 'blogRoute',
147
153
  'byoc_litcr': 'byocLitcr',
148
154
  'cap_add': 'capAdd',
149
155
  'cap_drop': 'capDrop',
@@ -172,14 +178,13 @@ class V1UserFeatures(object):
172
178
  'featured_studios_admin': 'featuredStudiosAdmin',
173
179
  'filestore': 'filestore',
174
180
  'gcs_folders': 'gcsFolders',
175
- 'inactive_notify_delete': 'inactiveNotifyDelete',
176
181
  'instant_capacity_reservation': 'instantCapacityReservation',
177
182
  'job_artifacts_v2': 'jobArtifactsV2',
178
183
  'lambda_labs': 'lambdaLabs',
184
+ 'lambda_labs_studios': 'lambdaLabsStudios',
179
185
  'landing_studios': 'landingStudios',
180
186
  'lightning_cloud': 'lightningCloud',
181
187
  'lit_logger': 'litLogger',
182
- 'manage_storage_costs': 'manageStorageCosts',
183
188
  'marketplace': 'marketplace',
184
189
  'mmt_fault_tolerance': 'mmtFaultTolerance',
185
190
  'mmt_strategy_selector': 'mmtStrategySelector',
@@ -187,6 +192,8 @@ class V1UserFeatures(object):
187
192
  'multicloud_saas': 'multicloudSaas',
188
193
  'multiple_studio_versions': 'multipleStudioVersions',
189
194
  'nebius': 'nebius',
195
+ 'nebius_cpu_studios': 'nebiusCpuStudios',
196
+ 'nebius_gpu_studios': 'nebiusGpuStudios',
190
197
  'neocloud_studios': 'neocloudStudios',
191
198
  'nerf_fs_nonpaying': 'nerfFsNonpaying',
192
199
  'org_level_member_permissions': 'orgLevelMemberPermissions',
@@ -216,20 +223,24 @@ class V1UserFeatures(object):
216
223
  'slurm': 'slurm',
217
224
  'slurm_machine_selector': 'slurmMachineSelector',
218
225
  'stop_ide_container_on_shutdown': 'stopIdeContainerOnShutdown',
226
+ 'storage_overuse_deletion': 'storageOveruseDeletion',
219
227
  'studio_config': 'studioConfig',
220
228
  'studio_version_visibility': 'studioVersionVisibility',
221
229
  'studios_dashboard': 'studiosDashboard',
222
230
  'studios_dashboard_system_metrics': 'studiosDashboardSystemMetrics',
223
231
  'teamspace_storage_tab': 'teamspaceStorageTab',
224
232
  'trainium2': 'trainium2',
233
+ 'transfer_studios': 'transferStudios',
225
234
  'use_rclone_mounts_only': 'useRcloneMountsOnly',
226
235
  'voltage_park': 'voltagePark',
236
+ 'voltage_park_studios': 'voltageParkStudios',
227
237
  'vultr': 'vultr',
228
238
  'weka': 'weka'
229
239
  }
230
240
 
231
- 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, auto_top_up: 'bool' =None, auto_top_up_teamspace: 'bool' =None, b2c_experience: 'bool' =None, big_default_cpus: 'bool' =None, byoc_litcr: '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, cloud_space_environment_templates: 'bool' =None, cloudy_vibe_code: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, concurrent_gpu_limit: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_requests_tab: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, down_switch_machine: 'bool' =None, drive_v2: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, gcs_folders: 'bool' =None, inactive_notify_delete: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, lambda_labs: 'bool' =None, landing_studios: 'bool' =None, lightning_cloud: 'bool' =None, lit_logger: 'bool' =None, manage_storage_costs: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_folders: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, nebius: 'bool' =None, neocloud_studios: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, paygo_free_storage_limit_check: 'bool' =None, pipelines: '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_service: '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, r2_data_connections: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, seoul_aws_region: 'bool' =None, show_dev_admin: 'bool' =None, single_wallet: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, studio_config: 'bool' =None, studio_version_visibility: 'bool' =None, studios_dashboard: 'bool' =None, studios_dashboard_system_metrics: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, use_rclone_mounts_only: 'bool' =None, voltage_park: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None): # noqa: E501
241
+ def __init__(self, accurate_billing: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, auto_top_up: 'bool' =None, auto_top_up_teamspace: 'bool' =None, b2c_experience: 'bool' =None, blog_route: 'bool' =None, byoc_litcr: '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, cloud_space_environment_templates: 'bool' =None, cloudy_vibe_code: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, concurrent_gpu_limit: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_requests_tab: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, down_switch_machine: 'bool' =None, drive_v2: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, gcs_folders: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, lambda_labs: 'bool' =None, lambda_labs_studios: 'bool' =None, landing_studios: 'bool' =None, lightning_cloud: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_folders: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, nebius: 'bool' =None, nebius_cpu_studios: 'bool' =None, nebius_gpu_studios: 'bool' =None, neocloud_studios: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, paygo_free_storage_limit_check: 'bool' =None, pipelines: '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_service: '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, r2_data_connections: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, seoul_aws_region: 'bool' =None, show_dev_admin: 'bool' =None, single_wallet: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, storage_overuse_deletion: 'bool' =None, studio_config: 'bool' =None, studio_version_visibility: 'bool' =None, studios_dashboard: 'bool' =None, studios_dashboard_system_metrics: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, transfer_studios: 'bool' =None, use_rclone_mounts_only: 'bool' =None, voltage_park: 'bool' =None, voltage_park_studios: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None): # noqa: E501
232
242
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
243
+ self._accurate_billing = None
233
244
  self._affiliate_links = None
234
245
  self._agents_v2 = None
235
246
  self._ai_hub_monetization = None
@@ -238,7 +249,7 @@ class V1UserFeatures(object):
238
249
  self._auto_top_up = None
239
250
  self._auto_top_up_teamspace = None
240
251
  self._b2c_experience = None
241
- self._big_default_cpus = None
252
+ self._blog_route = None
242
253
  self._byoc_litcr = None
243
254
  self._cap_add = None
244
255
  self._cap_drop = None
@@ -267,14 +278,13 @@ class V1UserFeatures(object):
267
278
  self._featured_studios_admin = None
268
279
  self._filestore = None
269
280
  self._gcs_folders = None
270
- self._inactive_notify_delete = None
271
281
  self._instant_capacity_reservation = None
272
282
  self._job_artifacts_v2 = None
273
283
  self._lambda_labs = None
284
+ self._lambda_labs_studios = None
274
285
  self._landing_studios = None
275
286
  self._lightning_cloud = None
276
287
  self._lit_logger = None
277
- self._manage_storage_costs = None
278
288
  self._marketplace = None
279
289
  self._mmt_fault_tolerance = None
280
290
  self._mmt_strategy_selector = None
@@ -282,6 +292,8 @@ class V1UserFeatures(object):
282
292
  self._multicloud_saas = None
283
293
  self._multiple_studio_versions = None
284
294
  self._nebius = None
295
+ self._nebius_cpu_studios = None
296
+ self._nebius_gpu_studios = None
285
297
  self._neocloud_studios = None
286
298
  self._nerf_fs_nonpaying = None
287
299
  self._org_level_member_permissions = None
@@ -311,17 +323,22 @@ class V1UserFeatures(object):
311
323
  self._slurm = None
312
324
  self._slurm_machine_selector = None
313
325
  self._stop_ide_container_on_shutdown = None
326
+ self._storage_overuse_deletion = None
314
327
  self._studio_config = None
315
328
  self._studio_version_visibility = None
316
329
  self._studios_dashboard = None
317
330
  self._studios_dashboard_system_metrics = None
318
331
  self._teamspace_storage_tab = None
319
332
  self._trainium2 = None
333
+ self._transfer_studios = None
320
334
  self._use_rclone_mounts_only = None
321
335
  self._voltage_park = None
336
+ self._voltage_park_studios = None
322
337
  self._vultr = None
323
338
  self._weka = None
324
339
  self.discriminator = None
340
+ if accurate_billing is not None:
341
+ self.accurate_billing = accurate_billing
325
342
  if affiliate_links is not None:
326
343
  self.affiliate_links = affiliate_links
327
344
  if agents_v2 is not None:
@@ -338,8 +355,8 @@ class V1UserFeatures(object):
338
355
  self.auto_top_up_teamspace = auto_top_up_teamspace
339
356
  if b2c_experience is not None:
340
357
  self.b2c_experience = b2c_experience
341
- if big_default_cpus is not None:
342
- self.big_default_cpus = big_default_cpus
358
+ if blog_route is not None:
359
+ self.blog_route = blog_route
343
360
  if byoc_litcr is not None:
344
361
  self.byoc_litcr = byoc_litcr
345
362
  if cap_add is not None:
@@ -396,22 +413,20 @@ class V1UserFeatures(object):
396
413
  self.filestore = filestore
397
414
  if gcs_folders is not None:
398
415
  self.gcs_folders = gcs_folders
399
- if inactive_notify_delete is not None:
400
- self.inactive_notify_delete = inactive_notify_delete
401
416
  if instant_capacity_reservation is not None:
402
417
  self.instant_capacity_reservation = instant_capacity_reservation
403
418
  if job_artifacts_v2 is not None:
404
419
  self.job_artifacts_v2 = job_artifacts_v2
405
420
  if lambda_labs is not None:
406
421
  self.lambda_labs = lambda_labs
422
+ if lambda_labs_studios is not None:
423
+ self.lambda_labs_studios = lambda_labs_studios
407
424
  if landing_studios is not None:
408
425
  self.landing_studios = landing_studios
409
426
  if lightning_cloud is not None:
410
427
  self.lightning_cloud = lightning_cloud
411
428
  if lit_logger is not None:
412
429
  self.lit_logger = lit_logger
413
- if manage_storage_costs is not None:
414
- self.manage_storage_costs = manage_storage_costs
415
430
  if marketplace is not None:
416
431
  self.marketplace = marketplace
417
432
  if mmt_fault_tolerance is not None:
@@ -426,6 +441,10 @@ class V1UserFeatures(object):
426
441
  self.multiple_studio_versions = multiple_studio_versions
427
442
  if nebius is not None:
428
443
  self.nebius = nebius
444
+ if nebius_cpu_studios is not None:
445
+ self.nebius_cpu_studios = nebius_cpu_studios
446
+ if nebius_gpu_studios is not None:
447
+ self.nebius_gpu_studios = nebius_gpu_studios
429
448
  if neocloud_studios is not None:
430
449
  self.neocloud_studios = neocloud_studios
431
450
  if nerf_fs_nonpaying is not None:
@@ -484,6 +503,8 @@ class V1UserFeatures(object):
484
503
  self.slurm_machine_selector = slurm_machine_selector
485
504
  if stop_ide_container_on_shutdown is not None:
486
505
  self.stop_ide_container_on_shutdown = stop_ide_container_on_shutdown
506
+ if storage_overuse_deletion is not None:
507
+ self.storage_overuse_deletion = storage_overuse_deletion
487
508
  if studio_config is not None:
488
509
  self.studio_config = studio_config
489
510
  if studio_version_visibility is not None:
@@ -496,15 +517,40 @@ class V1UserFeatures(object):
496
517
  self.teamspace_storage_tab = teamspace_storage_tab
497
518
  if trainium2 is not None:
498
519
  self.trainium2 = trainium2
520
+ if transfer_studios is not None:
521
+ self.transfer_studios = transfer_studios
499
522
  if use_rclone_mounts_only is not None:
500
523
  self.use_rclone_mounts_only = use_rclone_mounts_only
501
524
  if voltage_park is not None:
502
525
  self.voltage_park = voltage_park
526
+ if voltage_park_studios is not None:
527
+ self.voltage_park_studios = voltage_park_studios
503
528
  if vultr is not None:
504
529
  self.vultr = vultr
505
530
  if weka is not None:
506
531
  self.weka = weka
507
532
 
533
+ @property
534
+ def accurate_billing(self) -> 'bool':
535
+ """Gets the accurate_billing of this V1UserFeatures. # noqa: E501
536
+
537
+
538
+ :return: The accurate_billing of this V1UserFeatures. # noqa: E501
539
+ :rtype: bool
540
+ """
541
+ return self._accurate_billing
542
+
543
+ @accurate_billing.setter
544
+ def accurate_billing(self, accurate_billing: 'bool'):
545
+ """Sets the accurate_billing of this V1UserFeatures.
546
+
547
+
548
+ :param accurate_billing: The accurate_billing of this V1UserFeatures. # noqa: E501
549
+ :type: bool
550
+ """
551
+
552
+ self._accurate_billing = accurate_billing
553
+
508
554
  @property
509
555
  def affiliate_links(self) -> 'bool':
510
556
  """Gets the affiliate_links of this V1UserFeatures. # noqa: E501
@@ -674,25 +720,25 @@ class V1UserFeatures(object):
674
720
  self._b2c_experience = b2c_experience
675
721
 
676
722
  @property
677
- def big_default_cpus(self) -> 'bool':
678
- """Gets the big_default_cpus of this V1UserFeatures. # noqa: E501
723
+ def blog_route(self) -> 'bool':
724
+ """Gets the blog_route of this V1UserFeatures. # noqa: E501
679
725
 
680
726
 
681
- :return: The big_default_cpus of this V1UserFeatures. # noqa: E501
727
+ :return: The blog_route of this V1UserFeatures. # noqa: E501
682
728
  :rtype: bool
683
729
  """
684
- return self._big_default_cpus
730
+ return self._blog_route
685
731
 
686
- @big_default_cpus.setter
687
- def big_default_cpus(self, big_default_cpus: 'bool'):
688
- """Sets the big_default_cpus of this V1UserFeatures.
732
+ @blog_route.setter
733
+ def blog_route(self, blog_route: 'bool'):
734
+ """Sets the blog_route of this V1UserFeatures.
689
735
 
690
736
 
691
- :param big_default_cpus: The big_default_cpus of this V1UserFeatures. # noqa: E501
737
+ :param blog_route: The blog_route of this V1UserFeatures. # noqa: E501
692
738
  :type: bool
693
739
  """
694
740
 
695
- self._big_default_cpus = big_default_cpus
741
+ self._blog_route = blog_route
696
742
 
697
743
  @property
698
744
  def byoc_litcr(self) -> 'bool':
@@ -1282,27 +1328,6 @@ class V1UserFeatures(object):
1282
1328
 
1283
1329
  self._gcs_folders = gcs_folders
1284
1330
 
1285
- @property
1286
- def inactive_notify_delete(self) -> 'bool':
1287
- """Gets the inactive_notify_delete of this V1UserFeatures. # noqa: E501
1288
-
1289
-
1290
- :return: The inactive_notify_delete of this V1UserFeatures. # noqa: E501
1291
- :rtype: bool
1292
- """
1293
- return self._inactive_notify_delete
1294
-
1295
- @inactive_notify_delete.setter
1296
- def inactive_notify_delete(self, inactive_notify_delete: 'bool'):
1297
- """Sets the inactive_notify_delete of this V1UserFeatures.
1298
-
1299
-
1300
- :param inactive_notify_delete: The inactive_notify_delete of this V1UserFeatures. # noqa: E501
1301
- :type: bool
1302
- """
1303
-
1304
- self._inactive_notify_delete = inactive_notify_delete
1305
-
1306
1331
  @property
1307
1332
  def instant_capacity_reservation(self) -> 'bool':
1308
1333
  """Gets the instant_capacity_reservation of this V1UserFeatures. # noqa: E501
@@ -1366,6 +1391,27 @@ class V1UserFeatures(object):
1366
1391
 
1367
1392
  self._lambda_labs = lambda_labs
1368
1393
 
1394
+ @property
1395
+ def lambda_labs_studios(self) -> 'bool':
1396
+ """Gets the lambda_labs_studios of this V1UserFeatures. # noqa: E501
1397
+
1398
+
1399
+ :return: The lambda_labs_studios of this V1UserFeatures. # noqa: E501
1400
+ :rtype: bool
1401
+ """
1402
+ return self._lambda_labs_studios
1403
+
1404
+ @lambda_labs_studios.setter
1405
+ def lambda_labs_studios(self, lambda_labs_studios: 'bool'):
1406
+ """Sets the lambda_labs_studios of this V1UserFeatures.
1407
+
1408
+
1409
+ :param lambda_labs_studios: The lambda_labs_studios of this V1UserFeatures. # noqa: E501
1410
+ :type: bool
1411
+ """
1412
+
1413
+ self._lambda_labs_studios = lambda_labs_studios
1414
+
1369
1415
  @property
1370
1416
  def landing_studios(self) -> 'bool':
1371
1417
  """Gets the landing_studios of this V1UserFeatures. # noqa: E501
@@ -1429,27 +1475,6 @@ class V1UserFeatures(object):
1429
1475
 
1430
1476
  self._lit_logger = lit_logger
1431
1477
 
1432
- @property
1433
- def manage_storage_costs(self) -> 'bool':
1434
- """Gets the manage_storage_costs of this V1UserFeatures. # noqa: E501
1435
-
1436
-
1437
- :return: The manage_storage_costs of this V1UserFeatures. # noqa: E501
1438
- :rtype: bool
1439
- """
1440
- return self._manage_storage_costs
1441
-
1442
- @manage_storage_costs.setter
1443
- def manage_storage_costs(self, manage_storage_costs: 'bool'):
1444
- """Sets the manage_storage_costs of this V1UserFeatures.
1445
-
1446
-
1447
- :param manage_storage_costs: The manage_storage_costs of this V1UserFeatures. # noqa: E501
1448
- :type: bool
1449
- """
1450
-
1451
- self._manage_storage_costs = manage_storage_costs
1452
-
1453
1478
  @property
1454
1479
  def marketplace(self) -> 'bool':
1455
1480
  """Gets the marketplace of this V1UserFeatures. # noqa: E501
@@ -1597,6 +1622,48 @@ class V1UserFeatures(object):
1597
1622
 
1598
1623
  self._nebius = nebius
1599
1624
 
1625
+ @property
1626
+ def nebius_cpu_studios(self) -> 'bool':
1627
+ """Gets the nebius_cpu_studios of this V1UserFeatures. # noqa: E501
1628
+
1629
+
1630
+ :return: The nebius_cpu_studios of this V1UserFeatures. # noqa: E501
1631
+ :rtype: bool
1632
+ """
1633
+ return self._nebius_cpu_studios
1634
+
1635
+ @nebius_cpu_studios.setter
1636
+ def nebius_cpu_studios(self, nebius_cpu_studios: 'bool'):
1637
+ """Sets the nebius_cpu_studios of this V1UserFeatures.
1638
+
1639
+
1640
+ :param nebius_cpu_studios: The nebius_cpu_studios of this V1UserFeatures. # noqa: E501
1641
+ :type: bool
1642
+ """
1643
+
1644
+ self._nebius_cpu_studios = nebius_cpu_studios
1645
+
1646
+ @property
1647
+ def nebius_gpu_studios(self) -> 'bool':
1648
+ """Gets the nebius_gpu_studios of this V1UserFeatures. # noqa: E501
1649
+
1650
+
1651
+ :return: The nebius_gpu_studios of this V1UserFeatures. # noqa: E501
1652
+ :rtype: bool
1653
+ """
1654
+ return self._nebius_gpu_studios
1655
+
1656
+ @nebius_gpu_studios.setter
1657
+ def nebius_gpu_studios(self, nebius_gpu_studios: 'bool'):
1658
+ """Sets the nebius_gpu_studios of this V1UserFeatures.
1659
+
1660
+
1661
+ :param nebius_gpu_studios: The nebius_gpu_studios of this V1UserFeatures. # noqa: E501
1662
+ :type: bool
1663
+ """
1664
+
1665
+ self._nebius_gpu_studios = nebius_gpu_studios
1666
+
1600
1667
  @property
1601
1668
  def neocloud_studios(self) -> 'bool':
1602
1669
  """Gets the neocloud_studios of this V1UserFeatures. # noqa: E501
@@ -2206,6 +2273,27 @@ class V1UserFeatures(object):
2206
2273
 
2207
2274
  self._stop_ide_container_on_shutdown = stop_ide_container_on_shutdown
2208
2275
 
2276
+ @property
2277
+ def storage_overuse_deletion(self) -> 'bool':
2278
+ """Gets the storage_overuse_deletion of this V1UserFeatures. # noqa: E501
2279
+
2280
+
2281
+ :return: The storage_overuse_deletion of this V1UserFeatures. # noqa: E501
2282
+ :rtype: bool
2283
+ """
2284
+ return self._storage_overuse_deletion
2285
+
2286
+ @storage_overuse_deletion.setter
2287
+ def storage_overuse_deletion(self, storage_overuse_deletion: 'bool'):
2288
+ """Sets the storage_overuse_deletion of this V1UserFeatures.
2289
+
2290
+
2291
+ :param storage_overuse_deletion: The storage_overuse_deletion of this V1UserFeatures. # noqa: E501
2292
+ :type: bool
2293
+ """
2294
+
2295
+ self._storage_overuse_deletion = storage_overuse_deletion
2296
+
2209
2297
  @property
2210
2298
  def studio_config(self) -> 'bool':
2211
2299
  """Gets the studio_config of this V1UserFeatures. # noqa: E501
@@ -2332,6 +2420,27 @@ class V1UserFeatures(object):
2332
2420
 
2333
2421
  self._trainium2 = trainium2
2334
2422
 
2423
+ @property
2424
+ def transfer_studios(self) -> 'bool':
2425
+ """Gets the transfer_studios of this V1UserFeatures. # noqa: E501
2426
+
2427
+
2428
+ :return: The transfer_studios of this V1UserFeatures. # noqa: E501
2429
+ :rtype: bool
2430
+ """
2431
+ return self._transfer_studios
2432
+
2433
+ @transfer_studios.setter
2434
+ def transfer_studios(self, transfer_studios: 'bool'):
2435
+ """Sets the transfer_studios of this V1UserFeatures.
2436
+
2437
+
2438
+ :param transfer_studios: The transfer_studios of this V1UserFeatures. # noqa: E501
2439
+ :type: bool
2440
+ """
2441
+
2442
+ self._transfer_studios = transfer_studios
2443
+
2335
2444
  @property
2336
2445
  def use_rclone_mounts_only(self) -> 'bool':
2337
2446
  """Gets the use_rclone_mounts_only of this V1UserFeatures. # noqa: E501
@@ -2374,6 +2483,27 @@ class V1UserFeatures(object):
2374
2483
 
2375
2484
  self._voltage_park = voltage_park
2376
2485
 
2486
+ @property
2487
+ def voltage_park_studios(self) -> 'bool':
2488
+ """Gets the voltage_park_studios of this V1UserFeatures. # noqa: E501
2489
+
2490
+
2491
+ :return: The voltage_park_studios of this V1UserFeatures. # noqa: E501
2492
+ :rtype: bool
2493
+ """
2494
+ return self._voltage_park_studios
2495
+
2496
+ @voltage_park_studios.setter
2497
+ def voltage_park_studios(self, voltage_park_studios: 'bool'):
2498
+ """Sets the voltage_park_studios of this V1UserFeatures.
2499
+
2500
+
2501
+ :param voltage_park_studios: The voltage_park_studios of this V1UserFeatures. # noqa: E501
2502
+ :type: bool
2503
+ """
2504
+
2505
+ self._voltage_park_studios = voltage_park_studios
2506
+
2377
2507
  @property
2378
2508
  def vultr(self) -> 'bool':
2379
2509
  """Gets the vultr of this V1UserFeatures. # noqa: E501
lightning_sdk/serve.py CHANGED
@@ -299,6 +299,7 @@ Update [underline]{os.path.abspath("Dockerfile")}[/underline] to add any additio
299
299
  ports=[port],
300
300
  include_credentials=include_credentials,
301
301
  cloudspace_id=cloudspace_id,
302
+ from_litserve=True,
302
303
  from_onboarding=from_onboarding,
303
304
  command="",
304
305
  )