lightning-sdk 0.2.21rc1__py3-none-any.whl → 0.2.23__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/license_api.py +2 -2
- lightning_sdk/api/llm_api.py +69 -27
- lightning_sdk/api/pipeline_api.py +49 -9
- lightning_sdk/api/studio_api.py +2 -0
- lightning_sdk/cli/configure.py +34 -27
- lightning_sdk/cli/connect.py +2 -2
- lightning_sdk/cli/download.py +38 -2
- lightning_sdk/cli/entrypoint.py +15 -13
- lightning_sdk/cli/start.py +5 -2
- lightning_sdk/lightning_cloud/openapi/__init__.py +9 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +206 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +98 -5
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +118 -1
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -0
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +827 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +29 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -183
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +78 -104
- lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +104 -0
- lightning_sdk/llm/llm.py +6 -1
- lightning_sdk/pipeline/__init__.py +12 -2
- lightning_sdk/pipeline/pipeline.py +59 -17
- lightning_sdk/pipeline/printer.py +121 -0
- lightning_sdk/pipeline/schedule.py +8 -0
- lightning_sdk/pipeline/{types.py → steps.py} +77 -59
- lightning_sdk/pipeline/utils.py +39 -17
- lightning_sdk/sandbox.py +157 -0
- lightning_sdk/services/license.py +12 -6
- lightning_sdk/studio.py +7 -1
- {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/RECORD +70 -58
- {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,513 @@
|
|
|
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 V1LitePublishedCloudSpaceResponse(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
|
+
'description': 'str',
|
|
45
|
+
'display_name': 'str',
|
|
46
|
+
'engagement_counts': 'dict(str, str)',
|
|
47
|
+
'id': 'str',
|
|
48
|
+
'name': 'str',
|
|
49
|
+
'project_id': 'str',
|
|
50
|
+
'project_name': 'str',
|
|
51
|
+
'project_owner_id': 'str',
|
|
52
|
+
'project_owner_name': 'str',
|
|
53
|
+
'project_owner_type': 'V1OwnerType',
|
|
54
|
+
'studio_creator_avatar_url': 'str',
|
|
55
|
+
'studio_creator_first_name': 'str',
|
|
56
|
+
'studio_creator_id': 'str',
|
|
57
|
+
'studio_creator_last_name': 'str',
|
|
58
|
+
'studio_creator_username': 'str',
|
|
59
|
+
'thumbnail_url': 'str'
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
attribute_map = {
|
|
63
|
+
'description': 'description',
|
|
64
|
+
'display_name': 'displayName',
|
|
65
|
+
'engagement_counts': 'engagementCounts',
|
|
66
|
+
'id': 'id',
|
|
67
|
+
'name': 'name',
|
|
68
|
+
'project_id': 'projectId',
|
|
69
|
+
'project_name': 'projectName',
|
|
70
|
+
'project_owner_id': 'projectOwnerId',
|
|
71
|
+
'project_owner_name': 'projectOwnerName',
|
|
72
|
+
'project_owner_type': 'projectOwnerType',
|
|
73
|
+
'studio_creator_avatar_url': 'studioCreatorAvatarUrl',
|
|
74
|
+
'studio_creator_first_name': 'studioCreatorFirstName',
|
|
75
|
+
'studio_creator_id': 'studioCreatorId',
|
|
76
|
+
'studio_creator_last_name': 'studioCreatorLastName',
|
|
77
|
+
'studio_creator_username': 'studioCreatorUsername',
|
|
78
|
+
'thumbnail_url': 'thumbnailUrl'
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
def __init__(self, description: 'str' =None, display_name: 'str' =None, engagement_counts: 'dict(str, str)' =None, id: 'str' =None, name: 'str' =None, project_id: 'str' =None, project_name: 'str' =None, project_owner_id: 'str' =None, project_owner_name: 'str' =None, project_owner_type: 'V1OwnerType' =None, studio_creator_avatar_url: 'str' =None, studio_creator_first_name: 'str' =None, studio_creator_id: 'str' =None, studio_creator_last_name: 'str' =None, studio_creator_username: 'str' =None, thumbnail_url: 'str' =None): # noqa: E501
|
|
82
|
+
"""V1LitePublishedCloudSpaceResponse - a model defined in Swagger""" # noqa: E501
|
|
83
|
+
self._description = None
|
|
84
|
+
self._display_name = None
|
|
85
|
+
self._engagement_counts = None
|
|
86
|
+
self._id = None
|
|
87
|
+
self._name = None
|
|
88
|
+
self._project_id = None
|
|
89
|
+
self._project_name = None
|
|
90
|
+
self._project_owner_id = None
|
|
91
|
+
self._project_owner_name = None
|
|
92
|
+
self._project_owner_type = None
|
|
93
|
+
self._studio_creator_avatar_url = None
|
|
94
|
+
self._studio_creator_first_name = None
|
|
95
|
+
self._studio_creator_id = None
|
|
96
|
+
self._studio_creator_last_name = None
|
|
97
|
+
self._studio_creator_username = None
|
|
98
|
+
self._thumbnail_url = None
|
|
99
|
+
self.discriminator = None
|
|
100
|
+
if description is not None:
|
|
101
|
+
self.description = description
|
|
102
|
+
if display_name is not None:
|
|
103
|
+
self.display_name = display_name
|
|
104
|
+
if engagement_counts is not None:
|
|
105
|
+
self.engagement_counts = engagement_counts
|
|
106
|
+
if id is not None:
|
|
107
|
+
self.id = id
|
|
108
|
+
if name is not None:
|
|
109
|
+
self.name = name
|
|
110
|
+
if project_id is not None:
|
|
111
|
+
self.project_id = project_id
|
|
112
|
+
if project_name is not None:
|
|
113
|
+
self.project_name = project_name
|
|
114
|
+
if project_owner_id is not None:
|
|
115
|
+
self.project_owner_id = project_owner_id
|
|
116
|
+
if project_owner_name is not None:
|
|
117
|
+
self.project_owner_name = project_owner_name
|
|
118
|
+
if project_owner_type is not None:
|
|
119
|
+
self.project_owner_type = project_owner_type
|
|
120
|
+
if studio_creator_avatar_url is not None:
|
|
121
|
+
self.studio_creator_avatar_url = studio_creator_avatar_url
|
|
122
|
+
if studio_creator_first_name is not None:
|
|
123
|
+
self.studio_creator_first_name = studio_creator_first_name
|
|
124
|
+
if studio_creator_id is not None:
|
|
125
|
+
self.studio_creator_id = studio_creator_id
|
|
126
|
+
if studio_creator_last_name is not None:
|
|
127
|
+
self.studio_creator_last_name = studio_creator_last_name
|
|
128
|
+
if studio_creator_username is not None:
|
|
129
|
+
self.studio_creator_username = studio_creator_username
|
|
130
|
+
if thumbnail_url is not None:
|
|
131
|
+
self.thumbnail_url = thumbnail_url
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def description(self) -> 'str':
|
|
135
|
+
"""Gets the description of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The description of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._description
|
|
142
|
+
|
|
143
|
+
@description.setter
|
|
144
|
+
def description(self, description: 'str'):
|
|
145
|
+
"""Sets the description of this V1LitePublishedCloudSpaceResponse.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param description: The description of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._description = description
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def display_name(self) -> 'str':
|
|
156
|
+
"""Gets the display_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
:return: The display_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
160
|
+
:rtype: str
|
|
161
|
+
"""
|
|
162
|
+
return self._display_name
|
|
163
|
+
|
|
164
|
+
@display_name.setter
|
|
165
|
+
def display_name(self, display_name: 'str'):
|
|
166
|
+
"""Sets the display_name of this V1LitePublishedCloudSpaceResponse.
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:param display_name: The display_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
170
|
+
:type: str
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
self._display_name = display_name
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def engagement_counts(self) -> 'dict(str, str)':
|
|
177
|
+
"""Gets the engagement_counts of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
:return: The engagement_counts of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
181
|
+
:rtype: dict(str, str)
|
|
182
|
+
"""
|
|
183
|
+
return self._engagement_counts
|
|
184
|
+
|
|
185
|
+
@engagement_counts.setter
|
|
186
|
+
def engagement_counts(self, engagement_counts: 'dict(str, str)'):
|
|
187
|
+
"""Sets the engagement_counts of this V1LitePublishedCloudSpaceResponse.
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:param engagement_counts: The engagement_counts of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
191
|
+
:type: dict(str, str)
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
self._engagement_counts = engagement_counts
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
def id(self) -> 'str':
|
|
198
|
+
"""Gets the id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:return: The id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
202
|
+
:rtype: str
|
|
203
|
+
"""
|
|
204
|
+
return self._id
|
|
205
|
+
|
|
206
|
+
@id.setter
|
|
207
|
+
def id(self, id: 'str'):
|
|
208
|
+
"""Sets the id of this V1LitePublishedCloudSpaceResponse.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
:param id: The id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
212
|
+
:type: str
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
self._id = id
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def name(self) -> 'str':
|
|
219
|
+
"""Gets the name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
:return: The name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._name
|
|
226
|
+
|
|
227
|
+
@name.setter
|
|
228
|
+
def name(self, name: 'str'):
|
|
229
|
+
"""Sets the name of this V1LitePublishedCloudSpaceResponse.
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
:param name: The name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
233
|
+
:type: str
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
self._name = name
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
def project_id(self) -> 'str':
|
|
240
|
+
"""Gets the project_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
:return: The project_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
244
|
+
:rtype: str
|
|
245
|
+
"""
|
|
246
|
+
return self._project_id
|
|
247
|
+
|
|
248
|
+
@project_id.setter
|
|
249
|
+
def project_id(self, project_id: 'str'):
|
|
250
|
+
"""Sets the project_id of this V1LitePublishedCloudSpaceResponse.
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
:param project_id: The project_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
254
|
+
:type: str
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
self._project_id = project_id
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
def project_name(self) -> 'str':
|
|
261
|
+
"""Gets the project_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
:return: The project_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
265
|
+
:rtype: str
|
|
266
|
+
"""
|
|
267
|
+
return self._project_name
|
|
268
|
+
|
|
269
|
+
@project_name.setter
|
|
270
|
+
def project_name(self, project_name: 'str'):
|
|
271
|
+
"""Sets the project_name of this V1LitePublishedCloudSpaceResponse.
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
:param project_name: The project_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
275
|
+
:type: str
|
|
276
|
+
"""
|
|
277
|
+
|
|
278
|
+
self._project_name = project_name
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
def project_owner_id(self) -> 'str':
|
|
282
|
+
"""Gets the project_owner_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:return: The project_owner_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
286
|
+
:rtype: str
|
|
287
|
+
"""
|
|
288
|
+
return self._project_owner_id
|
|
289
|
+
|
|
290
|
+
@project_owner_id.setter
|
|
291
|
+
def project_owner_id(self, project_owner_id: 'str'):
|
|
292
|
+
"""Sets the project_owner_id of this V1LitePublishedCloudSpaceResponse.
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
:param project_owner_id: The project_owner_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
296
|
+
:type: str
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
self._project_owner_id = project_owner_id
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
def project_owner_name(self) -> 'str':
|
|
303
|
+
"""Gets the project_owner_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
:return: The project_owner_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
307
|
+
:rtype: str
|
|
308
|
+
"""
|
|
309
|
+
return self._project_owner_name
|
|
310
|
+
|
|
311
|
+
@project_owner_name.setter
|
|
312
|
+
def project_owner_name(self, project_owner_name: 'str'):
|
|
313
|
+
"""Sets the project_owner_name of this V1LitePublishedCloudSpaceResponse.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
:param project_owner_name: The project_owner_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
317
|
+
:type: str
|
|
318
|
+
"""
|
|
319
|
+
|
|
320
|
+
self._project_owner_name = project_owner_name
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
def project_owner_type(self) -> 'V1OwnerType':
|
|
324
|
+
"""Gets the project_owner_type of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
:return: The project_owner_type of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
328
|
+
:rtype: V1OwnerType
|
|
329
|
+
"""
|
|
330
|
+
return self._project_owner_type
|
|
331
|
+
|
|
332
|
+
@project_owner_type.setter
|
|
333
|
+
def project_owner_type(self, project_owner_type: 'V1OwnerType'):
|
|
334
|
+
"""Sets the project_owner_type of this V1LitePublishedCloudSpaceResponse.
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
:param project_owner_type: The project_owner_type of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
338
|
+
:type: V1OwnerType
|
|
339
|
+
"""
|
|
340
|
+
|
|
341
|
+
self._project_owner_type = project_owner_type
|
|
342
|
+
|
|
343
|
+
@property
|
|
344
|
+
def studio_creator_avatar_url(self) -> 'str':
|
|
345
|
+
"""Gets the studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
:return: The studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
349
|
+
:rtype: str
|
|
350
|
+
"""
|
|
351
|
+
return self._studio_creator_avatar_url
|
|
352
|
+
|
|
353
|
+
@studio_creator_avatar_url.setter
|
|
354
|
+
def studio_creator_avatar_url(self, studio_creator_avatar_url: 'str'):
|
|
355
|
+
"""Sets the studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse.
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
:param studio_creator_avatar_url: The studio_creator_avatar_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
359
|
+
:type: str
|
|
360
|
+
"""
|
|
361
|
+
|
|
362
|
+
self._studio_creator_avatar_url = studio_creator_avatar_url
|
|
363
|
+
|
|
364
|
+
@property
|
|
365
|
+
def studio_creator_first_name(self) -> 'str':
|
|
366
|
+
"""Gets the studio_creator_first_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
:return: The studio_creator_first_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
370
|
+
:rtype: str
|
|
371
|
+
"""
|
|
372
|
+
return self._studio_creator_first_name
|
|
373
|
+
|
|
374
|
+
@studio_creator_first_name.setter
|
|
375
|
+
def studio_creator_first_name(self, studio_creator_first_name: 'str'):
|
|
376
|
+
"""Sets the studio_creator_first_name of this V1LitePublishedCloudSpaceResponse.
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
:param studio_creator_first_name: The studio_creator_first_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
380
|
+
:type: str
|
|
381
|
+
"""
|
|
382
|
+
|
|
383
|
+
self._studio_creator_first_name = studio_creator_first_name
|
|
384
|
+
|
|
385
|
+
@property
|
|
386
|
+
def studio_creator_id(self) -> 'str':
|
|
387
|
+
"""Gets the studio_creator_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
:return: The studio_creator_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
391
|
+
:rtype: str
|
|
392
|
+
"""
|
|
393
|
+
return self._studio_creator_id
|
|
394
|
+
|
|
395
|
+
@studio_creator_id.setter
|
|
396
|
+
def studio_creator_id(self, studio_creator_id: 'str'):
|
|
397
|
+
"""Sets the studio_creator_id of this V1LitePublishedCloudSpaceResponse.
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
:param studio_creator_id: The studio_creator_id of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
401
|
+
:type: str
|
|
402
|
+
"""
|
|
403
|
+
|
|
404
|
+
self._studio_creator_id = studio_creator_id
|
|
405
|
+
|
|
406
|
+
@property
|
|
407
|
+
def studio_creator_last_name(self) -> 'str':
|
|
408
|
+
"""Gets the studio_creator_last_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
:return: The studio_creator_last_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
412
|
+
:rtype: str
|
|
413
|
+
"""
|
|
414
|
+
return self._studio_creator_last_name
|
|
415
|
+
|
|
416
|
+
@studio_creator_last_name.setter
|
|
417
|
+
def studio_creator_last_name(self, studio_creator_last_name: 'str'):
|
|
418
|
+
"""Sets the studio_creator_last_name of this V1LitePublishedCloudSpaceResponse.
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
:param studio_creator_last_name: The studio_creator_last_name of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
422
|
+
:type: str
|
|
423
|
+
"""
|
|
424
|
+
|
|
425
|
+
self._studio_creator_last_name = studio_creator_last_name
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
def studio_creator_username(self) -> 'str':
|
|
429
|
+
"""Gets the studio_creator_username of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
:return: The studio_creator_username of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
433
|
+
:rtype: str
|
|
434
|
+
"""
|
|
435
|
+
return self._studio_creator_username
|
|
436
|
+
|
|
437
|
+
@studio_creator_username.setter
|
|
438
|
+
def studio_creator_username(self, studio_creator_username: 'str'):
|
|
439
|
+
"""Sets the studio_creator_username of this V1LitePublishedCloudSpaceResponse.
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
:param studio_creator_username: The studio_creator_username of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
443
|
+
:type: str
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
self._studio_creator_username = studio_creator_username
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
def thumbnail_url(self) -> 'str':
|
|
450
|
+
"""Gets the thumbnail_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
:return: The thumbnail_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
454
|
+
:rtype: str
|
|
455
|
+
"""
|
|
456
|
+
return self._thumbnail_url
|
|
457
|
+
|
|
458
|
+
@thumbnail_url.setter
|
|
459
|
+
def thumbnail_url(self, thumbnail_url: 'str'):
|
|
460
|
+
"""Sets the thumbnail_url of this V1LitePublishedCloudSpaceResponse.
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
:param thumbnail_url: The thumbnail_url of this V1LitePublishedCloudSpaceResponse. # noqa: E501
|
|
464
|
+
:type: str
|
|
465
|
+
"""
|
|
466
|
+
|
|
467
|
+
self._thumbnail_url = thumbnail_url
|
|
468
|
+
|
|
469
|
+
def to_dict(self) -> dict:
|
|
470
|
+
"""Returns the model properties as a dict"""
|
|
471
|
+
result = {}
|
|
472
|
+
|
|
473
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
474
|
+
value = getattr(self, attr)
|
|
475
|
+
if isinstance(value, list):
|
|
476
|
+
result[attr] = list(map(
|
|
477
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
478
|
+
value
|
|
479
|
+
))
|
|
480
|
+
elif hasattr(value, "to_dict"):
|
|
481
|
+
result[attr] = value.to_dict()
|
|
482
|
+
elif isinstance(value, dict):
|
|
483
|
+
result[attr] = dict(map(
|
|
484
|
+
lambda item: (item[0], item[1].to_dict())
|
|
485
|
+
if hasattr(item[1], "to_dict") else item,
|
|
486
|
+
value.items()
|
|
487
|
+
))
|
|
488
|
+
else:
|
|
489
|
+
result[attr] = value
|
|
490
|
+
if issubclass(V1LitePublishedCloudSpaceResponse, dict):
|
|
491
|
+
for key, value in self.items():
|
|
492
|
+
result[key] = value
|
|
493
|
+
|
|
494
|
+
return result
|
|
495
|
+
|
|
496
|
+
def to_str(self) -> str:
|
|
497
|
+
"""Returns the string representation of the model"""
|
|
498
|
+
return pprint.pformat(self.to_dict())
|
|
499
|
+
|
|
500
|
+
def __repr__(self) -> str:
|
|
501
|
+
"""For `print` and `pprint`"""
|
|
502
|
+
return self.to_str()
|
|
503
|
+
|
|
504
|
+
def __eq__(self, other: 'V1LitePublishedCloudSpaceResponse') -> bool:
|
|
505
|
+
"""Returns true if both objects are equal"""
|
|
506
|
+
if not isinstance(other, V1LitePublishedCloudSpaceResponse):
|
|
507
|
+
return False
|
|
508
|
+
|
|
509
|
+
return self.__dict__ == other.__dict__
|
|
510
|
+
|
|
511
|
+
def __ne__(self, other: 'V1LitePublishedCloudSpaceResponse') -> bool:
|
|
512
|
+
"""Returns true if both objects are not equal"""
|
|
513
|
+
return not self == other
|
|
@@ -46,6 +46,7 @@ class V1MetricsStream(object):
|
|
|
46
46
|
'cluster_id': 'str',
|
|
47
47
|
'created_at': 'datetime',
|
|
48
48
|
'dark_color': 'str',
|
|
49
|
+
'experiment_project_name': 'str',
|
|
49
50
|
'id': 'str',
|
|
50
51
|
'job_id': 'str',
|
|
51
52
|
'job_name': 'str',
|
|
@@ -77,6 +78,7 @@ class V1MetricsStream(object):
|
|
|
77
78
|
'cluster_id': 'clusterId',
|
|
78
79
|
'created_at': 'createdAt',
|
|
79
80
|
'dark_color': 'darkColor',
|
|
81
|
+
'experiment_project_name': 'experimentProjectName',
|
|
80
82
|
'id': 'id',
|
|
81
83
|
'job_id': 'jobId',
|
|
82
84
|
'job_name': 'jobName',
|
|
@@ -102,13 +104,14 @@ class V1MetricsStream(object):
|
|
|
102
104
|
'work_id': 'workId'
|
|
103
105
|
}
|
|
104
106
|
|
|
105
|
-
def __init__(self, app_id: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, dark_color: 'str' =None, id: 'str' =None, job_id: 'str' =None, job_name: 'str' =None, light_color: 'str' =None, name: 'str' =None, persisted: 'bool' =None, phase: 'V1PhaseType' =None, plugin_id: 'str' =None, project_id: 'str' =None, source_id: 'str' =None, stopped_at: 'datetime' =None, store_created_at: 'bool' =None, store_step: 'bool' =None, system_info: 'V1SystemInfo' =None, tags: 'list[V1MetricsTags]' =None, trackers: 'dict(str, V1MetricsTracker)' =None, updated_at: 'datetime' =None, updates_counter: 'int' =None, user_id: 'str' =None, version: 'datetime' =None, version_number: 'int' =None, visibility: 'V1ResourceVisibility' =None, work_id: 'str' =None): # noqa: E501
|
|
107
|
+
def __init__(self, app_id: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, dark_color: 'str' =None, experiment_project_name: 'str' =None, id: 'str' =None, job_id: 'str' =None, job_name: 'str' =None, light_color: 'str' =None, name: 'str' =None, persisted: 'bool' =None, phase: 'V1PhaseType' =None, plugin_id: 'str' =None, project_id: 'str' =None, source_id: 'str' =None, stopped_at: 'datetime' =None, store_created_at: 'bool' =None, store_step: 'bool' =None, system_info: 'V1SystemInfo' =None, tags: 'list[V1MetricsTags]' =None, trackers: 'dict(str, V1MetricsTracker)' =None, updated_at: 'datetime' =None, updates_counter: 'int' =None, user_id: 'str' =None, version: 'datetime' =None, version_number: 'int' =None, visibility: 'V1ResourceVisibility' =None, work_id: 'str' =None): # noqa: E501
|
|
106
108
|
"""V1MetricsStream - a model defined in Swagger""" # noqa: E501
|
|
107
109
|
self._app_id = None
|
|
108
110
|
self._cloudspace_id = None
|
|
109
111
|
self._cluster_id = None
|
|
110
112
|
self._created_at = None
|
|
111
113
|
self._dark_color = None
|
|
114
|
+
self._experiment_project_name = None
|
|
112
115
|
self._id = None
|
|
113
116
|
self._job_id = None
|
|
114
117
|
self._job_name = None
|
|
@@ -143,6 +146,8 @@ class V1MetricsStream(object):
|
|
|
143
146
|
self.created_at = created_at
|
|
144
147
|
if dark_color is not None:
|
|
145
148
|
self.dark_color = dark_color
|
|
149
|
+
if experiment_project_name is not None:
|
|
150
|
+
self.experiment_project_name = experiment_project_name
|
|
146
151
|
if id is not None:
|
|
147
152
|
self.id = id
|
|
148
153
|
if job_id is not None:
|
|
@@ -295,6 +300,27 @@ class V1MetricsStream(object):
|
|
|
295
300
|
|
|
296
301
|
self._dark_color = dark_color
|
|
297
302
|
|
|
303
|
+
@property
|
|
304
|
+
def experiment_project_name(self) -> 'str':
|
|
305
|
+
"""Gets the experiment_project_name of this V1MetricsStream. # noqa: E501
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
:return: The experiment_project_name of this V1MetricsStream. # noqa: E501
|
|
309
|
+
:rtype: str
|
|
310
|
+
"""
|
|
311
|
+
return self._experiment_project_name
|
|
312
|
+
|
|
313
|
+
@experiment_project_name.setter
|
|
314
|
+
def experiment_project_name(self, experiment_project_name: 'str'):
|
|
315
|
+
"""Sets the experiment_project_name of this V1MetricsStream.
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
:param experiment_project_name: The experiment_project_name of this V1MetricsStream. # noqa: E501
|
|
319
|
+
:type: str
|
|
320
|
+
"""
|
|
321
|
+
|
|
322
|
+
self._experiment_project_name = experiment_project_name
|
|
323
|
+
|
|
298
324
|
@property
|
|
299
325
|
def id(self) -> 'str':
|
|
300
326
|
"""Gets the id of this V1MetricsStream. # noqa: E501
|
|
@@ -43,6 +43,7 @@ class V1Pipeline(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'cluster_id': 'str',
|
|
45
45
|
'created_at': 'datetime',
|
|
46
|
+
'created_from_ui': 'bool',
|
|
46
47
|
'display_name': 'str',
|
|
47
48
|
'error': 'str',
|
|
48
49
|
'id': 'str',
|
|
@@ -64,6 +65,7 @@ class V1Pipeline(object):
|
|
|
64
65
|
attribute_map = {
|
|
65
66
|
'cluster_id': 'clusterId',
|
|
66
67
|
'created_at': 'createdAt',
|
|
68
|
+
'created_from_ui': 'createdFromUi',
|
|
67
69
|
'display_name': 'displayName',
|
|
68
70
|
'error': 'error',
|
|
69
71
|
'id': 'id',
|
|
@@ -82,10 +84,11 @@ class V1Pipeline(object):
|
|
|
82
84
|
'user_id': 'userId'
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, id: 'str' =None, is_published: 'bool' =None, message: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, project_id: 'str' =None, schedule_id: 'str' =None, shared_filesystem: 'V1SharedFilesystem' =None, state: 'V1PipelineState' =None, statuses: 'list[V1PipelineStepStatus]' =None, steps: 'list[V1PipelineStep]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
87
|
+
def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, created_from_ui: 'bool' =None, display_name: 'str' =None, error: 'str' =None, id: 'str' =None, is_published: 'bool' =None, message: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, project_id: 'str' =None, schedule_id: 'str' =None, shared_filesystem: 'V1SharedFilesystem' =None, state: 'V1PipelineState' =None, statuses: 'list[V1PipelineStepStatus]' =None, steps: 'list[V1PipelineStep]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
86
88
|
"""V1Pipeline - a model defined in Swagger""" # noqa: E501
|
|
87
89
|
self._cluster_id = None
|
|
88
90
|
self._created_at = None
|
|
91
|
+
self._created_from_ui = None
|
|
89
92
|
self._display_name = None
|
|
90
93
|
self._error = None
|
|
91
94
|
self._id = None
|
|
@@ -107,6 +110,8 @@ class V1Pipeline(object):
|
|
|
107
110
|
self.cluster_id = cluster_id
|
|
108
111
|
if created_at is not None:
|
|
109
112
|
self.created_at = created_at
|
|
113
|
+
if created_from_ui is not None:
|
|
114
|
+
self.created_from_ui = created_from_ui
|
|
110
115
|
if display_name is not None:
|
|
111
116
|
self.display_name = display_name
|
|
112
117
|
if error is not None:
|
|
@@ -182,6 +187,27 @@ class V1Pipeline(object):
|
|
|
182
187
|
|
|
183
188
|
self._created_at = created_at
|
|
184
189
|
|
|
190
|
+
@property
|
|
191
|
+
def created_from_ui(self) -> 'bool':
|
|
192
|
+
"""Gets the created_from_ui of this V1Pipeline. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The created_from_ui of this V1Pipeline. # noqa: E501
|
|
196
|
+
:rtype: bool
|
|
197
|
+
"""
|
|
198
|
+
return self._created_from_ui
|
|
199
|
+
|
|
200
|
+
@created_from_ui.setter
|
|
201
|
+
def created_from_ui(self, created_from_ui: 'bool'):
|
|
202
|
+
"""Sets the created_from_ui of this V1Pipeline.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param created_from_ui: The created_from_ui of this V1Pipeline. # noqa: E501
|
|
206
|
+
:type: bool
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._created_from_ui = created_from_ui
|
|
210
|
+
|
|
185
211
|
@property
|
|
186
212
|
def display_name(self) -> 'str':
|
|
187
213
|
"""Gets the display_name of this V1Pipeline. # noqa: E501
|