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.
Files changed (70) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/license_api.py +2 -2
  3. lightning_sdk/api/llm_api.py +69 -27
  4. lightning_sdk/api/pipeline_api.py +49 -9
  5. lightning_sdk/api/studio_api.py +2 -0
  6. lightning_sdk/cli/configure.py +34 -27
  7. lightning_sdk/cli/connect.py +2 -2
  8. lightning_sdk/cli/download.py +38 -2
  9. lightning_sdk/cli/entrypoint.py +15 -13
  10. lightning_sdk/cli/start.py +5 -2
  11. lightning_sdk/lightning_cloud/openapi/__init__.py +9 -0
  12. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +206 -0
  13. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +98 -5
  14. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +113 -0
  15. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +118 -1
  16. lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +5 -1
  17. lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -0
  18. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +29 -3
  19. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +123 -0
  20. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  30. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +53 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
  32. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +79 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +27 -1
  35. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +827 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +27 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +105 -1
  40. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +53 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +29 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
  44. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
  45. lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
  46. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +27 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +27 -1
  49. lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +131 -1
  50. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
  51. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +79 -1
  52. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -183
  53. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +78 -104
  54. lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +104 -0
  55. lightning_sdk/llm/llm.py +6 -1
  56. lightning_sdk/pipeline/__init__.py +12 -2
  57. lightning_sdk/pipeline/pipeline.py +59 -17
  58. lightning_sdk/pipeline/printer.py +121 -0
  59. lightning_sdk/pipeline/schedule.py +8 -0
  60. lightning_sdk/pipeline/{types.py → steps.py} +77 -59
  61. lightning_sdk/pipeline/utils.py +39 -17
  62. lightning_sdk/sandbox.py +157 -0
  63. lightning_sdk/services/license.py +12 -6
  64. lightning_sdk/studio.py +7 -1
  65. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/METADATA +1 -1
  66. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/RECORD +70 -58
  67. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/LICENSE +0 -0
  68. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/WHEEL +0 -0
  69. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/entry_points.txt +0 -0
  70. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/top_level.txt +0 -0
@@ -42,6 +42,7 @@ class V1GetProjectStorageMetadataResponse(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'account_limit_bytes': 'str',
45
+ 'billable_bytes': 'str',
45
46
  'cloudspace_storage_bytes': 'str',
46
47
  'cloudspaces': 'list[V1StorageAsset]',
47
48
  'container_registry_repositories': 'list[V1StorageAsset]',
@@ -65,6 +66,7 @@ class V1GetProjectStorageMetadataResponse(object):
65
66
 
66
67
  attribute_map = {
67
68
  'account_limit_bytes': 'accountLimitBytes',
69
+ 'billable_bytes': 'billableBytes',
68
70
  'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
69
71
  'cloudspaces': 'cloudspaces',
70
72
  'container_registry_repositories': 'containerRegistryRepositories',
@@ -86,9 +88,10 @@ class V1GetProjectStorageMetadataResponse(object):
86
88
  'uploads': 'uploads'
87
89
  }
88
90
 
89
- def __init__(self, account_limit_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, cloudspaces: 'list[V1StorageAsset]' =None, container_registry_repositories: 'list[V1StorageAsset]' =None, container_registry_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, data_connections: 'list[V1StorageAsset]' =None, display_name: 'str' =None, estimated_daily_cost: 'float' =None, estimated_daily_efs_cost: 'float' =None, folder_storage_bytes: 'str' =None, folders: 'list[V1StorageAsset]' =None, id: 'str' =None, job_storage_bytes: 'str' =None, jobs: 'list[V1StorageAsset]' =None, model_storage_bytes: 'str' =None, models: 'list[V1StorageAsset]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None, uploads: 'V1StorageAsset' =None): # noqa: E501
91
+ def __init__(self, account_limit_bytes: 'str' =None, billable_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, cloudspaces: 'list[V1StorageAsset]' =None, container_registry_repositories: 'list[V1StorageAsset]' =None, container_registry_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, data_connections: 'list[V1StorageAsset]' =None, display_name: 'str' =None, estimated_daily_cost: 'float' =None, estimated_daily_efs_cost: 'float' =None, folder_storage_bytes: 'str' =None, folders: 'list[V1StorageAsset]' =None, id: 'str' =None, job_storage_bytes: 'str' =None, jobs: 'list[V1StorageAsset]' =None, model_storage_bytes: 'str' =None, models: 'list[V1StorageAsset]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None, uploads: 'V1StorageAsset' =None): # noqa: E501
90
92
  """V1GetProjectStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
91
93
  self._account_limit_bytes = None
94
+ self._billable_bytes = None
92
95
  self._cloudspace_storage_bytes = None
93
96
  self._cloudspaces = None
94
97
  self._container_registry_repositories = None
@@ -111,6 +114,8 @@ class V1GetProjectStorageMetadataResponse(object):
111
114
  self.discriminator = None
112
115
  if account_limit_bytes is not None:
113
116
  self.account_limit_bytes = account_limit_bytes
117
+ if billable_bytes is not None:
118
+ self.billable_bytes = billable_bytes
114
119
  if cloudspace_storage_bytes is not None:
115
120
  self.cloudspace_storage_bytes = cloudspace_storage_bytes
116
121
  if cloudspaces is not None:
@@ -171,6 +176,27 @@ class V1GetProjectStorageMetadataResponse(object):
171
176
 
172
177
  self._account_limit_bytes = account_limit_bytes
173
178
 
179
+ @property
180
+ def billable_bytes(self) -> 'str':
181
+ """Gets the billable_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
182
+
183
+
184
+ :return: The billable_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
185
+ :rtype: str
186
+ """
187
+ return self._billable_bytes
188
+
189
+ @billable_bytes.setter
190
+ def billable_bytes(self, billable_bytes: 'str'):
191
+ """Sets the billable_bytes of this V1GetProjectStorageMetadataResponse.
192
+
193
+
194
+ :param billable_bytes: The billable_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
195
+ :type: str
196
+ """
197
+
198
+ self._billable_bytes = billable_bytes
199
+
174
200
  @property
175
201
  def cloudspace_storage_bytes(self) -> 'str':
176
202
  """Gets the cloudspace_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -42,7 +42,10 @@ class V1GetUserResponse(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'agree_to_terms_and_conditions': 'bool',
45
+ 'allow_credits_auto_replenish': 'bool',
45
46
  'api_key': 'str',
47
+ 'auto_replenish_amount': 'float',
48
+ 'auto_replenish_threshold': 'float',
46
49
  'country': 'str',
47
50
  'discounted_pro_plan': 'bool',
48
51
  'email': 'str',
@@ -72,6 +75,7 @@ class V1GetUserResponse(object):
72
75
  'sb': 'bool',
73
76
  'status': 'Externalv1UserStatus',
74
77
  'storage_bytes': 'str',
78
+ 'storage_overuse_deletion_at': 'datetime',
75
79
  'user_metadata': 'str',
76
80
  'username': 'str',
77
81
  'waitlisted': 'bool',
@@ -80,7 +84,10 @@ class V1GetUserResponse(object):
80
84
 
81
85
  attribute_map = {
82
86
  'agree_to_terms_and_conditions': 'agreeToTermsAndConditions',
87
+ 'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
83
88
  'api_key': 'apiKey',
89
+ 'auto_replenish_amount': 'autoReplenishAmount',
90
+ 'auto_replenish_threshold': 'autoReplenishThreshold',
84
91
  'country': 'country',
85
92
  'discounted_pro_plan': 'discountedProPlan',
86
93
  'email': 'email',
@@ -110,16 +117,20 @@ class V1GetUserResponse(object):
110
117
  'sb': 'sb',
111
118
  'status': 'status',
112
119
  'storage_bytes': 'storageBytes',
120
+ 'storage_overuse_deletion_at': 'storageOveruseDeletionAt',
113
121
  'user_metadata': 'userMetadata',
114
122
  'username': 'username',
115
123
  'waitlisted': 'waitlisted',
116
124
  'website': 'website'
117
125
  }
118
126
 
119
- def __init__(self, agree_to_terms_and_conditions: 'bool' =None, api_key: 'str' =None, country: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, id: 'str' =None, internal_docs_admin: 'bool' =None, invite_code: 'str' =None, is_internal: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: 'str' =None, organizations: 'list[V1Organization]' =None, phone_number: 'str' =None, picture_url: 'str' =None, preferred_color_scheme: 'str' =None, preferred_ide: 'str' =None, preferred_shell: 'str' =None, preferred_vscode_marketplace: 'str' =None, role: 'str' =None, saw_create_first_project_dialog: 'bool' =None, saw_forums_login_merge_dialog: 'bool' =None, saw_free_credits_notification: 'bool' =None, sb: 'bool' =None, status: 'Externalv1UserStatus' =None, storage_bytes: 'str' =None, user_metadata: 'str' =None, username: 'str' =None, waitlisted: 'bool' =None, website: 'str' =None): # noqa: E501
127
+ def __init__(self, agree_to_terms_and_conditions: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, api_key: 'str' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, country: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, id: 'str' =None, internal_docs_admin: 'bool' =None, invite_code: 'str' =None, is_internal: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: 'str' =None, organizations: 'list[V1Organization]' =None, phone_number: 'str' =None, picture_url: 'str' =None, preferred_color_scheme: 'str' =None, preferred_ide: 'str' =None, preferred_shell: 'str' =None, preferred_vscode_marketplace: 'str' =None, role: 'str' =None, saw_create_first_project_dialog: 'bool' =None, saw_forums_login_merge_dialog: 'bool' =None, saw_free_credits_notification: 'bool' =None, sb: 'bool' =None, status: 'Externalv1UserStatus' =None, storage_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, user_metadata: 'str' =None, username: 'str' =None, waitlisted: 'bool' =None, website: 'str' =None): # noqa: E501
120
128
  """V1GetUserResponse - a model defined in Swagger""" # noqa: E501
121
129
  self._agree_to_terms_and_conditions = None
130
+ self._allow_credits_auto_replenish = None
122
131
  self._api_key = None
132
+ self._auto_replenish_amount = None
133
+ self._auto_replenish_threshold = None
123
134
  self._country = None
124
135
  self._discounted_pro_plan = None
125
136
  self._email = None
@@ -149,6 +160,7 @@ class V1GetUserResponse(object):
149
160
  self._sb = None
150
161
  self._status = None
151
162
  self._storage_bytes = None
163
+ self._storage_overuse_deletion_at = None
152
164
  self._user_metadata = None
153
165
  self._username = None
154
166
  self._waitlisted = None
@@ -156,8 +168,14 @@ class V1GetUserResponse(object):
156
168
  self.discriminator = None
157
169
  if agree_to_terms_and_conditions is not None:
158
170
  self.agree_to_terms_and_conditions = agree_to_terms_and_conditions
171
+ if allow_credits_auto_replenish is not None:
172
+ self.allow_credits_auto_replenish = allow_credits_auto_replenish
159
173
  if api_key is not None:
160
174
  self.api_key = api_key
175
+ if auto_replenish_amount is not None:
176
+ self.auto_replenish_amount = auto_replenish_amount
177
+ if auto_replenish_threshold is not None:
178
+ self.auto_replenish_threshold = auto_replenish_threshold
161
179
  if country is not None:
162
180
  self.country = country
163
181
  if discounted_pro_plan is not None:
@@ -216,6 +234,8 @@ class V1GetUserResponse(object):
216
234
  self.status = status
217
235
  if storage_bytes is not None:
218
236
  self.storage_bytes = storage_bytes
237
+ if storage_overuse_deletion_at is not None:
238
+ self.storage_overuse_deletion_at = storage_overuse_deletion_at
219
239
  if user_metadata is not None:
220
240
  self.user_metadata = user_metadata
221
241
  if username is not None:
@@ -246,6 +266,27 @@ class V1GetUserResponse(object):
246
266
 
247
267
  self._agree_to_terms_and_conditions = agree_to_terms_and_conditions
248
268
 
269
+ @property
270
+ def allow_credits_auto_replenish(self) -> 'bool':
271
+ """Gets the allow_credits_auto_replenish of this V1GetUserResponse. # noqa: E501
272
+
273
+
274
+ :return: The allow_credits_auto_replenish of this V1GetUserResponse. # noqa: E501
275
+ :rtype: bool
276
+ """
277
+ return self._allow_credits_auto_replenish
278
+
279
+ @allow_credits_auto_replenish.setter
280
+ def allow_credits_auto_replenish(self, allow_credits_auto_replenish: 'bool'):
281
+ """Sets the allow_credits_auto_replenish of this V1GetUserResponse.
282
+
283
+
284
+ :param allow_credits_auto_replenish: The allow_credits_auto_replenish of this V1GetUserResponse. # noqa: E501
285
+ :type: bool
286
+ """
287
+
288
+ self._allow_credits_auto_replenish = allow_credits_auto_replenish
289
+
249
290
  @property
250
291
  def api_key(self) -> 'str':
251
292
  """Gets the api_key of this V1GetUserResponse. # noqa: E501
@@ -267,6 +308,48 @@ class V1GetUserResponse(object):
267
308
 
268
309
  self._api_key = api_key
269
310
 
311
+ @property
312
+ def auto_replenish_amount(self) -> 'float':
313
+ """Gets the auto_replenish_amount of this V1GetUserResponse. # noqa: E501
314
+
315
+
316
+ :return: The auto_replenish_amount of this V1GetUserResponse. # noqa: E501
317
+ :rtype: float
318
+ """
319
+ return self._auto_replenish_amount
320
+
321
+ @auto_replenish_amount.setter
322
+ def auto_replenish_amount(self, auto_replenish_amount: 'float'):
323
+ """Sets the auto_replenish_amount of this V1GetUserResponse.
324
+
325
+
326
+ :param auto_replenish_amount: The auto_replenish_amount of this V1GetUserResponse. # noqa: E501
327
+ :type: float
328
+ """
329
+
330
+ self._auto_replenish_amount = auto_replenish_amount
331
+
332
+ @property
333
+ def auto_replenish_threshold(self) -> 'float':
334
+ """Gets the auto_replenish_threshold of this V1GetUserResponse. # noqa: E501
335
+
336
+
337
+ :return: The auto_replenish_threshold of this V1GetUserResponse. # noqa: E501
338
+ :rtype: float
339
+ """
340
+ return self._auto_replenish_threshold
341
+
342
+ @auto_replenish_threshold.setter
343
+ def auto_replenish_threshold(self, auto_replenish_threshold: 'float'):
344
+ """Sets the auto_replenish_threshold of this V1GetUserResponse.
345
+
346
+
347
+ :param auto_replenish_threshold: The auto_replenish_threshold of this V1GetUserResponse. # noqa: E501
348
+ :type: float
349
+ """
350
+
351
+ self._auto_replenish_threshold = auto_replenish_threshold
352
+
270
353
  @property
271
354
  def country(self) -> 'str':
272
355
  """Gets the country of this V1GetUserResponse. # noqa: E501
@@ -876,6 +959,27 @@ class V1GetUserResponse(object):
876
959
 
877
960
  self._storage_bytes = storage_bytes
878
961
 
962
+ @property
963
+ def storage_overuse_deletion_at(self) -> 'datetime':
964
+ """Gets the storage_overuse_deletion_at of this V1GetUserResponse. # noqa: E501
965
+
966
+
967
+ :return: The storage_overuse_deletion_at of this V1GetUserResponse. # noqa: E501
968
+ :rtype: datetime
969
+ """
970
+ return self._storage_overuse_deletion_at
971
+
972
+ @storage_overuse_deletion_at.setter
973
+ def storage_overuse_deletion_at(self, storage_overuse_deletion_at: 'datetime'):
974
+ """Sets the storage_overuse_deletion_at of this V1GetUserResponse.
975
+
976
+
977
+ :param storage_overuse_deletion_at: The storage_overuse_deletion_at of this V1GetUserResponse. # noqa: E501
978
+ :type: datetime
979
+ """
980
+
981
+ self._storage_overuse_deletion_at = storage_overuse_deletion_at
982
+
879
983
  @property
880
984
  def user_metadata(self) -> 'str':
881
985
  """Gets the user_metadata of this V1GetUserResponse. # noqa: E501
@@ -47,6 +47,8 @@ class V1GetUserStorageBreakdownResponse(object):
47
47
  'job_storage_bytes': 'str',
48
48
  'limit_bytes': 'str',
49
49
  'projects': 'list[V1ProjectStorage]',
50
+ 'total_billable_bytes': 'str',
51
+ 'total_free_bytes': 'str',
50
52
  'total_model_storage_bytes': 'str',
51
53
  'total_storage_bytes': 'str',
52
54
  'upload_storage_bytes': 'str'
@@ -59,12 +61,14 @@ class V1GetUserStorageBreakdownResponse(object):
59
61
  'job_storage_bytes': 'jobStorageBytes',
60
62
  'limit_bytes': 'limitBytes',
61
63
  'projects': 'projects',
64
+ 'total_billable_bytes': 'totalBillableBytes',
65
+ 'total_free_bytes': 'totalFreeBytes',
62
66
  'total_model_storage_bytes': 'totalModelStorageBytes',
63
67
  'total_storage_bytes': 'totalStorageBytes',
64
68
  'upload_storage_bytes': 'uploadStorageBytes'
65
69
  }
66
70
 
67
- def __init__(self, cloudspace_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, folder_storage_bytes: 'str' =None, job_storage_bytes: 'str' =None, limit_bytes: 'str' =None, projects: 'list[V1ProjectStorage]' =None, total_model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
71
+ def __init__(self, cloudspace_storage_bytes: 'str' =None, data_connection_storage_bytes: 'str' =None, folder_storage_bytes: 'str' =None, job_storage_bytes: 'str' =None, limit_bytes: 'str' =None, projects: 'list[V1ProjectStorage]' =None, total_billable_bytes: 'str' =None, total_free_bytes: 'str' =None, total_model_storage_bytes: 'str' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
68
72
  """V1GetUserStorageBreakdownResponse - a model defined in Swagger""" # noqa: E501
69
73
  self._cloudspace_storage_bytes = None
70
74
  self._data_connection_storage_bytes = None
@@ -72,6 +76,8 @@ class V1GetUserStorageBreakdownResponse(object):
72
76
  self._job_storage_bytes = None
73
77
  self._limit_bytes = None
74
78
  self._projects = None
79
+ self._total_billable_bytes = None
80
+ self._total_free_bytes = None
75
81
  self._total_model_storage_bytes = None
76
82
  self._total_storage_bytes = None
77
83
  self._upload_storage_bytes = None
@@ -88,6 +94,10 @@ class V1GetUserStorageBreakdownResponse(object):
88
94
  self.limit_bytes = limit_bytes
89
95
  if projects is not None:
90
96
  self.projects = projects
97
+ if total_billable_bytes is not None:
98
+ self.total_billable_bytes = total_billable_bytes
99
+ if total_free_bytes is not None:
100
+ self.total_free_bytes = total_free_bytes
91
101
  if total_model_storage_bytes is not None:
92
102
  self.total_model_storage_bytes = total_model_storage_bytes
93
103
  if total_storage_bytes is not None:
@@ -221,6 +231,48 @@ class V1GetUserStorageBreakdownResponse(object):
221
231
 
222
232
  self._projects = projects
223
233
 
234
+ @property
235
+ def total_billable_bytes(self) -> 'str':
236
+ """Gets the total_billable_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
237
+
238
+
239
+ :return: The total_billable_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
240
+ :rtype: str
241
+ """
242
+ return self._total_billable_bytes
243
+
244
+ @total_billable_bytes.setter
245
+ def total_billable_bytes(self, total_billable_bytes: 'str'):
246
+ """Sets the total_billable_bytes of this V1GetUserStorageBreakdownResponse.
247
+
248
+
249
+ :param total_billable_bytes: The total_billable_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
250
+ :type: str
251
+ """
252
+
253
+ self._total_billable_bytes = total_billable_bytes
254
+
255
+ @property
256
+ def total_free_bytes(self) -> 'str':
257
+ """Gets the total_free_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
258
+
259
+
260
+ :return: The total_free_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
261
+ :rtype: str
262
+ """
263
+ return self._total_free_bytes
264
+
265
+ @total_free_bytes.setter
266
+ def total_free_bytes(self, total_free_bytes: 'str'):
267
+ """Sets the total_free_bytes of this V1GetUserStorageBreakdownResponse.
268
+
269
+
270
+ :param total_free_bytes: The total_free_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
271
+ :type: str
272
+ """
273
+
274
+ self._total_free_bytes = total_free_bytes
275
+
224
276
  @property
225
277
  def total_model_storage_bytes(self) -> 'str':
226
278
  """Gets the total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
@@ -43,6 +43,7 @@ class V1InstanceOverprovisioningSpec(object):
43
43
  swagger_types = {
44
44
  'instance_type': 'str',
45
45
  'is_spot': 'bool',
46
+ 'machine_image_version': 'str',
46
47
  'maximum_count': 'int',
47
48
  'minimum_count': 'int',
48
49
  'region': 'str',
@@ -53,6 +54,7 @@ class V1InstanceOverprovisioningSpec(object):
53
54
  attribute_map = {
54
55
  'instance_type': 'instanceType',
55
56
  'is_spot': 'isSpot',
57
+ 'machine_image_version': 'machineImageVersion',
56
58
  'maximum_count': 'maximumCount',
57
59
  'minimum_count': 'minimumCount',
58
60
  'region': 'region',
@@ -60,10 +62,11 @@ class V1InstanceOverprovisioningSpec(object):
60
62
  'volume_size': 'volumeSize'
61
63
  }
62
64
 
63
- def __init__(self, instance_type: 'str' =None, is_spot: 'bool' =None, maximum_count: 'int' =None, minimum_count: 'int' =None, region: 'str' =None, resource_type: 'str' =None, volume_size: 'int' =None): # noqa: E501
65
+ def __init__(self, instance_type: 'str' =None, is_spot: 'bool' =None, machine_image_version: 'str' =None, maximum_count: 'int' =None, minimum_count: 'int' =None, region: 'str' =None, resource_type: 'str' =None, volume_size: 'int' =None): # noqa: E501
64
66
  """V1InstanceOverprovisioningSpec - a model defined in Swagger""" # noqa: E501
65
67
  self._instance_type = None
66
68
  self._is_spot = None
69
+ self._machine_image_version = None
67
70
  self._maximum_count = None
68
71
  self._minimum_count = None
69
72
  self._region = None
@@ -74,6 +77,8 @@ class V1InstanceOverprovisioningSpec(object):
74
77
  self.instance_type = instance_type
75
78
  if is_spot is not None:
76
79
  self.is_spot = is_spot
80
+ if machine_image_version is not None:
81
+ self.machine_image_version = machine_image_version
77
82
  if maximum_count is not None:
78
83
  self.maximum_count = maximum_count
79
84
  if minimum_count is not None:
@@ -127,6 +132,29 @@ class V1InstanceOverprovisioningSpec(object):
127
132
 
128
133
  self._is_spot = is_spot
129
134
 
135
+ @property
136
+ def machine_image_version(self) -> 'str':
137
+ """Gets the machine_image_version of this V1InstanceOverprovisioningSpec. # noqa: E501
138
+
139
+ Version of the images, Ubuntu 20.04, etc. # noqa: E501
140
+
141
+ :return: The machine_image_version of this V1InstanceOverprovisioningSpec. # noqa: E501
142
+ :rtype: str
143
+ """
144
+ return self._machine_image_version
145
+
146
+ @machine_image_version.setter
147
+ def machine_image_version(self, machine_image_version: 'str'):
148
+ """Sets the machine_image_version of this V1InstanceOverprovisioningSpec.
149
+
150
+ Version of the images, Ubuntu 20.04, etc. # noqa: E501
151
+
152
+ :param machine_image_version: The machine_image_version of this V1InstanceOverprovisioningSpec. # noqa: E501
153
+ :type: str
154
+ """
155
+
156
+ self._machine_image_version = machine_image_version
157
+
130
158
  @property
131
159
  def maximum_count(self) -> 'int':
132
160
  """Gets the maximum_count of this V1InstanceOverprovisioningSpec. # noqa: E501
@@ -56,12 +56,14 @@ class V1LightningRun(object):
56
56
  'is_headless': 'bool',
57
57
  'is_published': 'bool',
58
58
  'network_config': 'list[V1NetworkConfig]',
59
+ 'number_of_files': 'str',
59
60
  'parent_id': 'str',
60
61
  'project_id': 'str',
61
62
  'published_at': 'datetime',
62
63
  'should_mount_cloudspace_content': 'bool',
63
64
  'source_code_url': 'str',
64
65
  'source_upload_url': 'str',
66
+ 'total_size_bytes': 'str',
65
67
  'unique_id': 'str',
66
68
  'user_id': 'str',
67
69
  'user_requested_flow_compute_config': 'V1UserRequestedFlowComputeConfig',
@@ -85,12 +87,14 @@ class V1LightningRun(object):
85
87
  'is_headless': 'isHeadless',
86
88
  'is_published': 'isPublished',
87
89
  'network_config': 'networkConfig',
90
+ 'number_of_files': 'numberOfFiles',
88
91
  'parent_id': 'parentId',
89
92
  'project_id': 'projectId',
90
93
  'published_at': 'publishedAt',
91
94
  'should_mount_cloudspace_content': 'shouldMountCloudspaceContent',
92
95
  'source_code_url': 'sourceCodeUrl',
93
96
  'source_upload_url': 'sourceUploadUrl',
97
+ 'total_size_bytes': 'totalSizeBytes',
94
98
  'unique_id': 'uniqueId',
95
99
  'user_id': 'userId',
96
100
  'user_requested_flow_compute_config': 'userRequestedFlowComputeConfig',
@@ -98,7 +102,7 @@ class V1LightningRun(object):
98
102
  'works': 'works'
99
103
  }
100
104
 
101
- def __init__(self, app_entrypoint_file: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, dependency_cache_key: 'str' =None, description: 'str' =None, enable_app_server: 'bool' =None, env: 'list[V1EnvVar]' =None, flow_servers: 'list[V1Flowserver]' =None, id: 'str' =None, image_id: 'str' =None, image_spec: 'V1ImageSpec' =None, is_headless: 'bool' =None, is_published: 'bool' =None, network_config: 'list[V1NetworkConfig]' =None, parent_id: 'str' =None, project_id: 'str' =None, published_at: 'datetime' =None, should_mount_cloudspace_content: 'bool' =None, source_code_url: 'str' =None, source_upload_url: 'str' =None, unique_id: 'str' =None, user_id: 'str' =None, user_requested_flow_compute_config: 'V1UserRequestedFlowComputeConfig' =None, version: 'str' =None, works: 'list[V1Work]' =None): # noqa: E501
105
+ def __init__(self, app_entrypoint_file: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, dependency_cache_key: 'str' =None, description: 'str' =None, enable_app_server: 'bool' =None, env: 'list[V1EnvVar]' =None, flow_servers: 'list[V1Flowserver]' =None, id: 'str' =None, image_id: 'str' =None, image_spec: 'V1ImageSpec' =None, is_headless: 'bool' =None, is_published: 'bool' =None, network_config: 'list[V1NetworkConfig]' =None, number_of_files: 'str' =None, parent_id: 'str' =None, project_id: 'str' =None, published_at: 'datetime' =None, should_mount_cloudspace_content: 'bool' =None, source_code_url: 'str' =None, source_upload_url: 'str' =None, total_size_bytes: 'str' =None, unique_id: 'str' =None, user_id: 'str' =None, user_requested_flow_compute_config: 'V1UserRequestedFlowComputeConfig' =None, version: 'str' =None, works: 'list[V1Work]' =None): # noqa: E501
102
106
  """V1LightningRun - a model defined in Swagger""" # noqa: E501
103
107
  self._app_entrypoint_file = None
104
108
  self._cloudspace_id = None
@@ -115,12 +119,14 @@ class V1LightningRun(object):
115
119
  self._is_headless = None
116
120
  self._is_published = None
117
121
  self._network_config = None
122
+ self._number_of_files = None
118
123
  self._parent_id = None
119
124
  self._project_id = None
120
125
  self._published_at = None
121
126
  self._should_mount_cloudspace_content = None
122
127
  self._source_code_url = None
123
128
  self._source_upload_url = None
129
+ self._total_size_bytes = None
124
130
  self._unique_id = None
125
131
  self._user_id = None
126
132
  self._user_requested_flow_compute_config = None
@@ -157,6 +163,8 @@ class V1LightningRun(object):
157
163
  self.is_published = is_published
158
164
  if network_config is not None:
159
165
  self.network_config = network_config
166
+ if number_of_files is not None:
167
+ self.number_of_files = number_of_files
160
168
  if parent_id is not None:
161
169
  self.parent_id = parent_id
162
170
  if project_id is not None:
@@ -169,6 +177,8 @@ class V1LightningRun(object):
169
177
  self.source_code_url = source_code_url
170
178
  if source_upload_url is not None:
171
179
  self.source_upload_url = source_upload_url
180
+ if total_size_bytes is not None:
181
+ self.total_size_bytes = total_size_bytes
172
182
  if unique_id is not None:
173
183
  self.unique_id = unique_id
174
184
  if user_id is not None:
@@ -495,6 +505,27 @@ class V1LightningRun(object):
495
505
 
496
506
  self._network_config = network_config
497
507
 
508
+ @property
509
+ def number_of_files(self) -> 'str':
510
+ """Gets the number_of_files of this V1LightningRun. # noqa: E501
511
+
512
+
513
+ :return: The number_of_files of this V1LightningRun. # noqa: E501
514
+ :rtype: str
515
+ """
516
+ return self._number_of_files
517
+
518
+ @number_of_files.setter
519
+ def number_of_files(self, number_of_files: 'str'):
520
+ """Sets the number_of_files of this V1LightningRun.
521
+
522
+
523
+ :param number_of_files: The number_of_files of this V1LightningRun. # noqa: E501
524
+ :type: str
525
+ """
526
+
527
+ self._number_of_files = number_of_files
528
+
498
529
  @property
499
530
  def parent_id(self) -> 'str':
500
531
  """Gets the parent_id of this V1LightningRun. # noqa: E501
@@ -623,6 +654,27 @@ class V1LightningRun(object):
623
654
 
624
655
  self._source_upload_url = source_upload_url
625
656
 
657
+ @property
658
+ def total_size_bytes(self) -> 'str':
659
+ """Gets the total_size_bytes of this V1LightningRun. # noqa: E501
660
+
661
+
662
+ :return: The total_size_bytes of this V1LightningRun. # noqa: E501
663
+ :rtype: str
664
+ """
665
+ return self._total_size_bytes
666
+
667
+ @total_size_bytes.setter
668
+ def total_size_bytes(self, total_size_bytes: 'str'):
669
+ """Sets the total_size_bytes of this V1LightningRun.
670
+
671
+
672
+ :param total_size_bytes: The total_size_bytes of this V1LightningRun. # noqa: E501
673
+ :type: str
674
+ """
675
+
676
+ self._total_size_bytes = total_size_bytes
677
+
626
678
  @property
627
679
  def unique_id(self) -> 'str':
628
680
  """Gets the unique_id of this V1LightningRun. # noqa: E501
@@ -41,7 +41,7 @@ class V1ListClustersResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'clusters': 'list[Externalv1Cluster]',
44
+ 'clusters': 'list[V1ExternalCluster]',
45
45
  'default_cluster': 'str'
46
46
  }
47
47
 
@@ -50,7 +50,7 @@ class V1ListClustersResponse(object):
50
50
  'default_cluster': 'defaultCluster'
51
51
  }
52
52
 
53
- def __init__(self, clusters: 'list[Externalv1Cluster]' =None, default_cluster: 'str' =None): # noqa: E501
53
+ def __init__(self, clusters: 'list[V1ExternalCluster]' =None, default_cluster: 'str' =None): # noqa: E501
54
54
  """V1ListClustersResponse - a model defined in Swagger""" # noqa: E501
55
55
  self._clusters = None
56
56
  self._default_cluster = None
@@ -61,22 +61,22 @@ class V1ListClustersResponse(object):
61
61
  self.default_cluster = default_cluster
62
62
 
63
63
  @property
64
- def clusters(self) -> 'list[Externalv1Cluster]':
64
+ def clusters(self) -> 'list[V1ExternalCluster]':
65
65
  """Gets the clusters of this V1ListClustersResponse. # noqa: E501
66
66
 
67
67
 
68
68
  :return: The clusters of this V1ListClustersResponse. # noqa: E501
69
- :rtype: list[Externalv1Cluster]
69
+ :rtype: list[V1ExternalCluster]
70
70
  """
71
71
  return self._clusters
72
72
 
73
73
  @clusters.setter
74
- def clusters(self, clusters: 'list[Externalv1Cluster]'):
74
+ def clusters(self, clusters: 'list[V1ExternalCluster]'):
75
75
  """Sets the clusters of this V1ListClustersResponse.
76
76
 
77
77
 
78
78
  :param clusters: The clusters of this V1ListClustersResponse. # noqa: E501
79
- :type: list[Externalv1Cluster]
79
+ :type: list[V1ExternalCluster]
80
80
  """
81
81
 
82
82
  self._clusters = clusters
@@ -41,14 +41,14 @@ class V1ListProjectClustersResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'clusters': 'list[Externalv1Cluster]'
44
+ 'clusters': 'list[V1ExternalCluster]'
45
45
  }
46
46
 
47
47
  attribute_map = {
48
48
  'clusters': 'clusters'
49
49
  }
50
50
 
51
- def __init__(self, clusters: 'list[Externalv1Cluster]' =None): # noqa: E501
51
+ def __init__(self, clusters: 'list[V1ExternalCluster]' =None): # noqa: E501
52
52
  """V1ListProjectClustersResponse - a model defined in Swagger""" # noqa: E501
53
53
  self._clusters = None
54
54
  self.discriminator = None
@@ -56,22 +56,22 @@ class V1ListProjectClustersResponse(object):
56
56
  self.clusters = clusters
57
57
 
58
58
  @property
59
- def clusters(self) -> 'list[Externalv1Cluster]':
59
+ def clusters(self) -> 'list[V1ExternalCluster]':
60
60
  """Gets the clusters of this V1ListProjectClustersResponse. # noqa: E501
61
61
 
62
62
 
63
63
  :return: The clusters of this V1ListProjectClustersResponse. # noqa: E501
64
- :rtype: list[Externalv1Cluster]
64
+ :rtype: list[V1ExternalCluster]
65
65
  """
66
66
  return self._clusters
67
67
 
68
68
  @clusters.setter
69
- def clusters(self, clusters: 'list[Externalv1Cluster]'):
69
+ def clusters(self, clusters: 'list[V1ExternalCluster]'):
70
70
  """Sets the clusters of this V1ListProjectClustersResponse.
71
71
 
72
72
 
73
73
  :param clusters: The clusters of this V1ListProjectClustersResponse. # noqa: E501
74
- :type: list[Externalv1Cluster]
74
+ :type: list[V1ExternalCluster]
75
75
  """
76
76
 
77
77
  self._clusters = clusters