lightning-sdk 2025.8.18.post0__py3-none-any.whl → 2025.8.21__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 (37) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/llm_api.py +6 -2
  3. lightning_sdk/api/studio_api.py +113 -36
  4. lightning_sdk/api/utils.py +108 -18
  5. lightning_sdk/cli/legacy/create.py +9 -11
  6. lightning_sdk/cli/legacy/start.py +1 -0
  7. lightning_sdk/cli/legacy/switch.py +1 -0
  8. lightning_sdk/cli/studio/start.py +1 -0
  9. lightning_sdk/cli/studio/switch.py +1 -0
  10. lightning_sdk/lightning_cloud/openapi/__init__.py +2 -0
  11. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +85 -0
  12. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +113 -0
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +2 -0
  14. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +15 -15
  15. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +3 -81
  16. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +27 -1
  19. lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +27 -1
  20. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_metrics.py +79 -1
  21. lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +123 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +79 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +157 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_quote_annual_upsell_response.py +201 -0
  27. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +3 -81
  28. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +1 -131
  29. lightning_sdk/llm/llm.py +2 -2
  30. lightning_sdk/studio.py +39 -6
  31. lightning_sdk/utils/progress.py +284 -0
  32. {lightning_sdk-2025.8.18.post0.dist-info → lightning_sdk-2025.8.21.dist-info}/METADATA +1 -1
  33. {lightning_sdk-2025.8.18.post0.dist-info → lightning_sdk-2025.8.21.dist-info}/RECORD +37 -34
  34. {lightning_sdk-2025.8.18.post0.dist-info → lightning_sdk-2025.8.21.dist-info}/LICENSE +0 -0
  35. {lightning_sdk-2025.8.18.post0.dist-info → lightning_sdk-2025.8.21.dist-info}/WHEEL +0 -0
  36. {lightning_sdk-2025.8.18.post0.dist-info → lightning_sdk-2025.8.21.dist-info}/entry_points.txt +0 -0
  37. {lightning_sdk-2025.8.18.post0.dist-info → lightning_sdk-2025.8.21.dist-info}/top_level.txt +0 -0
@@ -160,6 +160,119 @@ class K8SClusterServiceApi(object):
160
160
  _request_timeout=params.get('_request_timeout'),
161
161
  collection_formats=collection_formats)
162
162
 
163
+ def k8_s_cluster_service_list_aggregated_pod_metrics(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1ListAggregatedPodMetricsResponse': # noqa: E501
164
+ """k8_s_cluster_service_list_aggregated_pod_metrics # noqa: E501
165
+
166
+ This method makes a synchronous HTTP request by default. To make an
167
+ asynchronous HTTP request, please pass async_req=True
168
+ >>> thread = api.k8_s_cluster_service_list_aggregated_pod_metrics(project_id, cluster_id, async_req=True)
169
+ >>> result = thread.get()
170
+
171
+ :param async_req bool
172
+ :param str project_id: (required)
173
+ :param str cluster_id: (required)
174
+ :param str namespace:
175
+ :param datetime start: Date range.
176
+ :param datetime end:
177
+ :return: V1ListAggregatedPodMetricsResponse
178
+ If the method is called asynchronously,
179
+ returns the request thread.
180
+ """
181
+ kwargs['_return_http_data_only'] = True
182
+ if kwargs.get('async_req'):
183
+ return self.k8_s_cluster_service_list_aggregated_pod_metrics_with_http_info(project_id, cluster_id, **kwargs) # noqa: E501
184
+ else:
185
+ (data) = self.k8_s_cluster_service_list_aggregated_pod_metrics_with_http_info(project_id, cluster_id, **kwargs) # noqa: E501
186
+ return data
187
+
188
+ def k8_s_cluster_service_list_aggregated_pod_metrics_with_http_info(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1ListAggregatedPodMetricsResponse': # noqa: E501
189
+ """k8_s_cluster_service_list_aggregated_pod_metrics # noqa: E501
190
+
191
+ This method makes a synchronous HTTP request by default. To make an
192
+ asynchronous HTTP request, please pass async_req=True
193
+ >>> thread = api.k8_s_cluster_service_list_aggregated_pod_metrics_with_http_info(project_id, cluster_id, async_req=True)
194
+ >>> result = thread.get()
195
+
196
+ :param async_req bool
197
+ :param str project_id: (required)
198
+ :param str cluster_id: (required)
199
+ :param str namespace:
200
+ :param datetime start: Date range.
201
+ :param datetime end:
202
+ :return: V1ListAggregatedPodMetricsResponse
203
+ If the method is called asynchronously,
204
+ returns the request thread.
205
+ """
206
+
207
+ all_params = ['project_id', 'cluster_id', 'namespace', 'start', 'end'] # noqa: E501
208
+ all_params.append('async_req')
209
+ all_params.append('_return_http_data_only')
210
+ all_params.append('_preload_content')
211
+ all_params.append('_request_timeout')
212
+
213
+ params = locals()
214
+ for key, val in six.iteritems(params['kwargs']):
215
+ if key not in all_params:
216
+ raise TypeError(
217
+ "Got an unexpected keyword argument '%s'"
218
+ " to method k8_s_cluster_service_list_aggregated_pod_metrics" % key
219
+ )
220
+ params[key] = val
221
+ del params['kwargs']
222
+ # verify the required parameter 'project_id' is set
223
+ if ('project_id' not in params or
224
+ params['project_id'] is None):
225
+ raise ValueError("Missing the required parameter `project_id` when calling `k8_s_cluster_service_list_aggregated_pod_metrics`") # noqa: E501
226
+ # verify the required parameter 'cluster_id' is set
227
+ if ('cluster_id' not in params or
228
+ params['cluster_id'] is None):
229
+ raise ValueError("Missing the required parameter `cluster_id` when calling `k8_s_cluster_service_list_aggregated_pod_metrics`") # noqa: E501
230
+
231
+ collection_formats = {}
232
+
233
+ path_params = {}
234
+ if 'project_id' in params:
235
+ path_params['projectId'] = params['project_id'] # noqa: E501
236
+ if 'cluster_id' in params:
237
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
238
+
239
+ query_params = []
240
+ if 'namespace' in params:
241
+ query_params.append(('namespace', params['namespace'])) # noqa: E501
242
+ if 'start' in params:
243
+ query_params.append(('start', params['start'])) # noqa: E501
244
+ if 'end' in params:
245
+ query_params.append(('end', params['end'])) # noqa: E501
246
+
247
+ header_params = {}
248
+
249
+ form_params = []
250
+ local_var_files = {}
251
+
252
+ body_params = None
253
+ # HTTP header `Accept`
254
+ header_params['Accept'] = self.api_client.select_header_accept(
255
+ ['application/json']) # noqa: E501
256
+
257
+ # Authentication setting
258
+ auth_settings = [] # noqa: E501
259
+
260
+ return self.api_client.call_api(
261
+ '/v1/projects/{projectId}/clusters/{clusterId}/aggregated-metrics/pods', 'GET',
262
+ path_params,
263
+ query_params,
264
+ header_params,
265
+ body=body_params,
266
+ post_params=form_params,
267
+ files=local_var_files,
268
+ response_type='V1ListAggregatedPodMetricsResponse', # noqa: E501
269
+ auth_settings=auth_settings,
270
+ async_req=params.get('async_req'),
271
+ _return_http_data_only=params.get('_return_http_data_only'),
272
+ _preload_content=params.get('_preload_content', True),
273
+ _request_timeout=params.get('_request_timeout'),
274
+ collection_formats=collection_formats)
275
+
163
276
  def k8_s_cluster_service_list_cluster_metrics(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1ListClusterMetricsResponse': # noqa: E501
164
277
  """k8_s_cluster_service_list_cluster_metrics # noqa: E501
165
278
 
@@ -590,6 +590,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_like_status import V1LikeSt
590
590
  from lightning_sdk.lightning_cloud.openapi.models.v1_list_affiliate_links_response import V1ListAffiliateLinksResponse
591
591
  from lightning_sdk.lightning_cloud.openapi.models.v1_list_agent_job_artifacts_response import V1ListAgentJobArtifactsResponse
592
592
  from lightning_sdk.lightning_cloud.openapi.models.v1_list_agent_jobs_response import V1ListAgentJobsResponse
593
+ from lightning_sdk.lightning_cloud.openapi.models.v1_list_aggregated_pod_metrics_response import V1ListAggregatedPodMetricsResponse
593
594
  from lightning_sdk.lightning_cloud.openapi.models.v1_list_assistants_response import V1ListAssistantsResponse
594
595
  from lightning_sdk.lightning_cloud.openapi.models.v1_list_blog_posts_response import V1ListBlogPostsResponse
595
596
  from lightning_sdk.lightning_cloud.openapi.models.v1_list_cloud_space_apps_response import V1ListCloudSpaceAppsResponse
@@ -804,6 +805,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_quest import V1Quest
804
805
  from lightning_sdk.lightning_cloud.openapi.models.v1_quest_status import V1QuestStatus
805
806
  from lightning_sdk.lightning_cloud.openapi.models.v1_queue_server_type import V1QueueServerType
806
807
  from lightning_sdk.lightning_cloud.openapi.models.v1_quotas import V1Quotas
808
+ from lightning_sdk.lightning_cloud.openapi.models.v1_quote_annual_upsell_response import V1QuoteAnnualUpsellResponse
807
809
  from lightning_sdk.lightning_cloud.openapi.models.v1_quote_subscription_response import V1QuoteSubscriptionResponse
808
810
  from lightning_sdk.lightning_cloud.openapi.models.v1_r2_data_connection import V1R2DataConnection
809
811
  from lightning_sdk.lightning_cloud.openapi.models.v1_refresh_index_response import V1RefreshIndexResponse
@@ -46,7 +46,7 @@ class AssistantIdConversationsBody(object):
46
46
  'conversation_id': 'str',
47
47
  'ephemeral': 'bool',
48
48
  'internal_conversation': 'bool',
49
- 'max_tokens': 'str',
49
+ 'max_completion_tokens': 'str',
50
50
  'message': 'V1Message',
51
51
  'metadata': 'dict(str, str)',
52
52
  'name': 'str',
@@ -66,7 +66,7 @@ class AssistantIdConversationsBody(object):
66
66
  'conversation_id': 'conversationId',
67
67
  'ephemeral': 'ephemeral',
68
68
  'internal_conversation': 'internalConversation',
69
- 'max_tokens': 'maxTokens',
69
+ 'max_completion_tokens': 'maxCompletionTokens',
70
70
  'message': 'message',
71
71
  'metadata': 'metadata',
72
72
  'name': 'name',
@@ -80,14 +80,14 @@ class AssistantIdConversationsBody(object):
80
80
  'tools': 'tools'
81
81
  }
82
82
 
83
- def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, ephemeral: 'bool' =None, internal_conversation: 'bool' =None, max_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, name: 'str' =None, parent_conversation_id: 'str' =None, parent_message_id: 'str' =None, reasoning_effort: 'str' =None, sent_at: 'datetime' =None, store: 'bool' =None, stream: 'bool' =None, system_prompt: 'str' =None, tools: 'list[V1Tool]' =None): # noqa: E501
83
+ def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, ephemeral: 'bool' =None, internal_conversation: 'bool' =None, max_completion_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, name: 'str' =None, parent_conversation_id: 'str' =None, parent_message_id: 'str' =None, reasoning_effort: 'str' =None, sent_at: 'datetime' =None, store: 'bool' =None, stream: 'bool' =None, system_prompt: 'str' =None, tools: 'list[V1Tool]' =None): # noqa: E501
84
84
  """AssistantIdConversationsBody - a model defined in Swagger""" # noqa: E501
85
85
  self._auto_name = None
86
86
  self._billing_project_id = None
87
87
  self._conversation_id = None
88
88
  self._ephemeral = None
89
89
  self._internal_conversation = None
90
- self._max_tokens = None
90
+ self._max_completion_tokens = None
91
91
  self._message = None
92
92
  self._metadata = None
93
93
  self._name = None
@@ -110,8 +110,8 @@ class AssistantIdConversationsBody(object):
110
110
  self.ephemeral = ephemeral
111
111
  if internal_conversation is not None:
112
112
  self.internal_conversation = internal_conversation
113
- if max_tokens is not None:
114
- self.max_tokens = max_tokens
113
+ if max_completion_tokens is not None:
114
+ self.max_completion_tokens = max_completion_tokens
115
115
  if message is not None:
116
116
  self.message = message
117
117
  if metadata is not None:
@@ -241,25 +241,25 @@ class AssistantIdConversationsBody(object):
241
241
  self._internal_conversation = internal_conversation
242
242
 
243
243
  @property
244
- def max_tokens(self) -> 'str':
245
- """Gets the max_tokens of this AssistantIdConversationsBody. # noqa: E501
244
+ def max_completion_tokens(self) -> 'str':
245
+ """Gets the max_completion_tokens of this AssistantIdConversationsBody. # noqa: E501
246
246
 
247
247
 
248
- :return: The max_tokens of this AssistantIdConversationsBody. # noqa: E501
248
+ :return: The max_completion_tokens of this AssistantIdConversationsBody. # noqa: E501
249
249
  :rtype: str
250
250
  """
251
- return self._max_tokens
251
+ return self._max_completion_tokens
252
252
 
253
- @max_tokens.setter
254
- def max_tokens(self, max_tokens: 'str'):
255
- """Sets the max_tokens of this AssistantIdConversationsBody.
253
+ @max_completion_tokens.setter
254
+ def max_completion_tokens(self, max_completion_tokens: 'str'):
255
+ """Sets the max_completion_tokens of this AssistantIdConversationsBody.
256
256
 
257
257
 
258
- :param max_tokens: The max_tokens of this AssistantIdConversationsBody. # noqa: E501
258
+ :param max_completion_tokens: The max_completion_tokens of this AssistantIdConversationsBody. # noqa: E501
259
259
  :type: str
260
260
  """
261
261
 
262
- self._max_tokens = max_tokens
262
+ self._max_completion_tokens = max_completion_tokens
263
263
 
264
264
  @property
265
265
  def message(self) -> 'V1Message':
@@ -43,47 +43,32 @@ class IdCodeconfigBody(object):
43
43
  swagger_types = {
44
44
  'compute_config': 'V1UserRequestedComputeConfig',
45
45
  'data_connection_mounts': 'list[V1DataConnectionMount]',
46
- 'disable_auto_shutdown': 'bool',
47
46
  'ide': 'str',
48
- 'idle_shutdown_seconds': 'int',
49
- 'port_plugin_port': 'str',
50
- 'switch_to_default_machine_on_idle': 'bool'
47
+ 'port_plugin_port': 'str'
51
48
  }
52
49
 
53
50
  attribute_map = {
54
51
  'compute_config': 'computeConfig',
55
52
  'data_connection_mounts': 'dataConnectionMounts',
56
- 'disable_auto_shutdown': 'disableAutoShutdown',
57
53
  'ide': 'ide',
58
- 'idle_shutdown_seconds': 'idleShutdownSeconds',
59
- 'port_plugin_port': 'portPluginPort',
60
- 'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle'
54
+ 'port_plugin_port': 'portPluginPort'
61
55
  }
62
56
 
63
- def __init__(self, compute_config: 'V1UserRequestedComputeConfig' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, disable_auto_shutdown: 'bool' =None, ide: 'str' =None, idle_shutdown_seconds: 'int' =None, port_plugin_port: 'str' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
57
+ def __init__(self, compute_config: 'V1UserRequestedComputeConfig' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, ide: 'str' =None, port_plugin_port: 'str' =None): # noqa: E501
64
58
  """IdCodeconfigBody - a model defined in Swagger""" # noqa: E501
65
59
  self._compute_config = None
66
60
  self._data_connection_mounts = None
67
- self._disable_auto_shutdown = None
68
61
  self._ide = None
69
- self._idle_shutdown_seconds = None
70
62
  self._port_plugin_port = None
71
- self._switch_to_default_machine_on_idle = None
72
63
  self.discriminator = None
73
64
  if compute_config is not None:
74
65
  self.compute_config = compute_config
75
66
  if data_connection_mounts is not None:
76
67
  self.data_connection_mounts = data_connection_mounts
77
- if disable_auto_shutdown is not None:
78
- self.disable_auto_shutdown = disable_auto_shutdown
79
68
  if ide is not None:
80
69
  self.ide = ide
81
- if idle_shutdown_seconds is not None:
82
- self.idle_shutdown_seconds = idle_shutdown_seconds
83
70
  if port_plugin_port is not None:
84
71
  self.port_plugin_port = port_plugin_port
85
- if switch_to_default_machine_on_idle is not None:
86
- self.switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
87
72
 
88
73
  @property
89
74
  def compute_config(self) -> 'V1UserRequestedComputeConfig':
@@ -127,27 +112,6 @@ class IdCodeconfigBody(object):
127
112
 
128
113
  self._data_connection_mounts = data_connection_mounts
129
114
 
130
- @property
131
- def disable_auto_shutdown(self) -> 'bool':
132
- """Gets the disable_auto_shutdown of this IdCodeconfigBody. # noqa: E501
133
-
134
-
135
- :return: The disable_auto_shutdown of this IdCodeconfigBody. # noqa: E501
136
- :rtype: bool
137
- """
138
- return self._disable_auto_shutdown
139
-
140
- @disable_auto_shutdown.setter
141
- def disable_auto_shutdown(self, disable_auto_shutdown: 'bool'):
142
- """Sets the disable_auto_shutdown of this IdCodeconfigBody.
143
-
144
-
145
- :param disable_auto_shutdown: The disable_auto_shutdown of this IdCodeconfigBody. # noqa: E501
146
- :type: bool
147
- """
148
-
149
- self._disable_auto_shutdown = disable_auto_shutdown
150
-
151
115
  @property
152
116
  def ide(self) -> 'str':
153
117
  """Gets the ide of this IdCodeconfigBody. # noqa: E501
@@ -169,27 +133,6 @@ class IdCodeconfigBody(object):
169
133
 
170
134
  self._ide = ide
171
135
 
172
- @property
173
- def idle_shutdown_seconds(self) -> 'int':
174
- """Gets the idle_shutdown_seconds of this IdCodeconfigBody. # noqa: E501
175
-
176
-
177
- :return: The idle_shutdown_seconds of this IdCodeconfigBody. # noqa: E501
178
- :rtype: int
179
- """
180
- return self._idle_shutdown_seconds
181
-
182
- @idle_shutdown_seconds.setter
183
- def idle_shutdown_seconds(self, idle_shutdown_seconds: 'int'):
184
- """Sets the idle_shutdown_seconds of this IdCodeconfigBody.
185
-
186
-
187
- :param idle_shutdown_seconds: The idle_shutdown_seconds of this IdCodeconfigBody. # noqa: E501
188
- :type: int
189
- """
190
-
191
- self._idle_shutdown_seconds = idle_shutdown_seconds
192
-
193
136
  @property
194
137
  def port_plugin_port(self) -> 'str':
195
138
  """Gets the port_plugin_port of this IdCodeconfigBody. # noqa: E501
@@ -211,27 +154,6 @@ class IdCodeconfigBody(object):
211
154
 
212
155
  self._port_plugin_port = port_plugin_port
213
156
 
214
- @property
215
- def switch_to_default_machine_on_idle(self) -> 'bool':
216
- """Gets the switch_to_default_machine_on_idle of this IdCodeconfigBody. # noqa: E501
217
-
218
-
219
- :return: The switch_to_default_machine_on_idle of this IdCodeconfigBody. # noqa: E501
220
- :rtype: bool
221
- """
222
- return self._switch_to_default_machine_on_idle
223
-
224
- @switch_to_default_machine_on_idle.setter
225
- def switch_to_default_machine_on_idle(self, switch_to_default_machine_on_idle: 'bool'):
226
- """Sets the switch_to_default_machine_on_idle of this IdCodeconfigBody.
227
-
228
-
229
- :param switch_to_default_machine_on_idle: The switch_to_default_machine_on_idle of this IdCodeconfigBody. # noqa: E501
230
- :type: bool
231
- """
232
-
233
- self._switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
234
-
235
157
  def to_dict(self) -> dict:
236
158
  """Returns the model properties as a dict"""
237
159
  result = {}
@@ -73,6 +73,7 @@ class OrgsIdBody(object):
73
73
  'preferred_cluster': 'str',
74
74
  'preferred_deployment_provider': 'str',
75
75
  'preferred_studio_provider': 'str',
76
+ 'show_model_apis_tab': 'bool',
76
77
  'start_studios_on_spot_instance': 'bool',
77
78
  'switch_to_default_machine_on_idle': 'bool',
78
79
  'teamspace_default_credits': 'float',
@@ -113,6 +114,7 @@ class OrgsIdBody(object):
113
114
  'preferred_cluster': 'preferredCluster',
114
115
  'preferred_deployment_provider': 'preferredDeploymentProvider',
115
116
  'preferred_studio_provider': 'preferredStudioProvider',
117
+ 'show_model_apis_tab': 'showModelApisTab',
116
118
  'start_studios_on_spot_instance': 'startStudiosOnSpotInstance',
117
119
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle',
118
120
  'teamspace_default_credits': 'teamspaceDefaultCredits',
@@ -120,7 +122,7 @@ class OrgsIdBody(object):
120
122
  'workload_max_run_duration': 'workloadMaxRunDuration'
121
123
  }
122
124
 
123
- 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, 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
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
124
126
  """OrgsIdBody - a model defined in Swagger""" # noqa: E501
125
127
  self._alerts_config = None
126
128
  self._allow_budgeting = None
@@ -154,6 +156,7 @@ class OrgsIdBody(object):
154
156
  self._preferred_cluster = None
155
157
  self._preferred_deployment_provider = None
156
158
  self._preferred_studio_provider = None
159
+ self._show_model_apis_tab = None
157
160
  self._start_studios_on_spot_instance = None
158
161
  self._switch_to_default_machine_on_idle = None
159
162
  self._teamspace_default_credits = None
@@ -224,6 +227,8 @@ class OrgsIdBody(object):
224
227
  self.preferred_deployment_provider = preferred_deployment_provider
225
228
  if preferred_studio_provider is not None:
226
229
  self.preferred_studio_provider = preferred_studio_provider
230
+ if show_model_apis_tab is not None:
231
+ self.show_model_apis_tab = show_model_apis_tab
227
232
  if start_studios_on_spot_instance is not None:
228
233
  self.start_studios_on_spot_instance = start_studios_on_spot_instance
229
234
  if switch_to_default_machine_on_idle is not None:
@@ -907,6 +912,27 @@ class OrgsIdBody(object):
907
912
 
908
913
  self._preferred_studio_provider = preferred_studio_provider
909
914
 
915
+ @property
916
+ def show_model_apis_tab(self) -> 'bool':
917
+ """Gets the show_model_apis_tab of this OrgsIdBody. # noqa: E501
918
+
919
+
920
+ :return: The show_model_apis_tab of this OrgsIdBody. # noqa: E501
921
+ :rtype: bool
922
+ """
923
+ return self._show_model_apis_tab
924
+
925
+ @show_model_apis_tab.setter
926
+ def show_model_apis_tab(self, show_model_apis_tab: 'bool'):
927
+ """Sets the show_model_apis_tab of this OrgsIdBody.
928
+
929
+
930
+ :param show_model_apis_tab: The show_model_apis_tab of this OrgsIdBody. # noqa: E501
931
+ :type: bool
932
+ """
933
+
934
+ self._show_model_apis_tab = show_model_apis_tab
935
+
910
936
  @property
911
937
  def start_studios_on_spot_instance(self) -> 'bool':
912
938
  """Gets the start_studios_on_spot_instance of this OrgsIdBody. # noqa: E501
@@ -43,25 +43,30 @@ class ProjectIdStorageBody(object):
43
43
  swagger_types = {
44
44
  'cluster_id': 'str',
45
45
  'count': 'str',
46
+ 'data_connection_id': 'str',
46
47
  'filename': 'str'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'cluster_id': 'clusterId',
51
52
  'count': 'count',
53
+ 'data_connection_id': 'dataConnectionId',
52
54
  'filename': 'filename'
53
55
  }
54
56
 
55
- def __init__(self, cluster_id: 'str' =None, count: 'str' =None, filename: 'str' =None): # noqa: E501
57
+ def __init__(self, cluster_id: 'str' =None, count: 'str' =None, data_connection_id: 'str' =None, filename: 'str' =None): # noqa: E501
56
58
  """ProjectIdStorageBody - a model defined in Swagger""" # noqa: E501
57
59
  self._cluster_id = None
58
60
  self._count = None
61
+ self._data_connection_id = None
59
62
  self._filename = None
60
63
  self.discriminator = None
61
64
  if cluster_id is not None:
62
65
  self.cluster_id = cluster_id
63
66
  if count is not None:
64
67
  self.count = count
68
+ if data_connection_id is not None:
69
+ self.data_connection_id = data_connection_id
65
70
  if filename is not None:
66
71
  self.filename = filename
67
72
 
@@ -107,6 +112,27 @@ class ProjectIdStorageBody(object):
107
112
 
108
113
  self._count = count
109
114
 
115
+ @property
116
+ def data_connection_id(self) -> 'str':
117
+ """Gets the data_connection_id of this ProjectIdStorageBody. # noqa: E501
118
+
119
+
120
+ :return: The data_connection_id of this ProjectIdStorageBody. # noqa: E501
121
+ :rtype: str
122
+ """
123
+ return self._data_connection_id
124
+
125
+ @data_connection_id.setter
126
+ def data_connection_id(self, data_connection_id: 'str'):
127
+ """Sets the data_connection_id of this ProjectIdStorageBody.
128
+
129
+
130
+ :param data_connection_id: The data_connection_id of this ProjectIdStorageBody. # noqa: E501
131
+ :type: str
132
+ """
133
+
134
+ self._data_connection_id = data_connection_id
135
+
110
136
  @property
111
137
  def filename(self) -> 'str':
112
138
  """Gets the filename of this ProjectIdStorageBody. # noqa: E501
@@ -42,6 +42,7 @@ class StorageCompleteBody(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'cluster_id': 'str',
45
+ 'data_connection_id': 'str',
45
46
  'filename': 'str',
46
47
  'parts': 'list[V1CompleteUpload]',
47
48
  'suppress_reindex': 'bool',
@@ -50,15 +51,17 @@ class StorageCompleteBody(object):
50
51
 
51
52
  attribute_map = {
52
53
  'cluster_id': 'clusterId',
54
+ 'data_connection_id': 'dataConnectionId',
53
55
  'filename': 'filename',
54
56
  'parts': 'parts',
55
57
  'suppress_reindex': 'suppressReindex',
56
58
  'upload_id': 'uploadId'
57
59
  }
58
60
 
59
- def __init__(self, cluster_id: 'str' =None, filename: 'str' =None, parts: 'list[V1CompleteUpload]' =None, suppress_reindex: 'bool' =None, upload_id: 'str' =None): # noqa: E501
61
+ def __init__(self, cluster_id: 'str' =None, data_connection_id: 'str' =None, filename: 'str' =None, parts: 'list[V1CompleteUpload]' =None, suppress_reindex: 'bool' =None, upload_id: 'str' =None): # noqa: E501
60
62
  """StorageCompleteBody - a model defined in Swagger""" # noqa: E501
61
63
  self._cluster_id = None
64
+ self._data_connection_id = None
62
65
  self._filename = None
63
66
  self._parts = None
64
67
  self._suppress_reindex = None
@@ -66,6 +69,8 @@ class StorageCompleteBody(object):
66
69
  self.discriminator = None
67
70
  if cluster_id is not None:
68
71
  self.cluster_id = cluster_id
72
+ if data_connection_id is not None:
73
+ self.data_connection_id = data_connection_id
69
74
  if filename is not None:
70
75
  self.filename = filename
71
76
  if parts is not None:
@@ -96,6 +101,27 @@ class StorageCompleteBody(object):
96
101
 
97
102
  self._cluster_id = cluster_id
98
103
 
104
+ @property
105
+ def data_connection_id(self) -> 'str':
106
+ """Gets the data_connection_id of this StorageCompleteBody. # noqa: E501
107
+
108
+
109
+ :return: The data_connection_id of this StorageCompleteBody. # noqa: E501
110
+ :rtype: str
111
+ """
112
+ return self._data_connection_id
113
+
114
+ @data_connection_id.setter
115
+ def data_connection_id(self, data_connection_id: 'str'):
116
+ """Sets the data_connection_id of this StorageCompleteBody.
117
+
118
+
119
+ :param data_connection_id: The data_connection_id of this StorageCompleteBody. # noqa: E501
120
+ :type: str
121
+ """
122
+
123
+ self._data_connection_id = data_connection_id
124
+
99
125
  @property
100
126
  def filename(self) -> 'str':
101
127
  """Gets the filename of this StorageCompleteBody. # noqa: E501
@@ -42,24 +42,29 @@ class UploadsUploadIdBody1(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'cluster_id': 'str',
45
+ 'data_connection_id': 'str',
45
46
  'filename': 'str',
46
47
  'parts': 'list[str]'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'cluster_id': 'clusterId',
52
+ 'data_connection_id': 'dataConnectionId',
51
53
  'filename': 'filename',
52
54
  'parts': 'parts'
53
55
  }
54
56
 
55
- def __init__(self, cluster_id: 'str' =None, filename: 'str' =None, parts: 'list[str]' =None): # noqa: E501
57
+ def __init__(self, cluster_id: 'str' =None, data_connection_id: 'str' =None, filename: 'str' =None, parts: 'list[str]' =None): # noqa: E501
56
58
  """UploadsUploadIdBody1 - a model defined in Swagger""" # noqa: E501
57
59
  self._cluster_id = None
60
+ self._data_connection_id = None
58
61
  self._filename = None
59
62
  self._parts = None
60
63
  self.discriminator = None
61
64
  if cluster_id is not None:
62
65
  self.cluster_id = cluster_id
66
+ if data_connection_id is not None:
67
+ self.data_connection_id = data_connection_id
63
68
  if filename is not None:
64
69
  self.filename = filename
65
70
  if parts is not None:
@@ -86,6 +91,27 @@ class UploadsUploadIdBody1(object):
86
91
 
87
92
  self._cluster_id = cluster_id
88
93
 
94
+ @property
95
+ def data_connection_id(self) -> 'str':
96
+ """Gets the data_connection_id of this UploadsUploadIdBody1. # noqa: E501
97
+
98
+
99
+ :return: The data_connection_id of this UploadsUploadIdBody1. # noqa: E501
100
+ :rtype: str
101
+ """
102
+ return self._data_connection_id
103
+
104
+ @data_connection_id.setter
105
+ def data_connection_id(self, data_connection_id: 'str'):
106
+ """Sets the data_connection_id of this UploadsUploadIdBody1.
107
+
108
+
109
+ :param data_connection_id: The data_connection_id of this UploadsUploadIdBody1. # noqa: E501
110
+ :type: str
111
+ """
112
+
113
+ self._data_connection_id = data_connection_id
114
+
89
115
  @property
90
116
  def filename(self) -> 'str':
91
117
  """Gets the filename of this UploadsUploadIdBody1. # noqa: E501