lightning-sdk 0.2.19__py3-none-any.whl → 0.2.21rc0__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 (55) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/license_api.py +28 -6
  3. lightning_sdk/api/llm_api.py +53 -1
  4. lightning_sdk/api/studio_api.py +5 -0
  5. lightning_sdk/cli/deploy/_auth.py +11 -19
  6. lightning_sdk/cli/entrypoint.py +20 -2
  7. lightning_sdk/lightning_cloud/login.py +2 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +2 -3
  9. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +11 -1
  10. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
  11. lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +0 -85
  12. lightning_sdk/lightning_cloud/openapi/models/__init__.py +2 -3
  13. lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
  14. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -3
  15. lightning_sdk/lightning_cloud/openapi/models/update.py +105 -1
  16. lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
  17. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +53 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  19. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +53 -1
  20. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +105 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +79 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +1 -0
  26. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +105 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +53 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +105 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +131 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +27 -1
  35. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +27 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +27 -27
  39. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +79 -365
  40. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +499 -31
  41. lightning_sdk/lightning_cloud/rest_client.py +13 -11
  42. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
  43. lightning_sdk/llm/__init__.py +2 -1
  44. lightning_sdk/llm/asyncllm.py +48 -0
  45. lightning_sdk/services/license.py +78 -22
  46. lightning_sdk/services/utilities.py +15 -1
  47. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/METADATA +1 -1
  48. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/RECORD +52 -52
  49. lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
  50. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +0 -201
  51. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_billing_session.py +0 -279
  52. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/LICENSE +0 -0
  53. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/WHEEL +0 -0
  54. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/entry_points.txt +0 -0
  55. {lightning_sdk-0.2.19.dist-info → lightning_sdk-0.2.21rc0.dist-info}/top_level.txt +0 -0
@@ -44,16 +44,20 @@ class V1GetProjectStorageMetadataResponse(object):
44
44
  'account_limit_bytes': 'str',
45
45
  'cloudspace_storage_bytes': 'str',
46
46
  'cloudspaces': 'list[V1StorageAsset]',
47
+ 'container_registry_repositories': 'list[V1StorageAsset]',
47
48
  'container_registry_storage_bytes': 'str',
48
49
  'data_connection_storage_bytes': 'str',
49
50
  'data_connections': 'list[V1StorageAsset]',
50
51
  'display_name': 'str',
51
52
  'estimated_daily_cost': 'float',
53
+ 'estimated_daily_efs_cost': 'float',
52
54
  'folder_storage_bytes': 'str',
53
55
  'folders': 'list[V1StorageAsset]',
54
56
  'id': 'str',
55
57
  'job_storage_bytes': 'str',
56
58
  'jobs': 'list[V1StorageAsset]',
59
+ 'model_storage_bytes': 'str',
60
+ 'models': 'list[V1StorageAsset]',
57
61
  'total_storage_bytes': 'str',
58
62
  'upload_storage_bytes': 'str',
59
63
  'uploads': 'V1StorageAsset'
@@ -63,36 +67,44 @@ class V1GetProjectStorageMetadataResponse(object):
63
67
  'account_limit_bytes': 'accountLimitBytes',
64
68
  'cloudspace_storage_bytes': 'cloudspaceStorageBytes',
65
69
  'cloudspaces': 'cloudspaces',
70
+ 'container_registry_repositories': 'containerRegistryRepositories',
66
71
  'container_registry_storage_bytes': 'containerRegistryStorageBytes',
67
72
  'data_connection_storage_bytes': 'dataConnectionStorageBytes',
68
73
  'data_connections': 'dataConnections',
69
74
  'display_name': 'displayName',
70
75
  'estimated_daily_cost': 'estimatedDailyCost',
76
+ 'estimated_daily_efs_cost': 'estimatedDailyEfsCost',
71
77
  'folder_storage_bytes': 'folderStorageBytes',
72
78
  'folders': 'folders',
73
79
  'id': 'id',
74
80
  'job_storage_bytes': 'jobStorageBytes',
75
81
  'jobs': 'jobs',
82
+ 'model_storage_bytes': 'modelStorageBytes',
83
+ 'models': 'models',
76
84
  'total_storage_bytes': 'totalStorageBytes',
77
85
  'upload_storage_bytes': 'uploadStorageBytes',
78
86
  'uploads': 'uploads'
79
87
  }
80
88
 
81
- def __init__(self, account_limit_bytes: 'str' =None, cloudspace_storage_bytes: 'str' =None, cloudspaces: '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, folder_storage_bytes: 'str' =None, folders: 'list[V1StorageAsset]' =None, id: 'str' =None, job_storage_bytes: 'str' =None, jobs: 'list[V1StorageAsset]' =None, total_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None, uploads: 'V1StorageAsset' =None): # noqa: E501
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
82
90
  """V1GetProjectStorageMetadataResponse - a model defined in Swagger""" # noqa: E501
83
91
  self._account_limit_bytes = None
84
92
  self._cloudspace_storage_bytes = None
85
93
  self._cloudspaces = None
94
+ self._container_registry_repositories = None
86
95
  self._container_registry_storage_bytes = None
87
96
  self._data_connection_storage_bytes = None
88
97
  self._data_connections = None
89
98
  self._display_name = None
90
99
  self._estimated_daily_cost = None
100
+ self._estimated_daily_efs_cost = None
91
101
  self._folder_storage_bytes = None
92
102
  self._folders = None
93
103
  self._id = None
94
104
  self._job_storage_bytes = None
95
105
  self._jobs = None
106
+ self._model_storage_bytes = None
107
+ self._models = None
96
108
  self._total_storage_bytes = None
97
109
  self._upload_storage_bytes = None
98
110
  self._uploads = None
@@ -103,6 +115,8 @@ class V1GetProjectStorageMetadataResponse(object):
103
115
  self.cloudspace_storage_bytes = cloudspace_storage_bytes
104
116
  if cloudspaces is not None:
105
117
  self.cloudspaces = cloudspaces
118
+ if container_registry_repositories is not None:
119
+ self.container_registry_repositories = container_registry_repositories
106
120
  if container_registry_storage_bytes is not None:
107
121
  self.container_registry_storage_bytes = container_registry_storage_bytes
108
122
  if data_connection_storage_bytes is not None:
@@ -113,6 +127,8 @@ class V1GetProjectStorageMetadataResponse(object):
113
127
  self.display_name = display_name
114
128
  if estimated_daily_cost is not None:
115
129
  self.estimated_daily_cost = estimated_daily_cost
130
+ if estimated_daily_efs_cost is not None:
131
+ self.estimated_daily_efs_cost = estimated_daily_efs_cost
116
132
  if folder_storage_bytes is not None:
117
133
  self.folder_storage_bytes = folder_storage_bytes
118
134
  if folders is not None:
@@ -123,6 +139,10 @@ class V1GetProjectStorageMetadataResponse(object):
123
139
  self.job_storage_bytes = job_storage_bytes
124
140
  if jobs is not None:
125
141
  self.jobs = jobs
142
+ if model_storage_bytes is not None:
143
+ self.model_storage_bytes = model_storage_bytes
144
+ if models is not None:
145
+ self.models = models
126
146
  if total_storage_bytes is not None:
127
147
  self.total_storage_bytes = total_storage_bytes
128
148
  if upload_storage_bytes is not None:
@@ -193,6 +213,27 @@ class V1GetProjectStorageMetadataResponse(object):
193
213
 
194
214
  self._cloudspaces = cloudspaces
195
215
 
216
+ @property
217
+ def container_registry_repositories(self) -> 'list[V1StorageAsset]':
218
+ """Gets the container_registry_repositories of this V1GetProjectStorageMetadataResponse. # noqa: E501
219
+
220
+
221
+ :return: The container_registry_repositories of this V1GetProjectStorageMetadataResponse. # noqa: E501
222
+ :rtype: list[V1StorageAsset]
223
+ """
224
+ return self._container_registry_repositories
225
+
226
+ @container_registry_repositories.setter
227
+ def container_registry_repositories(self, container_registry_repositories: 'list[V1StorageAsset]'):
228
+ """Sets the container_registry_repositories of this V1GetProjectStorageMetadataResponse.
229
+
230
+
231
+ :param container_registry_repositories: The container_registry_repositories of this V1GetProjectStorageMetadataResponse. # noqa: E501
232
+ :type: list[V1StorageAsset]
233
+ """
234
+
235
+ self._container_registry_repositories = container_registry_repositories
236
+
196
237
  @property
197
238
  def container_registry_storage_bytes(self) -> 'str':
198
239
  """Gets the container_registry_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -298,6 +339,27 @@ class V1GetProjectStorageMetadataResponse(object):
298
339
 
299
340
  self._estimated_daily_cost = estimated_daily_cost
300
341
 
342
+ @property
343
+ def estimated_daily_efs_cost(self) -> 'float':
344
+ """Gets the estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
345
+
346
+
347
+ :return: The estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
348
+ :rtype: float
349
+ """
350
+ return self._estimated_daily_efs_cost
351
+
352
+ @estimated_daily_efs_cost.setter
353
+ def estimated_daily_efs_cost(self, estimated_daily_efs_cost: 'float'):
354
+ """Sets the estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse.
355
+
356
+
357
+ :param estimated_daily_efs_cost: The estimated_daily_efs_cost of this V1GetProjectStorageMetadataResponse. # noqa: E501
358
+ :type: float
359
+ """
360
+
361
+ self._estimated_daily_efs_cost = estimated_daily_efs_cost
362
+
301
363
  @property
302
364
  def folder_storage_bytes(self) -> 'str':
303
365
  """Gets the folder_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -403,6 +465,48 @@ class V1GetProjectStorageMetadataResponse(object):
403
465
 
404
466
  self._jobs = jobs
405
467
 
468
+ @property
469
+ def model_storage_bytes(self) -> 'str':
470
+ """Gets the model_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
471
+
472
+
473
+ :return: The model_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
474
+ :rtype: str
475
+ """
476
+ return self._model_storage_bytes
477
+
478
+ @model_storage_bytes.setter
479
+ def model_storage_bytes(self, model_storage_bytes: 'str'):
480
+ """Sets the model_storage_bytes of this V1GetProjectStorageMetadataResponse.
481
+
482
+
483
+ :param model_storage_bytes: The model_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
484
+ :type: str
485
+ """
486
+
487
+ self._model_storage_bytes = model_storage_bytes
488
+
489
+ @property
490
+ def models(self) -> 'list[V1StorageAsset]':
491
+ """Gets the models of this V1GetProjectStorageMetadataResponse. # noqa: E501
492
+
493
+
494
+ :return: The models of this V1GetProjectStorageMetadataResponse. # noqa: E501
495
+ :rtype: list[V1StorageAsset]
496
+ """
497
+ return self._models
498
+
499
+ @models.setter
500
+ def models(self, models: 'list[V1StorageAsset]'):
501
+ """Sets the models of this V1GetProjectStorageMetadataResponse.
502
+
503
+
504
+ :param models: The models of this V1GetProjectStorageMetadataResponse. # noqa: E501
505
+ :type: list[V1StorageAsset]
506
+ """
507
+
508
+ self._models = models
509
+
406
510
  @property
407
511
  def total_storage_bytes(self) -> 'str':
408
512
  """Gets the total_storage_bytes of this V1GetProjectStorageMetadataResponse. # noqa: E501
@@ -47,6 +47,7 @@ class V1GetUserStorageBreakdownResponse(object):
47
47
  'job_storage_bytes': 'str',
48
48
  'limit_bytes': 'str',
49
49
  'projects': 'list[V1ProjectStorage]',
50
+ 'total_model_storage_bytes': 'str',
50
51
  'total_storage_bytes': 'str',
51
52
  'upload_storage_bytes': 'str'
52
53
  }
@@ -58,11 +59,12 @@ class V1GetUserStorageBreakdownResponse(object):
58
59
  'job_storage_bytes': 'jobStorageBytes',
59
60
  'limit_bytes': 'limitBytes',
60
61
  'projects': 'projects',
62
+ 'total_model_storage_bytes': 'totalModelStorageBytes',
61
63
  'total_storage_bytes': 'totalStorageBytes',
62
64
  'upload_storage_bytes': 'uploadStorageBytes'
63
65
  }
64
66
 
65
- 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_storage_bytes: 'str' =None, upload_storage_bytes: 'str' =None): # noqa: E501
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
66
68
  """V1GetUserStorageBreakdownResponse - a model defined in Swagger""" # noqa: E501
67
69
  self._cloudspace_storage_bytes = None
68
70
  self._data_connection_storage_bytes = None
@@ -70,6 +72,7 @@ class V1GetUserStorageBreakdownResponse(object):
70
72
  self._job_storage_bytes = None
71
73
  self._limit_bytes = None
72
74
  self._projects = None
75
+ self._total_model_storage_bytes = None
73
76
  self._total_storage_bytes = None
74
77
  self._upload_storage_bytes = None
75
78
  self.discriminator = None
@@ -85,6 +88,8 @@ class V1GetUserStorageBreakdownResponse(object):
85
88
  self.limit_bytes = limit_bytes
86
89
  if projects is not None:
87
90
  self.projects = projects
91
+ if total_model_storage_bytes is not None:
92
+ self.total_model_storage_bytes = total_model_storage_bytes
88
93
  if total_storage_bytes is not None:
89
94
  self.total_storage_bytes = total_storage_bytes
90
95
  if upload_storage_bytes is not None:
@@ -216,6 +221,27 @@ class V1GetUserStorageBreakdownResponse(object):
216
221
 
217
222
  self._projects = projects
218
223
 
224
+ @property
225
+ def total_model_storage_bytes(self) -> 'str':
226
+ """Gets the total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
227
+
228
+
229
+ :return: The total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
230
+ :rtype: str
231
+ """
232
+ return self._total_model_storage_bytes
233
+
234
+ @total_model_storage_bytes.setter
235
+ def total_model_storage_bytes(self, total_model_storage_bytes: 'str'):
236
+ """Sets the total_model_storage_bytes of this V1GetUserStorageBreakdownResponse.
237
+
238
+
239
+ :param total_model_storage_bytes: The total_model_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
240
+ :type: str
241
+ """
242
+
243
+ self._total_model_storage_bytes = total_model_storage_bytes
244
+
219
245
  @property
220
246
  def total_storage_bytes(self) -> 'str':
221
247
  """Gets the total_storage_bytes of this V1GetUserStorageBreakdownResponse. # noqa: E501
@@ -49,6 +49,7 @@ class V1Membership(object):
49
49
  'description': 'str',
50
50
  'display_name': 'str',
51
51
  'free_credits_enabled': 'bool',
52
+ 'free_storage_bytes': 'str',
52
53
  'is_default': 'bool',
53
54
  'job_count': 'str',
54
55
  'membership_count': 'str',
@@ -72,6 +73,7 @@ class V1Membership(object):
72
73
  'description': 'description',
73
74
  'display_name': 'displayName',
74
75
  'free_credits_enabled': 'freeCreditsEnabled',
76
+ 'free_storage_bytes': 'freeStorageBytes',
75
77
  'is_default': 'isDefault',
76
78
  'job_count': 'jobCount',
77
79
  'membership_count': 'membershipCount',
@@ -86,7 +88,7 @@ class V1Membership(object):
86
88
  'user_id': 'userId'
87
89
  }
88
90
 
89
- def __init__(self, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_credits_enabled: 'bool' =None, is_default: 'bool' =None, job_count: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
91
+ def __init__(self, balance: 'float' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_credits_enabled: 'bool' =None, free_storage_bytes: 'str' =None, is_default: 'bool' =None, job_count: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
90
92
  """V1Membership - a model defined in Swagger""" # noqa: E501
91
93
  self._balance = None
92
94
  self._created_at = None
@@ -96,6 +98,7 @@ class V1Membership(object):
96
98
  self._description = None
97
99
  self._display_name = None
98
100
  self._free_credits_enabled = None
101
+ self._free_storage_bytes = None
99
102
  self._is_default = None
100
103
  self._job_count = None
101
104
  self._membership_count = None
@@ -125,6 +128,8 @@ class V1Membership(object):
125
128
  self.display_name = display_name
126
129
  if free_credits_enabled is not None:
127
130
  self.free_credits_enabled = free_credits_enabled
131
+ if free_storage_bytes is not None:
132
+ self.free_storage_bytes = free_storage_bytes
128
133
  if is_default is not None:
129
134
  self.is_default = is_default
130
135
  if job_count is not None:
@@ -318,6 +323,27 @@ class V1Membership(object):
318
323
 
319
324
  self._free_credits_enabled = free_credits_enabled
320
325
 
326
+ @property
327
+ def free_storage_bytes(self) -> 'str':
328
+ """Gets the free_storage_bytes of this V1Membership. # noqa: E501
329
+
330
+
331
+ :return: The free_storage_bytes of this V1Membership. # noqa: E501
332
+ :rtype: str
333
+ """
334
+ return self._free_storage_bytes
335
+
336
+ @free_storage_bytes.setter
337
+ def free_storage_bytes(self, free_storage_bytes: 'str'):
338
+ """Sets the free_storage_bytes of this V1Membership.
339
+
340
+
341
+ :param free_storage_bytes: The free_storage_bytes of this V1Membership. # noqa: E501
342
+ :type: str
343
+ """
344
+
345
+ self._free_storage_bytes = free_storage_bytes
346
+
321
347
  @property
322
348
  def is_default(self) -> 'bool':
323
349
  """Gets the is_default of this V1Membership. # noqa: E501
@@ -49,8 +49,10 @@ class V1Message(object):
49
49
  'created_at': 'datetime',
50
50
  'executable': 'bool',
51
51
  'id': 'str',
52
+ 'internal_message': 'bool',
52
53
  'metadata': 'dict(str, str)',
53
54
  'model': 'str',
55
+ 'parent_message_id': 'str',
54
56
  'prompt_tokens': 'str',
55
57
  'throughput': 'float'
56
58
  }
@@ -64,13 +66,15 @@ class V1Message(object):
64
66
  'created_at': 'createdAt',
65
67
  'executable': 'executable',
66
68
  'id': 'id',
69
+ 'internal_message': 'internalMessage',
67
70
  'metadata': 'metadata',
68
71
  'model': 'model',
72
+ 'parent_message_id': 'parentMessageId',
69
73
  'prompt_tokens': 'promptTokens',
70
74
  'throughput': 'throughput'
71
75
  }
72
76
 
73
- def __init__(self, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
77
+ def __init__(self, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, internal_message: 'bool' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, parent_message_id: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
74
78
  """V1Message - a model defined in Swagger""" # noqa: E501
75
79
  self._assistant_id = None
76
80
  self._author = None
@@ -80,8 +84,10 @@ class V1Message(object):
80
84
  self._created_at = None
81
85
  self._executable = None
82
86
  self._id = None
87
+ self._internal_message = None
83
88
  self._metadata = None
84
89
  self._model = None
90
+ self._parent_message_id = None
85
91
  self._prompt_tokens = None
86
92
  self._throughput = None
87
93
  self.discriminator = None
@@ -101,10 +107,14 @@ class V1Message(object):
101
107
  self.executable = executable
102
108
  if id is not None:
103
109
  self.id = id
110
+ if internal_message is not None:
111
+ self.internal_message = internal_message
104
112
  if metadata is not None:
105
113
  self.metadata = metadata
106
114
  if model is not None:
107
115
  self.model = model
116
+ if parent_message_id is not None:
117
+ self.parent_message_id = parent_message_id
108
118
  if prompt_tokens is not None:
109
119
  self.prompt_tokens = prompt_tokens
110
120
  if throughput is not None:
@@ -278,6 +288,27 @@ class V1Message(object):
278
288
 
279
289
  self._id = id
280
290
 
291
+ @property
292
+ def internal_message(self) -> 'bool':
293
+ """Gets the internal_message of this V1Message. # noqa: E501
294
+
295
+
296
+ :return: The internal_message of this V1Message. # noqa: E501
297
+ :rtype: bool
298
+ """
299
+ return self._internal_message
300
+
301
+ @internal_message.setter
302
+ def internal_message(self, internal_message: 'bool'):
303
+ """Sets the internal_message of this V1Message.
304
+
305
+
306
+ :param internal_message: The internal_message of this V1Message. # noqa: E501
307
+ :type: bool
308
+ """
309
+
310
+ self._internal_message = internal_message
311
+
281
312
  @property
282
313
  def metadata(self) -> 'dict(str, str)':
283
314
  """Gets the metadata of this V1Message. # noqa: E501
@@ -320,6 +351,27 @@ class V1Message(object):
320
351
 
321
352
  self._model = model
322
353
 
354
+ @property
355
+ def parent_message_id(self) -> 'str':
356
+ """Gets the parent_message_id of this V1Message. # noqa: E501
357
+
358
+
359
+ :return: The parent_message_id of this V1Message. # noqa: E501
360
+ :rtype: str
361
+ """
362
+ return self._parent_message_id
363
+
364
+ @parent_message_id.setter
365
+ def parent_message_id(self, parent_message_id: 'str'):
366
+ """Sets the parent_message_id of this V1Message.
367
+
368
+
369
+ :param parent_message_id: The parent_message_id of this V1Message. # noqa: E501
370
+ :type: str
371
+ """
372
+
373
+ self._parent_message_id = parent_message_id
374
+
323
375
  @property
324
376
  def prompt_tokens(self) -> 'str':
325
377
  """Gets the prompt_tokens of this V1Message. # noqa: E501
@@ -40,6 +40,7 @@ class V1NotificationType(object):
40
40
  UNSPECIFIED = "NOTIFICATION_TYPE_UNSPECIFIED"
41
41
  LOW_FUNDS = "NOTIFICATION_TYPE_LOW_FUNDS"
42
42
  LONG_WORKLOADS = "NOTIFICATION_TYPE_LONG_WORKLOADS"
43
+ DEPLOYMENT_ERROR = "NOTIFICATION_TYPE_DEPLOYMENT_ERROR"
43
44
  """
44
45
  Attributes:
45
46
  swagger_types (dict): The key is attribute name
@@ -73,12 +73,16 @@ class V1Organization(object):
73
73
  'full_story_start_date': 'datetime',
74
74
  'general_teamspace': 'bool',
75
75
  'id': 'str',
76
+ 'last_storage_overuse_notification_sent_at': 'datetime',
76
77
  'location': 'str',
77
78
  'name': 'str',
78
79
  'preferred_cluster': 'str',
79
80
  'preferred_deployment_provider': 'str',
80
81
  'preferred_studio_provider': 'str',
81
82
  'start_studios_on_spot_instance': 'bool',
83
+ 'storage_overuse_bytes': 'str',
84
+ 'storage_overuse_deletion_at': 'datetime',
85
+ 'storage_overuse_notification_count': 'int',
82
86
  'switch_to_default_machine_on_idle': 'bool',
83
87
  'teamspace_default_credits': 'float',
84
88
  'twitter_username': 'str',
@@ -119,12 +123,16 @@ class V1Organization(object):
119
123
  'full_story_start_date': 'fullStoryStartDate',
120
124
  'general_teamspace': 'generalTeamspace',
121
125
  'id': 'id',
126
+ 'last_storage_overuse_notification_sent_at': 'lastStorageOveruseNotificationSentAt',
122
127
  'location': 'location',
123
128
  'name': 'name',
124
129
  'preferred_cluster': 'preferredCluster',
125
130
  'preferred_deployment_provider': 'preferredDeploymentProvider',
126
131
  'preferred_studio_provider': 'preferredStudioProvider',
127
132
  'start_studios_on_spot_instance': 'startStudiosOnSpotInstance',
133
+ 'storage_overuse_bytes': 'storageOveruseBytes',
134
+ 'storage_overuse_deletion_at': 'storageOveruseDeletionAt',
135
+ 'storage_overuse_notification_count': 'storageOveruseNotificationCount',
128
136
  'switch_to_default_machine_on_idle': 'switchToDefaultMachineOnIdle',
129
137
  'teamspace_default_credits': 'teamspaceDefaultCredits',
130
138
  'twitter_username': 'twitterUsername',
@@ -132,7 +140,7 @@ class V1Organization(object):
132
140
  'workload_max_run_duration': 'workloadMaxRunDuration'
133
141
  }
134
142
 
135
- def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
143
+ def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
136
144
  """V1Organization - a model defined in Swagger""" # noqa: E501
137
145
  self._alerts_config = None
138
146
  self._allow_budgeting = None
@@ -166,12 +174,16 @@ class V1Organization(object):
166
174
  self._full_story_start_date = None
167
175
  self._general_teamspace = None
168
176
  self._id = None
177
+ self._last_storage_overuse_notification_sent_at = None
169
178
  self._location = None
170
179
  self._name = None
171
180
  self._preferred_cluster = None
172
181
  self._preferred_deployment_provider = None
173
182
  self._preferred_studio_provider = None
174
183
  self._start_studios_on_spot_instance = None
184
+ self._storage_overuse_bytes = None
185
+ self._storage_overuse_deletion_at = None
186
+ self._storage_overuse_notification_count = None
175
187
  self._switch_to_default_machine_on_idle = None
176
188
  self._teamspace_default_credits = None
177
189
  self._twitter_username = None
@@ -242,6 +254,8 @@ class V1Organization(object):
242
254
  self.general_teamspace = general_teamspace
243
255
  if id is not None:
244
256
  self.id = id
257
+ if last_storage_overuse_notification_sent_at is not None:
258
+ self.last_storage_overuse_notification_sent_at = last_storage_overuse_notification_sent_at
245
259
  if location is not None:
246
260
  self.location = location
247
261
  if name is not None:
@@ -254,6 +268,12 @@ class V1Organization(object):
254
268
  self.preferred_studio_provider = preferred_studio_provider
255
269
  if start_studios_on_spot_instance is not None:
256
270
  self.start_studios_on_spot_instance = start_studios_on_spot_instance
271
+ if storage_overuse_bytes is not None:
272
+ self.storage_overuse_bytes = storage_overuse_bytes
273
+ if storage_overuse_deletion_at is not None:
274
+ self.storage_overuse_deletion_at = storage_overuse_deletion_at
275
+ if storage_overuse_notification_count is not None:
276
+ self.storage_overuse_notification_count = storage_overuse_notification_count
257
277
  if switch_to_default_machine_on_idle is not None:
258
278
  self.switch_to_default_machine_on_idle = switch_to_default_machine_on_idle
259
279
  if teamspace_default_credits is not None:
@@ -939,6 +959,27 @@ class V1Organization(object):
939
959
 
940
960
  self._id = id
941
961
 
962
+ @property
963
+ def last_storage_overuse_notification_sent_at(self) -> 'datetime':
964
+ """Gets the last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
965
+
966
+
967
+ :return: The last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
968
+ :rtype: datetime
969
+ """
970
+ return self._last_storage_overuse_notification_sent_at
971
+
972
+ @last_storage_overuse_notification_sent_at.setter
973
+ def last_storage_overuse_notification_sent_at(self, last_storage_overuse_notification_sent_at: 'datetime'):
974
+ """Sets the last_storage_overuse_notification_sent_at of this V1Organization.
975
+
976
+
977
+ :param last_storage_overuse_notification_sent_at: The last_storage_overuse_notification_sent_at of this V1Organization. # noqa: E501
978
+ :type: datetime
979
+ """
980
+
981
+ self._last_storage_overuse_notification_sent_at = last_storage_overuse_notification_sent_at
982
+
942
983
  @property
943
984
  def location(self) -> 'str':
944
985
  """Gets the location of this V1Organization. # noqa: E501
@@ -1065,6 +1106,69 @@ class V1Organization(object):
1065
1106
 
1066
1107
  self._start_studios_on_spot_instance = start_studios_on_spot_instance
1067
1108
 
1109
+ @property
1110
+ def storage_overuse_bytes(self) -> 'str':
1111
+ """Gets the storage_overuse_bytes of this V1Organization. # noqa: E501
1112
+
1113
+
1114
+ :return: The storage_overuse_bytes of this V1Organization. # noqa: E501
1115
+ :rtype: str
1116
+ """
1117
+ return self._storage_overuse_bytes
1118
+
1119
+ @storage_overuse_bytes.setter
1120
+ def storage_overuse_bytes(self, storage_overuse_bytes: 'str'):
1121
+ """Sets the storage_overuse_bytes of this V1Organization.
1122
+
1123
+
1124
+ :param storage_overuse_bytes: The storage_overuse_bytes of this V1Organization. # noqa: E501
1125
+ :type: str
1126
+ """
1127
+
1128
+ self._storage_overuse_bytes = storage_overuse_bytes
1129
+
1130
+ @property
1131
+ def storage_overuse_deletion_at(self) -> 'datetime':
1132
+ """Gets the storage_overuse_deletion_at of this V1Organization. # noqa: E501
1133
+
1134
+
1135
+ :return: The storage_overuse_deletion_at of this V1Organization. # noqa: E501
1136
+ :rtype: datetime
1137
+ """
1138
+ return self._storage_overuse_deletion_at
1139
+
1140
+ @storage_overuse_deletion_at.setter
1141
+ def storage_overuse_deletion_at(self, storage_overuse_deletion_at: 'datetime'):
1142
+ """Sets the storage_overuse_deletion_at of this V1Organization.
1143
+
1144
+
1145
+ :param storage_overuse_deletion_at: The storage_overuse_deletion_at of this V1Organization. # noqa: E501
1146
+ :type: datetime
1147
+ """
1148
+
1149
+ self._storage_overuse_deletion_at = storage_overuse_deletion_at
1150
+
1151
+ @property
1152
+ def storage_overuse_notification_count(self) -> 'int':
1153
+ """Gets the storage_overuse_notification_count of this V1Organization. # noqa: E501
1154
+
1155
+
1156
+ :return: The storage_overuse_notification_count of this V1Organization. # noqa: E501
1157
+ :rtype: int
1158
+ """
1159
+ return self._storage_overuse_notification_count
1160
+
1161
+ @storage_overuse_notification_count.setter
1162
+ def storage_overuse_notification_count(self, storage_overuse_notification_count: 'int'):
1163
+ """Sets the storage_overuse_notification_count of this V1Organization.
1164
+
1165
+
1166
+ :param storage_overuse_notification_count: The storage_overuse_notification_count of this V1Organization. # noqa: E501
1167
+ :type: int
1168
+ """
1169
+
1170
+ self._storage_overuse_notification_count = storage_overuse_notification_count
1171
+
1068
1172
  @property
1069
1173
  def switch_to_default_machine_on_idle(self) -> 'bool':
1070
1174
  """Gets the switch_to_default_machine_on_idle of this V1Organization. # noqa: E501