lightning-sdk 2025.8.6rc0__py3-none-any.whl → 2025.8.6rc2__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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/llm_api.py +48 -0
- lightning_sdk/lightning_cloud/login.py +1 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +15 -23
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +228 -1
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +126 -2129
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +625 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +14 -23
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/{v1_complete_upload_service_execution_artifact_response.py → v1_complete_running_cloud_space_instance_transfer_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_file_endpoints_response.py → v1_list_container_metrics_response.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/{service_artifact_artifact_kind.py → v1_list_node_file_system_metrics_response.py} +6 -13
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_parts_response.py → v1_list_node_metrics_response.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_service_execution_response.py → v1_report_k8s_cluster_metrics_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/{command_argument_command_argument_type.py → v1_request_cloud_space_access_response.py} +6 -12
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -53
- lightning_sdk/lightning_cloud/utils/data_connection.py +56 -1
- lightning_sdk/llm/llm.py +5 -15
- lightning_sdk/llm/public_assistants.py +17 -0
- lightning_sdk/services/file_endpoint.py +3 -4
- {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/METADATA +1 -1
- {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/RECORD +43 -51
- lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +0 -409
- lightning_sdk/lightning_cloud/openapi/models/id_complete_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/id_storage_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/id_uploads_body1.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +0 -357
- lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +0 -331
- lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +0 -305
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_file_endpoint_response.py +0 -149
- lightning_sdk/lightning_cloud/openapi/models/v1_download_service_execution_artifact_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +0 -461
- lightning_sdk/lightning_cloud/openapi/models/v1_get_service_execution_status_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_executions_response.py +0 -123
- lightning_sdk/lightning_cloud/openapi/models/v1_service_artifact.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +0 -383
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_service_execution_artifact_response.py +0 -149
- lightning_sdk/llm/public_assistants.json +0 -34
- {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
external/v1/auth_service.proto
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: version not set
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
|
|
12
|
+
NOTE
|
|
13
|
+
----
|
|
14
|
+
standard swagger-codegen-cli for this python client has been modified
|
|
15
|
+
by custom templates. The purpose of these templates is to include
|
|
16
|
+
typing information in the API and Model code. Please refer to the
|
|
17
|
+
main grid repository for more info
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import pprint
|
|
21
|
+
import re # noqa: F401
|
|
22
|
+
|
|
23
|
+
from typing import TYPE_CHECKING
|
|
24
|
+
|
|
25
|
+
import six
|
|
26
|
+
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from datetime import datetime
|
|
29
|
+
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
|
+
|
|
31
|
+
class V1UpdateCloudSpaceInstanceConfigRequest(object):
|
|
32
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
swagger_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
swagger_types = {
|
|
44
|
+
'compute_config': 'V1UserRequestedComputeConfig',
|
|
45
|
+
'data_connection_mounts': 'list[V1DataConnectionMount]',
|
|
46
|
+
'disable_auto_shutdown': 'bool',
|
|
47
|
+
'id': 'str',
|
|
48
|
+
'ide': 'str',
|
|
49
|
+
'idle_shutdown_seconds': 'int',
|
|
50
|
+
'port_plugin_port': 'str',
|
|
51
|
+
'project_id': 'str',
|
|
52
|
+
'switch_to_default_machine_on_idle': 'bool'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
attribute_map = {
|
|
56
|
+
'compute_config': 'computeConfig',
|
|
57
|
+
'data_connection_mounts': 'dataConnectionMounts',
|
|
58
|
+
'disable_auto_shutdown': 'disableAutoShutdown',
|
|
59
|
+
'id': 'id',
|
|
60
|
+
'ide': 'ide',
|
|
61
|
+
'idle_shutdown_seconds': 'idleShutdownSeconds',
|
|
62
|
+
'port_plugin_port': 'portPluginPort',
|
|
63
|
+
'project_id': 'projectId',
|
|
64
|
+
'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle'
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
def __init__(self, compute_config: 'V1UserRequestedComputeConfig' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, disable_auto_shutdown: 'bool' =None, id: 'str' =None, ide: 'str' =None, idle_shutdown_seconds: 'int' =None, port_plugin_port: 'str' =None, project_id: 'str' =None, switch_to_default_machine_on_idle: 'bool' =None): # noqa: E501
|
|
68
|
+
"""V1UpdateCloudSpaceInstanceConfigRequest - a model defined in Swagger""" # noqa: E501
|
|
69
|
+
self._compute_config = None
|
|
70
|
+
self._data_connection_mounts = None
|
|
71
|
+
self._disable_auto_shutdown = None
|
|
72
|
+
self._id = None
|
|
73
|
+
self._ide = None
|
|
74
|
+
self._idle_shutdown_seconds = None
|
|
75
|
+
self._port_plugin_port = None
|
|
76
|
+
self._project_id = None
|
|
77
|
+
self._switch_to_default_machine_on_idle = None
|
|
78
|
+
self.discriminator = None
|
|
79
|
+
if compute_config is not None:
|
|
80
|
+
self.compute_config = compute_config
|
|
81
|
+
if data_connection_mounts is not None:
|
|
82
|
+
self.data_connection_mounts = data_connection_mounts
|
|
83
|
+
if disable_auto_shutdown is not None:
|
|
84
|
+
self.disable_auto_shutdown = disable_auto_shutdown
|
|
85
|
+
if id is not None:
|
|
86
|
+
self.id = id
|
|
87
|
+
if ide is not None:
|
|
88
|
+
self.ide = ide
|
|
89
|
+
if idle_shutdown_seconds is not None:
|
|
90
|
+
self.idle_shutdown_seconds = idle_shutdown_seconds
|
|
91
|
+
if port_plugin_port is not None:
|
|
92
|
+
self.port_plugin_port = port_plugin_port
|
|
93
|
+
if project_id is not None:
|
|
94
|
+
self.project_id = project_id
|
|
95
|
+
if switch_to_default_machine_on_idle is not None:
|
|
96
|
+
self.switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def compute_config(self) -> 'V1UserRequestedComputeConfig':
|
|
100
|
+
"""Gets the compute_config of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:return: The compute_config of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
104
|
+
:rtype: V1UserRequestedComputeConfig
|
|
105
|
+
"""
|
|
106
|
+
return self._compute_config
|
|
107
|
+
|
|
108
|
+
@compute_config.setter
|
|
109
|
+
def compute_config(self, compute_config: 'V1UserRequestedComputeConfig'):
|
|
110
|
+
"""Sets the compute_config of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:param compute_config: The compute_config of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
114
|
+
:type: V1UserRequestedComputeConfig
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
self._compute_config = compute_config
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def data_connection_mounts(self) -> 'list[V1DataConnectionMount]':
|
|
121
|
+
"""Gets the data_connection_mounts of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:return: The data_connection_mounts of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
125
|
+
:rtype: list[V1DataConnectionMount]
|
|
126
|
+
"""
|
|
127
|
+
return self._data_connection_mounts
|
|
128
|
+
|
|
129
|
+
@data_connection_mounts.setter
|
|
130
|
+
def data_connection_mounts(self, data_connection_mounts: 'list[V1DataConnectionMount]'):
|
|
131
|
+
"""Sets the data_connection_mounts of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param data_connection_mounts: The data_connection_mounts of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
135
|
+
:type: list[V1DataConnectionMount]
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
self._data_connection_mounts = data_connection_mounts
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def disable_auto_shutdown(self) -> 'bool':
|
|
142
|
+
"""Gets the disable_auto_shutdown of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:return: The disable_auto_shutdown of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
146
|
+
:rtype: bool
|
|
147
|
+
"""
|
|
148
|
+
return self._disable_auto_shutdown
|
|
149
|
+
|
|
150
|
+
@disable_auto_shutdown.setter
|
|
151
|
+
def disable_auto_shutdown(self, disable_auto_shutdown: 'bool'):
|
|
152
|
+
"""Sets the disable_auto_shutdown of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param disable_auto_shutdown: The disable_auto_shutdown of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
156
|
+
:type: bool
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._disable_auto_shutdown = disable_auto_shutdown
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def id(self) -> 'str':
|
|
163
|
+
"""Gets the id of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
:return: The id of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
167
|
+
:rtype: str
|
|
168
|
+
"""
|
|
169
|
+
return self._id
|
|
170
|
+
|
|
171
|
+
@id.setter
|
|
172
|
+
def id(self, id: 'str'):
|
|
173
|
+
"""Sets the id of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
:param id: The id of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
177
|
+
:type: str
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
self._id = id
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
def ide(self) -> 'str':
|
|
184
|
+
"""Gets the ide of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
:return: The ide of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
188
|
+
:rtype: str
|
|
189
|
+
"""
|
|
190
|
+
return self._ide
|
|
191
|
+
|
|
192
|
+
@ide.setter
|
|
193
|
+
def ide(self, ide: 'str'):
|
|
194
|
+
"""Sets the ide of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
:param ide: The ide of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
198
|
+
:type: str
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
self._ide = ide
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def idle_shutdown_seconds(self) -> 'int':
|
|
205
|
+
"""Gets the idle_shutdown_seconds of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:return: The idle_shutdown_seconds of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
209
|
+
:rtype: int
|
|
210
|
+
"""
|
|
211
|
+
return self._idle_shutdown_seconds
|
|
212
|
+
|
|
213
|
+
@idle_shutdown_seconds.setter
|
|
214
|
+
def idle_shutdown_seconds(self, idle_shutdown_seconds: 'int'):
|
|
215
|
+
"""Sets the idle_shutdown_seconds of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
:param idle_shutdown_seconds: The idle_shutdown_seconds of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
219
|
+
:type: int
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
self._idle_shutdown_seconds = idle_shutdown_seconds
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def port_plugin_port(self) -> 'str':
|
|
226
|
+
"""Gets the port_plugin_port of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:return: The port_plugin_port of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
230
|
+
:rtype: str
|
|
231
|
+
"""
|
|
232
|
+
return self._port_plugin_port
|
|
233
|
+
|
|
234
|
+
@port_plugin_port.setter
|
|
235
|
+
def port_plugin_port(self, port_plugin_port: 'str'):
|
|
236
|
+
"""Sets the port_plugin_port of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
:param port_plugin_port: The port_plugin_port of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
240
|
+
:type: str
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
self._port_plugin_port = port_plugin_port
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def project_id(self) -> 'str':
|
|
247
|
+
"""Gets the project_id of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:return: The project_id of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
251
|
+
:rtype: str
|
|
252
|
+
"""
|
|
253
|
+
return self._project_id
|
|
254
|
+
|
|
255
|
+
@project_id.setter
|
|
256
|
+
def project_id(self, project_id: 'str'):
|
|
257
|
+
"""Sets the project_id of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:param project_id: The project_id of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
261
|
+
:type: str
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
self._project_id = project_id
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def switch_to_default_machine_on_idle(self) -> 'bool':
|
|
268
|
+
"""Gets the switch_to_default_machine_on_idle of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
:return: The switch_to_default_machine_on_idle of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
272
|
+
:rtype: bool
|
|
273
|
+
"""
|
|
274
|
+
return self._switch_to_default_machine_on_idle
|
|
275
|
+
|
|
276
|
+
@switch_to_default_machine_on_idle.setter
|
|
277
|
+
def switch_to_default_machine_on_idle(self, switch_to_default_machine_on_idle: 'bool'):
|
|
278
|
+
"""Sets the switch_to_default_machine_on_idle of this V1UpdateCloudSpaceInstanceConfigRequest.
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
:param switch_to_default_machine_on_idle: The switch_to_default_machine_on_idle of this V1UpdateCloudSpaceInstanceConfigRequest. # noqa: E501
|
|
282
|
+
:type: bool
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
self._switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
|
|
286
|
+
|
|
287
|
+
def to_dict(self) -> dict:
|
|
288
|
+
"""Returns the model properties as a dict"""
|
|
289
|
+
result = {}
|
|
290
|
+
|
|
291
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
292
|
+
value = getattr(self, attr)
|
|
293
|
+
if isinstance(value, list):
|
|
294
|
+
result[attr] = list(map(
|
|
295
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
296
|
+
value
|
|
297
|
+
))
|
|
298
|
+
elif hasattr(value, "to_dict"):
|
|
299
|
+
result[attr] = value.to_dict()
|
|
300
|
+
elif isinstance(value, dict):
|
|
301
|
+
result[attr] = dict(map(
|
|
302
|
+
lambda item: (item[0], item[1].to_dict())
|
|
303
|
+
if hasattr(item[1], "to_dict") else item,
|
|
304
|
+
value.items()
|
|
305
|
+
))
|
|
306
|
+
else:
|
|
307
|
+
result[attr] = value
|
|
308
|
+
if issubclass(V1UpdateCloudSpaceInstanceConfigRequest, dict):
|
|
309
|
+
for key, value in self.items():
|
|
310
|
+
result[key] = value
|
|
311
|
+
|
|
312
|
+
return result
|
|
313
|
+
|
|
314
|
+
def to_str(self) -> str:
|
|
315
|
+
"""Returns the string representation of the model"""
|
|
316
|
+
return pprint.pformat(self.to_dict())
|
|
317
|
+
|
|
318
|
+
def __repr__(self) -> str:
|
|
319
|
+
"""For `print` and `pprint`"""
|
|
320
|
+
return self.to_str()
|
|
321
|
+
|
|
322
|
+
def __eq__(self, other: 'V1UpdateCloudSpaceInstanceConfigRequest') -> bool:
|
|
323
|
+
"""Returns true if both objects are equal"""
|
|
324
|
+
if not isinstance(other, V1UpdateCloudSpaceInstanceConfigRequest):
|
|
325
|
+
return False
|
|
326
|
+
|
|
327
|
+
return self.__dict__ == other.__dict__
|
|
328
|
+
|
|
329
|
+
def __ne__(self, other: 'V1UpdateCloudSpaceInstanceConfigRequest') -> bool:
|
|
330
|
+
"""Returns true if both objects are not equal"""
|
|
331
|
+
return not self == other
|
|
@@ -66,16 +66,21 @@ class V1UserFeatures(object):
|
|
|
66
66
|
'deployment_persistent_disk': 'bool',
|
|
67
67
|
'drive_v2': 'bool',
|
|
68
68
|
'enterprise_compute_admin': 'bool',
|
|
69
|
+
'f227': 'bool',
|
|
70
|
+
'f234': 'bool',
|
|
69
71
|
'f236': 'bool',
|
|
70
72
|
'f237': 'bool',
|
|
71
73
|
'f238': 'bool',
|
|
72
74
|
'f239': 'bool',
|
|
75
|
+
'f240': 'bool',
|
|
76
|
+
'f241': 'bool',
|
|
77
|
+
'f242': 'bool',
|
|
78
|
+
'f243': 'bool',
|
|
73
79
|
'fair_share': 'bool',
|
|
74
80
|
'featured_studios_admin': 'bool',
|
|
75
81
|
'gcp_overprovisioning': 'bool',
|
|
76
82
|
'gcs_connections_optimized': 'bool',
|
|
77
83
|
'gcs_folders': 'bool',
|
|
78
|
-
'gcs_fuse': 'bool',
|
|
79
84
|
'instant_capacity_reservation': 'bool',
|
|
80
85
|
'job_artifacts_v2': 'bool',
|
|
81
86
|
'kubernetes_cluster_ui': 'bool',
|
|
@@ -107,7 +112,6 @@ class V1UserFeatures(object):
|
|
|
107
112
|
'project_selector': 'bool',
|
|
108
113
|
'publish_pipelines': 'bool',
|
|
109
114
|
'r2_data_connections': 'bool',
|
|
110
|
-
'r2_uploads': 'bool',
|
|
111
115
|
'reserved_machines_tab': 'bool',
|
|
112
116
|
'restartable_jobs': 'bool',
|
|
113
117
|
'runnable_public_studio_page': 'bool',
|
|
@@ -154,16 +158,21 @@ class V1UserFeatures(object):
|
|
|
154
158
|
'deployment_persistent_disk': 'deploymentPersistentDisk',
|
|
155
159
|
'drive_v2': 'driveV2',
|
|
156
160
|
'enterprise_compute_admin': 'enterpriseComputeAdmin',
|
|
161
|
+
'f227': 'f227',
|
|
162
|
+
'f234': 'f234',
|
|
157
163
|
'f236': 'f236',
|
|
158
164
|
'f237': 'f237',
|
|
159
165
|
'f238': 'f238',
|
|
160
166
|
'f239': 'f239',
|
|
167
|
+
'f240': 'f240',
|
|
168
|
+
'f241': 'f241',
|
|
169
|
+
'f242': 'f242',
|
|
170
|
+
'f243': 'f243',
|
|
161
171
|
'fair_share': 'fairShare',
|
|
162
172
|
'featured_studios_admin': 'featuredStudiosAdmin',
|
|
163
173
|
'gcp_overprovisioning': 'gcpOverprovisioning',
|
|
164
174
|
'gcs_connections_optimized': 'gcsConnectionsOptimized',
|
|
165
175
|
'gcs_folders': 'gcsFolders',
|
|
166
|
-
'gcs_fuse': 'gcsFuse',
|
|
167
176
|
'instant_capacity_reservation': 'instantCapacityReservation',
|
|
168
177
|
'job_artifacts_v2': 'jobArtifactsV2',
|
|
169
178
|
'kubernetes_cluster_ui': 'kubernetesClusterUi',
|
|
@@ -195,7 +204,6 @@ class V1UserFeatures(object):
|
|
|
195
204
|
'project_selector': 'projectSelector',
|
|
196
205
|
'publish_pipelines': 'publishPipelines',
|
|
197
206
|
'r2_data_connections': 'r2DataConnections',
|
|
198
|
-
'r2_uploads': 'r2Uploads',
|
|
199
207
|
'reserved_machines_tab': 'reservedMachinesTab',
|
|
200
208
|
'restartable_jobs': 'restartableJobs',
|
|
201
209
|
'runnable_public_studio_page': 'runnablePublicStudioPage',
|
|
@@ -216,7 +224,7 @@ class V1UserFeatures(object):
|
|
|
216
224
|
'writable_s3_connections': 'writableS3Connections'
|
|
217
225
|
}
|
|
218
226
|
|
|
219
|
-
def __init__(self, academic_tier: 'bool' =None, add_data_v2: '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, 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, f236: 'bool' =None, f237: 'bool' =None, f238: 'bool' =None, f239: 'bool' =None,
|
|
227
|
+
def __init__(self, academic_tier: 'bool' =None, add_data_v2: '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, 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, f237: 'bool' =None, f238: 'bool' =None, f239: 'bool' =None, f240: 'bool' =None, f241: 'bool' =None, f242: 'bool' =None, f243: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, gcp_overprovisioning: 'bool' =None, gcs_connections_optimized: 'bool' =None, gcs_folders: '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, model_api_dashboard_clickhouse: 'bool' =None, multicloud_folders: 'bool' =None, multiple_studio_versions: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, onboarding_v2: '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_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, 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, use_internal_data_connection_mounts: 'bool' =None, use_rclone_mounts_only: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None, writable_s3_connections: 'bool' =None): # noqa: E501
|
|
220
228
|
"""V1UserFeatures - a model defined in Swagger""" # noqa: E501
|
|
221
229
|
self._academic_tier = None
|
|
222
230
|
self._add_data_v2 = None
|
|
@@ -243,16 +251,21 @@ class V1UserFeatures(object):
|
|
|
243
251
|
self._deployment_persistent_disk = None
|
|
244
252
|
self._drive_v2 = None
|
|
245
253
|
self._enterprise_compute_admin = None
|
|
254
|
+
self._f227 = None
|
|
255
|
+
self._f234 = None
|
|
246
256
|
self._f236 = None
|
|
247
257
|
self._f237 = None
|
|
248
258
|
self._f238 = None
|
|
249
259
|
self._f239 = None
|
|
260
|
+
self._f240 = None
|
|
261
|
+
self._f241 = None
|
|
262
|
+
self._f242 = None
|
|
263
|
+
self._f243 = None
|
|
250
264
|
self._fair_share = None
|
|
251
265
|
self._featured_studios_admin = None
|
|
252
266
|
self._gcp_overprovisioning = None
|
|
253
267
|
self._gcs_connections_optimized = None
|
|
254
268
|
self._gcs_folders = None
|
|
255
|
-
self._gcs_fuse = None
|
|
256
269
|
self._instant_capacity_reservation = None
|
|
257
270
|
self._job_artifacts_v2 = None
|
|
258
271
|
self._kubernetes_cluster_ui = None
|
|
@@ -284,7 +297,6 @@ class V1UserFeatures(object):
|
|
|
284
297
|
self._project_selector = None
|
|
285
298
|
self._publish_pipelines = None
|
|
286
299
|
self._r2_data_connections = None
|
|
287
|
-
self._r2_uploads = None
|
|
288
300
|
self._reserved_machines_tab = None
|
|
289
301
|
self._restartable_jobs = None
|
|
290
302
|
self._runnable_public_studio_page = None
|
|
@@ -354,6 +366,10 @@ class V1UserFeatures(object):
|
|
|
354
366
|
self.drive_v2 = drive_v2
|
|
355
367
|
if enterprise_compute_admin is not None:
|
|
356
368
|
self.enterprise_compute_admin = enterprise_compute_admin
|
|
369
|
+
if f227 is not None:
|
|
370
|
+
self.f227 = f227
|
|
371
|
+
if f234 is not None:
|
|
372
|
+
self.f234 = f234
|
|
357
373
|
if f236 is not None:
|
|
358
374
|
self.f236 = f236
|
|
359
375
|
if f237 is not None:
|
|
@@ -362,6 +378,14 @@ class V1UserFeatures(object):
|
|
|
362
378
|
self.f238 = f238
|
|
363
379
|
if f239 is not None:
|
|
364
380
|
self.f239 = f239
|
|
381
|
+
if f240 is not None:
|
|
382
|
+
self.f240 = f240
|
|
383
|
+
if f241 is not None:
|
|
384
|
+
self.f241 = f241
|
|
385
|
+
if f242 is not None:
|
|
386
|
+
self.f242 = f242
|
|
387
|
+
if f243 is not None:
|
|
388
|
+
self.f243 = f243
|
|
365
389
|
if fair_share is not None:
|
|
366
390
|
self.fair_share = fair_share
|
|
367
391
|
if featured_studios_admin is not None:
|
|
@@ -372,8 +396,6 @@ class V1UserFeatures(object):
|
|
|
372
396
|
self.gcs_connections_optimized = gcs_connections_optimized
|
|
373
397
|
if gcs_folders is not None:
|
|
374
398
|
self.gcs_folders = gcs_folders
|
|
375
|
-
if gcs_fuse is not None:
|
|
376
|
-
self.gcs_fuse = gcs_fuse
|
|
377
399
|
if instant_capacity_reservation is not None:
|
|
378
400
|
self.instant_capacity_reservation = instant_capacity_reservation
|
|
379
401
|
if job_artifacts_v2 is not None:
|
|
@@ -436,8 +458,6 @@ class V1UserFeatures(object):
|
|
|
436
458
|
self.publish_pipelines = publish_pipelines
|
|
437
459
|
if r2_data_connections is not None:
|
|
438
460
|
self.r2_data_connections = r2_data_connections
|
|
439
|
-
if r2_uploads is not None:
|
|
440
|
-
self.r2_uploads = r2_uploads
|
|
441
461
|
if reserved_machines_tab is not None:
|
|
442
462
|
self.reserved_machines_tab = reserved_machines_tab
|
|
443
463
|
if restartable_jobs is not None:
|
|
@@ -1000,6 +1020,48 @@ class V1UserFeatures(object):
|
|
|
1000
1020
|
|
|
1001
1021
|
self._enterprise_compute_admin = enterprise_compute_admin
|
|
1002
1022
|
|
|
1023
|
+
@property
|
|
1024
|
+
def f227(self) -> 'bool':
|
|
1025
|
+
"""Gets the f227 of this V1UserFeatures. # noqa: E501
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
:return: The f227 of this V1UserFeatures. # noqa: E501
|
|
1029
|
+
:rtype: bool
|
|
1030
|
+
"""
|
|
1031
|
+
return self._f227
|
|
1032
|
+
|
|
1033
|
+
@f227.setter
|
|
1034
|
+
def f227(self, f227: 'bool'):
|
|
1035
|
+
"""Sets the f227 of this V1UserFeatures.
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
:param f227: The f227 of this V1UserFeatures. # noqa: E501
|
|
1039
|
+
:type: bool
|
|
1040
|
+
"""
|
|
1041
|
+
|
|
1042
|
+
self._f227 = f227
|
|
1043
|
+
|
|
1044
|
+
@property
|
|
1045
|
+
def f234(self) -> 'bool':
|
|
1046
|
+
"""Gets the f234 of this V1UserFeatures. # noqa: E501
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
:return: The f234 of this V1UserFeatures. # noqa: E501
|
|
1050
|
+
:rtype: bool
|
|
1051
|
+
"""
|
|
1052
|
+
return self._f234
|
|
1053
|
+
|
|
1054
|
+
@f234.setter
|
|
1055
|
+
def f234(self, f234: 'bool'):
|
|
1056
|
+
"""Sets the f234 of this V1UserFeatures.
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
:param f234: The f234 of this V1UserFeatures. # noqa: E501
|
|
1060
|
+
:type: bool
|
|
1061
|
+
"""
|
|
1062
|
+
|
|
1063
|
+
self._f234 = f234
|
|
1064
|
+
|
|
1003
1065
|
@property
|
|
1004
1066
|
def f236(self) -> 'bool':
|
|
1005
1067
|
"""Gets the f236 of this V1UserFeatures. # noqa: E501
|
|
@@ -1084,6 +1146,90 @@ class V1UserFeatures(object):
|
|
|
1084
1146
|
|
|
1085
1147
|
self._f239 = f239
|
|
1086
1148
|
|
|
1149
|
+
@property
|
|
1150
|
+
def f240(self) -> 'bool':
|
|
1151
|
+
"""Gets the f240 of this V1UserFeatures. # noqa: E501
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
:return: The f240 of this V1UserFeatures. # noqa: E501
|
|
1155
|
+
:rtype: bool
|
|
1156
|
+
"""
|
|
1157
|
+
return self._f240
|
|
1158
|
+
|
|
1159
|
+
@f240.setter
|
|
1160
|
+
def f240(self, f240: 'bool'):
|
|
1161
|
+
"""Sets the f240 of this V1UserFeatures.
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
:param f240: The f240 of this V1UserFeatures. # noqa: E501
|
|
1165
|
+
:type: bool
|
|
1166
|
+
"""
|
|
1167
|
+
|
|
1168
|
+
self._f240 = f240
|
|
1169
|
+
|
|
1170
|
+
@property
|
|
1171
|
+
def f241(self) -> 'bool':
|
|
1172
|
+
"""Gets the f241 of this V1UserFeatures. # noqa: E501
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
:return: The f241 of this V1UserFeatures. # noqa: E501
|
|
1176
|
+
:rtype: bool
|
|
1177
|
+
"""
|
|
1178
|
+
return self._f241
|
|
1179
|
+
|
|
1180
|
+
@f241.setter
|
|
1181
|
+
def f241(self, f241: 'bool'):
|
|
1182
|
+
"""Sets the f241 of this V1UserFeatures.
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
:param f241: The f241 of this V1UserFeatures. # noqa: E501
|
|
1186
|
+
:type: bool
|
|
1187
|
+
"""
|
|
1188
|
+
|
|
1189
|
+
self._f241 = f241
|
|
1190
|
+
|
|
1191
|
+
@property
|
|
1192
|
+
def f242(self) -> 'bool':
|
|
1193
|
+
"""Gets the f242 of this V1UserFeatures. # noqa: E501
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
:return: The f242 of this V1UserFeatures. # noqa: E501
|
|
1197
|
+
:rtype: bool
|
|
1198
|
+
"""
|
|
1199
|
+
return self._f242
|
|
1200
|
+
|
|
1201
|
+
@f242.setter
|
|
1202
|
+
def f242(self, f242: 'bool'):
|
|
1203
|
+
"""Sets the f242 of this V1UserFeatures.
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
:param f242: The f242 of this V1UserFeatures. # noqa: E501
|
|
1207
|
+
:type: bool
|
|
1208
|
+
"""
|
|
1209
|
+
|
|
1210
|
+
self._f242 = f242
|
|
1211
|
+
|
|
1212
|
+
@property
|
|
1213
|
+
def f243(self) -> 'bool':
|
|
1214
|
+
"""Gets the f243 of this V1UserFeatures. # noqa: E501
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
:return: The f243 of this V1UserFeatures. # noqa: E501
|
|
1218
|
+
:rtype: bool
|
|
1219
|
+
"""
|
|
1220
|
+
return self._f243
|
|
1221
|
+
|
|
1222
|
+
@f243.setter
|
|
1223
|
+
def f243(self, f243: 'bool'):
|
|
1224
|
+
"""Sets the f243 of this V1UserFeatures.
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
:param f243: The f243 of this V1UserFeatures. # noqa: E501
|
|
1228
|
+
:type: bool
|
|
1229
|
+
"""
|
|
1230
|
+
|
|
1231
|
+
self._f243 = f243
|
|
1232
|
+
|
|
1087
1233
|
@property
|
|
1088
1234
|
def fair_share(self) -> 'bool':
|
|
1089
1235
|
"""Gets the fair_share of this V1UserFeatures. # noqa: E501
|
|
@@ -1189,27 +1335,6 @@ class V1UserFeatures(object):
|
|
|
1189
1335
|
|
|
1190
1336
|
self._gcs_folders = gcs_folders
|
|
1191
1337
|
|
|
1192
|
-
@property
|
|
1193
|
-
def gcs_fuse(self) -> 'bool':
|
|
1194
|
-
"""Gets the gcs_fuse of this V1UserFeatures. # noqa: E501
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
:return: The gcs_fuse of this V1UserFeatures. # noqa: E501
|
|
1198
|
-
:rtype: bool
|
|
1199
|
-
"""
|
|
1200
|
-
return self._gcs_fuse
|
|
1201
|
-
|
|
1202
|
-
@gcs_fuse.setter
|
|
1203
|
-
def gcs_fuse(self, gcs_fuse: 'bool'):
|
|
1204
|
-
"""Sets the gcs_fuse of this V1UserFeatures.
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
:param gcs_fuse: The gcs_fuse of this V1UserFeatures. # noqa: E501
|
|
1208
|
-
:type: bool
|
|
1209
|
-
"""
|
|
1210
|
-
|
|
1211
|
-
self._gcs_fuse = gcs_fuse
|
|
1212
|
-
|
|
1213
1338
|
@property
|
|
1214
1339
|
def instant_capacity_reservation(self) -> 'bool':
|
|
1215
1340
|
"""Gets the instant_capacity_reservation of this V1UserFeatures. # noqa: E501
|
|
@@ -1861,27 +1986,6 @@ class V1UserFeatures(object):
|
|
|
1861
1986
|
|
|
1862
1987
|
self._r2_data_connections = r2_data_connections
|
|
1863
1988
|
|
|
1864
|
-
@property
|
|
1865
|
-
def r2_uploads(self) -> 'bool':
|
|
1866
|
-
"""Gets the r2_uploads of this V1UserFeatures. # noqa: E501
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
:return: The r2_uploads of this V1UserFeatures. # noqa: E501
|
|
1870
|
-
:rtype: bool
|
|
1871
|
-
"""
|
|
1872
|
-
return self._r2_uploads
|
|
1873
|
-
|
|
1874
|
-
@r2_uploads.setter
|
|
1875
|
-
def r2_uploads(self, r2_uploads: 'bool'):
|
|
1876
|
-
"""Sets the r2_uploads of this V1UserFeatures.
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
:param r2_uploads: The r2_uploads of this V1UserFeatures. # noqa: E501
|
|
1880
|
-
:type: bool
|
|
1881
|
-
"""
|
|
1882
|
-
|
|
1883
|
-
self._r2_uploads = r2_uploads
|
|
1884
|
-
|
|
1885
1989
|
@property
|
|
1886
1990
|
def reserved_machines_tab(self) -> 'bool':
|
|
1887
1991
|
"""Gets the reserved_machines_tab of this V1UserFeatures. # noqa: E501
|