lightning-sdk 2025.8.26__py3-none-any.whl → 2025.9.2__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 (42) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/teamspace_api.py +2 -0
  3. lightning_sdk/cli/studio/create.py +2 -1
  4. lightning_sdk/cli/studio/list.py +25 -10
  5. lightning_sdk/cli/studio/start.py +3 -2
  6. lightning_sdk/cli/studio/stop.py +2 -1
  7. lightning_sdk/cli/studio/switch.py +2 -1
  8. lightning_sdk/cli/utils/richt_print.py +24 -0
  9. lightning_sdk/lightning_cloud/openapi/__init__.py +11 -0
  10. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +283 -0
  11. lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +97 -0
  12. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +202 -0
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +11 -0
  14. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
  15. lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
  17. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +3 -29
  19. lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
  20. lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
  23. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
  24. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_total_usage_metrics_response.py +149 -0
  25. lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
  26. lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
  27. lightning_sdk/lightning_cloud/openapi/models/v1_guest_user.py +201 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +29 -3
  29. lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +6 -6
  30. lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
  31. lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +29 -3
  32. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +29 -3
  35. lightning_sdk/studio.py +1 -0
  36. lightning_sdk/utils/resolve.py +11 -0
  37. {lightning_sdk-2025.8.26.dist-info → lightning_sdk-2025.9.2.dist-info}/METADATA +1 -1
  38. {lightning_sdk-2025.8.26.dist-info → lightning_sdk-2025.9.2.dist-info}/RECORD +42 -31
  39. {lightning_sdk-2025.8.26.dist-info → lightning_sdk-2025.9.2.dist-info}/LICENSE +0 -0
  40. {lightning_sdk-2025.8.26.dist-info → lightning_sdk-2025.9.2.dist-info}/WHEEL +0 -0
  41. {lightning_sdk-2025.8.26.dist-info → lightning_sdk-2025.9.2.dist-info}/entry_points.txt +0 -0
  42. {lightning_sdk-2025.8.26.dist-info → lightning_sdk-2025.9.2.dist-info}/top_level.txt +0 -0
@@ -144,6 +144,107 @@ class CloudSpaceServiceApi(object):
144
144
  _request_timeout=params.get('_request_timeout'),
145
145
  collection_formats=collection_formats)
146
146
 
147
+ def cloud_space_service_cancel_running_cloud_space_instance_transfer(self, project_id: 'str', id: 'str', **kwargs) -> 'V1CancelRunningCloudSpaceInstanceTransferResponse': # noqa: E501
148
+ """cloud_space_service_cancel_running_cloud_space_instance_transfer # noqa: E501
149
+
150
+ This method makes a synchronous HTTP request by default. To make an
151
+ asynchronous HTTP request, please pass async_req=True
152
+ >>> thread = api.cloud_space_service_cancel_running_cloud_space_instance_transfer(project_id, id, async_req=True)
153
+ >>> result = thread.get()
154
+
155
+ :param async_req bool
156
+ :param str project_id: (required)
157
+ :param str id: (required)
158
+ :return: V1CancelRunningCloudSpaceInstanceTransferResponse
159
+ If the method is called asynchronously,
160
+ returns the request thread.
161
+ """
162
+ kwargs['_return_http_data_only'] = True
163
+ if kwargs.get('async_req'):
164
+ return self.cloud_space_service_cancel_running_cloud_space_instance_transfer_with_http_info(project_id, id, **kwargs) # noqa: E501
165
+ else:
166
+ (data) = self.cloud_space_service_cancel_running_cloud_space_instance_transfer_with_http_info(project_id, id, **kwargs) # noqa: E501
167
+ return data
168
+
169
+ def cloud_space_service_cancel_running_cloud_space_instance_transfer_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1CancelRunningCloudSpaceInstanceTransferResponse': # noqa: E501
170
+ """cloud_space_service_cancel_running_cloud_space_instance_transfer # noqa: E501
171
+
172
+ This method makes a synchronous HTTP request by default. To make an
173
+ asynchronous HTTP request, please pass async_req=True
174
+ >>> thread = api.cloud_space_service_cancel_running_cloud_space_instance_transfer_with_http_info(project_id, id, async_req=True)
175
+ >>> result = thread.get()
176
+
177
+ :param async_req bool
178
+ :param str project_id: (required)
179
+ :param str id: (required)
180
+ :return: V1CancelRunningCloudSpaceInstanceTransferResponse
181
+ If the method is called asynchronously,
182
+ returns the request thread.
183
+ """
184
+
185
+ all_params = ['project_id', 'id'] # noqa: E501
186
+ all_params.append('async_req')
187
+ all_params.append('_return_http_data_only')
188
+ all_params.append('_preload_content')
189
+ all_params.append('_request_timeout')
190
+
191
+ params = locals()
192
+ for key, val in six.iteritems(params['kwargs']):
193
+ if key not in all_params:
194
+ raise TypeError(
195
+ "Got an unexpected keyword argument '%s'"
196
+ " to method cloud_space_service_cancel_running_cloud_space_instance_transfer" % key
197
+ )
198
+ params[key] = val
199
+ del params['kwargs']
200
+ # verify the required parameter 'project_id' is set
201
+ if ('project_id' not in params or
202
+ params['project_id'] is None):
203
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_cancel_running_cloud_space_instance_transfer`") # noqa: E501
204
+ # verify the required parameter 'id' is set
205
+ if ('id' not in params or
206
+ params['id'] is None):
207
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_cancel_running_cloud_space_instance_transfer`") # noqa: E501
208
+
209
+ collection_formats = {}
210
+
211
+ path_params = {}
212
+ if 'project_id' in params:
213
+ path_params['projectId'] = params['project_id'] # noqa: E501
214
+ if 'id' in params:
215
+ path_params['id'] = params['id'] # noqa: E501
216
+
217
+ query_params = []
218
+
219
+ header_params = {}
220
+
221
+ form_params = []
222
+ local_var_files = {}
223
+
224
+ body_params = None
225
+ # HTTP header `Accept`
226
+ header_params['Accept'] = self.api_client.select_header_accept(
227
+ ['application/json']) # noqa: E501
228
+
229
+ # Authentication setting
230
+ auth_settings = [] # noqa: E501
231
+
232
+ return self.api_client.call_api(
233
+ '/v1/projects/{projectId}/cloudspaces/{id}/cancel-transfer', 'POST',
234
+ path_params,
235
+ query_params,
236
+ header_params,
237
+ body=body_params,
238
+ post_params=form_params,
239
+ files=local_var_files,
240
+ response_type='V1CancelRunningCloudSpaceInstanceTransferResponse', # noqa: E501
241
+ auth_settings=auth_settings,
242
+ async_req=params.get('async_req'),
243
+ _return_http_data_only=params.get('_return_http_data_only'),
244
+ _preload_content=params.get('_preload_content', True),
245
+ _request_timeout=params.get('_request_timeout'),
246
+ collection_formats=collection_formats)
247
+
147
248
  def cloud_space_service_check_external_service_status(self, **kwargs) -> 'V1CheckExternalServiceStatusResponse': # noqa: E501
148
249
  """Endpoint for checking GitHub status so we can show an error \"it's not our fault\" when GitHub is down and stuff starts breaking for our users. # noqa: E501
149
250
 
@@ -3885,6 +3986,107 @@ class CloudSpaceServiceApi(object):
3885
3986
  _request_timeout=params.get('_request_timeout'),
3886
3987
  collection_formats=collection_formats)
3887
3988
 
3989
+ def cloud_space_service_get_cloud_space_required_balance_status(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1GetCloudSpaceRequiredBalanceStatusResponse': # noqa: E501
3990
+ """cloud_space_service_get_cloud_space_required_balance_status # noqa: E501
3991
+
3992
+ This method makes a synchronous HTTP request by default. To make an
3993
+ asynchronous HTTP request, please pass async_req=True
3994
+ >>> thread = api.cloud_space_service_get_cloud_space_required_balance_status(project_id, cloudspace_id, async_req=True)
3995
+ >>> result = thread.get()
3996
+
3997
+ :param async_req bool
3998
+ :param str project_id: (required)
3999
+ :param str cloudspace_id: (required)
4000
+ :return: V1GetCloudSpaceRequiredBalanceStatusResponse
4001
+ If the method is called asynchronously,
4002
+ returns the request thread.
4003
+ """
4004
+ kwargs['_return_http_data_only'] = True
4005
+ if kwargs.get('async_req'):
4006
+ return self.cloud_space_service_get_cloud_space_required_balance_status_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
4007
+ else:
4008
+ (data) = self.cloud_space_service_get_cloud_space_required_balance_status_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
4009
+ return data
4010
+
4011
+ def cloud_space_service_get_cloud_space_required_balance_status_with_http_info(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1GetCloudSpaceRequiredBalanceStatusResponse': # noqa: E501
4012
+ """cloud_space_service_get_cloud_space_required_balance_status # noqa: E501
4013
+
4014
+ This method makes a synchronous HTTP request by default. To make an
4015
+ asynchronous HTTP request, please pass async_req=True
4016
+ >>> thread = api.cloud_space_service_get_cloud_space_required_balance_status_with_http_info(project_id, cloudspace_id, async_req=True)
4017
+ >>> result = thread.get()
4018
+
4019
+ :param async_req bool
4020
+ :param str project_id: (required)
4021
+ :param str cloudspace_id: (required)
4022
+ :return: V1GetCloudSpaceRequiredBalanceStatusResponse
4023
+ If the method is called asynchronously,
4024
+ returns the request thread.
4025
+ """
4026
+
4027
+ all_params = ['project_id', 'cloudspace_id'] # noqa: E501
4028
+ all_params.append('async_req')
4029
+ all_params.append('_return_http_data_only')
4030
+ all_params.append('_preload_content')
4031
+ all_params.append('_request_timeout')
4032
+
4033
+ params = locals()
4034
+ for key, val in six.iteritems(params['kwargs']):
4035
+ if key not in all_params:
4036
+ raise TypeError(
4037
+ "Got an unexpected keyword argument '%s'"
4038
+ " to method cloud_space_service_get_cloud_space_required_balance_status" % key
4039
+ )
4040
+ params[key] = val
4041
+ del params['kwargs']
4042
+ # verify the required parameter 'project_id' is set
4043
+ if ('project_id' not in params or
4044
+ params['project_id'] is None):
4045
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_get_cloud_space_required_balance_status`") # noqa: E501
4046
+ # verify the required parameter 'cloudspace_id' is set
4047
+ if ('cloudspace_id' not in params or
4048
+ params['cloudspace_id'] is None):
4049
+ raise ValueError("Missing the required parameter `cloudspace_id` when calling `cloud_space_service_get_cloud_space_required_balance_status`") # noqa: E501
4050
+
4051
+ collection_formats = {}
4052
+
4053
+ path_params = {}
4054
+ if 'project_id' in params:
4055
+ path_params['projectId'] = params['project_id'] # noqa: E501
4056
+ if 'cloudspace_id' in params:
4057
+ path_params['cloudspaceId'] = params['cloudspace_id'] # noqa: E501
4058
+
4059
+ query_params = []
4060
+
4061
+ header_params = {}
4062
+
4063
+ form_params = []
4064
+ local_var_files = {}
4065
+
4066
+ body_params = None
4067
+ # HTTP header `Accept`
4068
+ header_params['Accept'] = self.api_client.select_header_accept(
4069
+ ['application/json']) # noqa: E501
4070
+
4071
+ # Authentication setting
4072
+ auth_settings = [] # noqa: E501
4073
+
4074
+ return self.api_client.call_api(
4075
+ '/v1/projects/{projectId}/cloudspaces/{cloudspaceId}/required-balance-status', 'GET',
4076
+ path_params,
4077
+ query_params,
4078
+ header_params,
4079
+ body=body_params,
4080
+ post_params=form_params,
4081
+ files=local_var_files,
4082
+ response_type='V1GetCloudSpaceRequiredBalanceStatusResponse', # noqa: E501
4083
+ auth_settings=auth_settings,
4084
+ async_req=params.get('async_req'),
4085
+ _return_http_data_only=params.get('_return_http_data_only'),
4086
+ _preload_content=params.get('_preload_content', True),
4087
+ _request_timeout=params.get('_request_timeout'),
4088
+ collection_formats=collection_formats)
4089
+
3888
4090
  def cloud_space_service_get_cloud_space_size(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1GetCloudSpaceSizeResponse': # noqa: E501
3889
4091
  """cloud_space_service_get_cloud_space_size # noqa: E501
3890
4092
 
@@ -202,6 +202,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_agent_job import V1AgentJob
202
202
  from lightning_sdk.lightning_cloud.openapi.models.v1_agent_job_artifact import V1AgentJobArtifact
203
203
  from lightning_sdk.lightning_cloud.openapi.models.v1_agent_upload_multipart_url import V1AgentUploadMultipartUrl
204
204
  from lightning_sdk.lightning_cloud.openapi.models.v1_agent_upload_part_response import V1AgentUploadPartResponse
205
+ from lightning_sdk.lightning_cloud.openapi.models.v1_aggregated_pod_metrics import V1AggregatedPodMetrics
205
206
  from lightning_sdk.lightning_cloud.openapi.models.v1_ai_pod_v1 import V1AiPodV1
206
207
  from lightning_sdk.lightning_cloud.openapi.models.v1_alert_method import V1AlertMethod
207
208
  from lightning_sdk.lightning_cloud.openapi.models.v1_alerts_config import V1AlertsConfig
@@ -232,6 +233,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_body import V1Body
232
233
  from lightning_sdk.lightning_cloud.openapi.models.v1_build_spec import V1BuildSpec
233
234
  from lightning_sdk.lightning_cloud.openapi.models.v1_cpu_system_metrics import V1CPUSystemMetrics
234
235
  from lightning_sdk.lightning_cloud.openapi.models.v1_cancel_cloud_space_instance_switch_response import V1CancelCloudSpaceInstanceSwitchResponse
236
+ from lightning_sdk.lightning_cloud.openapi.models.v1_cancel_running_cloud_space_instance_transfer_response import V1CancelRunningCloudSpaceInstanceTransferResponse
235
237
  from lightning_sdk.lightning_cloud.openapi.models.v1_cancellation_metadata import V1CancellationMetadata
236
238
  from lightning_sdk.lightning_cloud.openapi.models.v1_capacity_block_offering import V1CapacityBlockOffering
237
239
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_cluster_name_availability_request import V1CheckClusterNameAvailabilityRequest
@@ -347,6 +349,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_create_snowflake_connection
347
349
  from lightning_sdk.lightning_cloud.openapi.models.v1_create_subscription_checkout_session_request import V1CreateSubscriptionCheckoutSessionRequest
348
350
  from lightning_sdk.lightning_cloud.openapi.models.v1_create_subscription_checkout_session_response import V1CreateSubscriptionCheckoutSessionResponse
349
351
  from lightning_sdk.lightning_cloud.openapi.models.v1_create_user_secret_request import V1CreateUserSecretRequest
352
+ from lightning_sdk.lightning_cloud.openapi.models.v1_daily_model_metrics import V1DailyModelMetrics
350
353
  from lightning_sdk.lightning_cloud.openapi.models.v1_daily_usage import V1DailyUsage
351
354
  from lightning_sdk.lightning_cloud.openapi.models.v1_data_connection import V1DataConnection
352
355
  from lightning_sdk.lightning_cloud.openapi.models.v1_data_connection_artifact import V1DataConnectionArtifact
@@ -500,6 +503,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_cold_start_
500
503
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_instance_open_ports_response import V1GetCloudSpaceInstanceOpenPortsResponse
501
504
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_instance_status_response import V1GetCloudSpaceInstanceStatusResponse
502
505
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_instance_system_metrics_aggregate_response import V1GetCloudSpaceInstanceSystemMetricsAggregateResponse
506
+ from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_required_balance_status_response import V1GetCloudSpaceRequiredBalanceStatusResponse
503
507
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_size_response import V1GetCloudSpaceSizeResponse
504
508
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_cluster_accelerator_demand_response import V1GetClusterAcceleratorDemandResponse
505
509
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_cluster_credentials_response import V1GetClusterCredentialsResponse
@@ -510,6 +514,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_deployment_routing_tele
510
514
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_folder_index_response import V1GetFolderIndexResponse
511
515
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_job_stats_response import V1GetJobStatsResponse
512
516
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_job_system_metrics_response import V1GetJobSystemMetricsResponse
517
+ from lightning_sdk.lightning_cloud.openapi.models.v1_get_latest_model_metrics_response import V1GetLatestModelMetricsResponse
513
518
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_lightning_run_source_code_download_url_response import V1GetLightningRunSourceCodeDownloadUrlResponse
514
519
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_lightningapp_instance_open_ports_response import V1GetLightningappInstanceOpenPortsResponse
515
520
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_lightningapp_instance_system_metrics_response import V1GetLightningappInstanceSystemMetricsResponse
@@ -522,6 +527,8 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_model_file_upload_urls_
522
527
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_model_file_url_response import V1GetModelFileUrlResponse
523
528
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_model_files_response import V1GetModelFilesResponse
524
529
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_model_files_url_response import V1GetModelFilesUrlResponse
530
+ from lightning_sdk.lightning_cloud.openapi.models.v1_get_model_metrics_response import V1GetModelMetricsResponse
531
+ from lightning_sdk.lightning_cloud.openapi.models.v1_get_model_total_usage_metrics_response import V1GetModelTotalUsageMetricsResponse
525
532
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_organization_storage_metadata_response import V1GetOrganizationStorageMetadataResponse
526
533
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_project_artifact_response import V1GetProjectArtifactResponse
527
534
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_project_balance_response import V1GetProjectBalanceResponse
@@ -538,6 +545,9 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_volume_response import
538
545
  from lightning_sdk.lightning_cloud.openapi.models.v1_git_credentials import V1GitCredentials
539
546
  from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1 import V1GoogleCloudDirectV1
540
547
  from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1_status import V1GoogleCloudDirectV1Status
548
+ from lightning_sdk.lightning_cloud.openapi.models.v1_guest_login_request import V1GuestLoginRequest
549
+ from lightning_sdk.lightning_cloud.openapi.models.v1_guest_login_response import V1GuestLoginResponse
550
+ from lightning_sdk.lightning_cloud.openapi.models.v1_guest_user import V1GuestUser
541
551
  from lightning_sdk.lightning_cloud.openapi.models.v1_header import V1Header
542
552
  from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_exec import V1HealthCheckExec
543
553
  from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_http_get import V1HealthCheckHttpGet
@@ -731,6 +741,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_metrics_tags import V1Metri
731
741
  from lightning_sdk.lightning_cloud.openapi.models.v1_metrics_tracker import V1MetricsTracker
732
742
  from lightning_sdk.lightning_cloud.openapi.models.v1_model import V1Model
733
743
  from lightning_sdk.lightning_cloud.openapi.models.v1_model_file import V1ModelFile
744
+ from lightning_sdk.lightning_cloud.openapi.models.v1_model_metrics import V1ModelMetrics
734
745
  from lightning_sdk.lightning_cloud.openapi.models.v1_model_version_archive import V1ModelVersionArchive
735
746
  from lightning_sdk.lightning_cloud.openapi.models.v1_modify_filesystem_volume_response import V1ModifyFilesystemVolumeResponse
736
747
  from lightning_sdk.lightning_cloud.openapi.models.v1_mount_target import V1MountTarget
@@ -43,6 +43,7 @@ class OrgsIdBody(object):
43
43
  swagger_types = {
44
44
  'alerts_config': 'V1AlertsConfig',
45
45
  'allow_budgeting': 'bool',
46
+ 'allow_cloud_space_publish': 'bool',
46
47
  'allow_credits_auto_replenish': 'bool',
47
48
  'allow_external_project_duplication': 'bool',
48
49
  'allow_guest': 'bool',
@@ -84,6 +85,7 @@ class OrgsIdBody(object):
84
85
  attribute_map = {
85
86
  'alerts_config': 'alertsConfig',
86
87
  'allow_budgeting': 'allowBudgeting',
88
+ 'allow_cloud_space_publish': 'allowCloudSpacePublish',
87
89
  'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
88
90
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
89
91
  'allow_guest': 'allowGuest',
@@ -122,10 +124,11 @@ class OrgsIdBody(object):
122
124
  'workload_max_run_duration': 'workloadMaxRunDuration'
123
125
  }
124
126
 
125
- def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, default_project_id: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_nebius_saas: 'bool' =None, disallow_voltage_park_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, show_model_apis_tab: 'bool' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
127
+ def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_cloud_space_publish: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, default_project_id: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_nebius_saas: 'bool' =None, disallow_voltage_park_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, show_model_apis_tab: 'bool' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
126
128
  """OrgsIdBody - a model defined in Swagger""" # noqa: E501
127
129
  self._alerts_config = None
128
130
  self._allow_budgeting = None
131
+ self._allow_cloud_space_publish = None
129
132
  self._allow_credits_auto_replenish = None
130
133
  self._allow_external_project_duplication = None
131
134
  self._allow_guest = None
@@ -167,6 +170,8 @@ class OrgsIdBody(object):
167
170
  self.alerts_config = alerts_config
168
171
  if allow_budgeting is not None:
169
172
  self.allow_budgeting = allow_budgeting
173
+ if allow_cloud_space_publish is not None:
174
+ self.allow_cloud_space_publish = allow_cloud_space_publish
170
175
  if allow_credits_auto_replenish is not None:
171
176
  self.allow_credits_auto_replenish = allow_credits_auto_replenish
172
177
  if allow_external_project_duplication is not None:
@@ -282,6 +287,27 @@ class OrgsIdBody(object):
282
287
 
283
288
  self._allow_budgeting = allow_budgeting
284
289
 
290
+ @property
291
+ def allow_cloud_space_publish(self) -> 'bool':
292
+ """Gets the allow_cloud_space_publish of this OrgsIdBody. # noqa: E501
293
+
294
+
295
+ :return: The allow_cloud_space_publish of this OrgsIdBody. # noqa: E501
296
+ :rtype: bool
297
+ """
298
+ return self._allow_cloud_space_publish
299
+
300
+ @allow_cloud_space_publish.setter
301
+ def allow_cloud_space_publish(self, allow_cloud_space_publish: 'bool'):
302
+ """Sets the allow_cloud_space_publish of this OrgsIdBody.
303
+
304
+
305
+ :param allow_cloud_space_publish: The allow_cloud_space_publish of this OrgsIdBody. # noqa: E501
306
+ :type: bool
307
+ """
308
+
309
+ self._allow_cloud_space_publish = allow_cloud_space_publish
310
+
285
311
  @property
286
312
  def allow_credits_auto_replenish(self) -> 'bool':
287
313
  """Gets the allow_credits_auto_replenish of this OrgsIdBody. # noqa: E501