lightning-sdk 2025.10.8__py3-none-any.whl → 2025.10.14__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 (60) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/cloud_account_api.py +0 -2
  3. lightning_sdk/api/studio_api.py +8 -0
  4. lightning_sdk/job/job.py +5 -0
  5. lightning_sdk/job/v1.py +8 -0
  6. lightning_sdk/job/v2.py +8 -0
  7. lightning_sdk/lightning_cloud/openapi/__init__.py +20 -0
  8. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  9. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +19 -19
  10. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +105 -0
  11. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +1463 -240
  12. lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +19 -0
  14. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +27 -1
  15. lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +53 -1
  16. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +53 -1
  18. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +53 -1
  19. lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +149 -0
  20. lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
  21. lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +149 -0
  22. lightning_sdk/lightning_cloud/openapi/models/project_id_incidents_body.py +279 -0
  23. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +15 -15
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +53 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
  30. lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
  31. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +123 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
  34. lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +539 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +1 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +53 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
  41. lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
  42. lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
  44. lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +53 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +1 -27
  49. lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
  50. lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
  51. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -53
  53. lightning_sdk/machine.py +0 -1
  54. lightning_sdk/studio.py +8 -0
  55. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.14.dist-info}/METADATA +1 -1
  56. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.14.dist-info}/RECORD +60 -40
  57. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.14.dist-info}/LICENSE +0 -0
  58. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.14.dist-info}/WHEEL +0 -0
  59. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.14.dist-info}/entry_points.txt +0 -0
  60. {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.14.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,253 @@
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 V1IncidentMessage(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
+ 'created_at': 'datetime',
45
+ 'id': 'str',
46
+ 'incident_id': 'str',
47
+ 'message': 'str',
48
+ 'updated_at': 'datetime',
49
+ 'user_id': 'str'
50
+ }
51
+
52
+ attribute_map = {
53
+ 'created_at': 'createdAt',
54
+ 'id': 'id',
55
+ 'incident_id': 'incidentId',
56
+ 'message': 'message',
57
+ 'updated_at': 'updatedAt',
58
+ 'user_id': 'userId'
59
+ }
60
+
61
+ def __init__(self, created_at: 'datetime' =None, id: 'str' =None, incident_id: 'str' =None, message: 'str' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
62
+ """V1IncidentMessage - a model defined in Swagger""" # noqa: E501
63
+ self._created_at = None
64
+ self._id = None
65
+ self._incident_id = None
66
+ self._message = None
67
+ self._updated_at = None
68
+ self._user_id = None
69
+ self.discriminator = None
70
+ if created_at is not None:
71
+ self.created_at = created_at
72
+ if id is not None:
73
+ self.id = id
74
+ if incident_id is not None:
75
+ self.incident_id = incident_id
76
+ if message is not None:
77
+ self.message = message
78
+ if updated_at is not None:
79
+ self.updated_at = updated_at
80
+ if user_id is not None:
81
+ self.user_id = user_id
82
+
83
+ @property
84
+ def created_at(self) -> 'datetime':
85
+ """Gets the created_at of this V1IncidentMessage. # noqa: E501
86
+
87
+
88
+ :return: The created_at of this V1IncidentMessage. # noqa: E501
89
+ :rtype: datetime
90
+ """
91
+ return self._created_at
92
+
93
+ @created_at.setter
94
+ def created_at(self, created_at: 'datetime'):
95
+ """Sets the created_at of this V1IncidentMessage.
96
+
97
+
98
+ :param created_at: The created_at of this V1IncidentMessage. # noqa: E501
99
+ :type: datetime
100
+ """
101
+
102
+ self._created_at = created_at
103
+
104
+ @property
105
+ def id(self) -> 'str':
106
+ """Gets the id of this V1IncidentMessage. # noqa: E501
107
+
108
+
109
+ :return: The id of this V1IncidentMessage. # noqa: E501
110
+ :rtype: str
111
+ """
112
+ return self._id
113
+
114
+ @id.setter
115
+ def id(self, id: 'str'):
116
+ """Sets the id of this V1IncidentMessage.
117
+
118
+
119
+ :param id: The id of this V1IncidentMessage. # noqa: E501
120
+ :type: str
121
+ """
122
+
123
+ self._id = id
124
+
125
+ @property
126
+ def incident_id(self) -> 'str':
127
+ """Gets the incident_id of this V1IncidentMessage. # noqa: E501
128
+
129
+
130
+ :return: The incident_id of this V1IncidentMessage. # noqa: E501
131
+ :rtype: str
132
+ """
133
+ return self._incident_id
134
+
135
+ @incident_id.setter
136
+ def incident_id(self, incident_id: 'str'):
137
+ """Sets the incident_id of this V1IncidentMessage.
138
+
139
+
140
+ :param incident_id: The incident_id of this V1IncidentMessage. # noqa: E501
141
+ :type: str
142
+ """
143
+
144
+ self._incident_id = incident_id
145
+
146
+ @property
147
+ def message(self) -> 'str':
148
+ """Gets the message of this V1IncidentMessage. # noqa: E501
149
+
150
+
151
+ :return: The message of this V1IncidentMessage. # noqa: E501
152
+ :rtype: str
153
+ """
154
+ return self._message
155
+
156
+ @message.setter
157
+ def message(self, message: 'str'):
158
+ """Sets the message of this V1IncidentMessage.
159
+
160
+
161
+ :param message: The message of this V1IncidentMessage. # noqa: E501
162
+ :type: str
163
+ """
164
+
165
+ self._message = message
166
+
167
+ @property
168
+ def updated_at(self) -> 'datetime':
169
+ """Gets the updated_at of this V1IncidentMessage. # noqa: E501
170
+
171
+
172
+ :return: The updated_at of this V1IncidentMessage. # noqa: E501
173
+ :rtype: datetime
174
+ """
175
+ return self._updated_at
176
+
177
+ @updated_at.setter
178
+ def updated_at(self, updated_at: 'datetime'):
179
+ """Sets the updated_at of this V1IncidentMessage.
180
+
181
+
182
+ :param updated_at: The updated_at of this V1IncidentMessage. # noqa: E501
183
+ :type: datetime
184
+ """
185
+
186
+ self._updated_at = updated_at
187
+
188
+ @property
189
+ def user_id(self) -> 'str':
190
+ """Gets the user_id of this V1IncidentMessage. # noqa: E501
191
+
192
+
193
+ :return: The user_id of this V1IncidentMessage. # noqa: E501
194
+ :rtype: str
195
+ """
196
+ return self._user_id
197
+
198
+ @user_id.setter
199
+ def user_id(self, user_id: 'str'):
200
+ """Sets the user_id of this V1IncidentMessage.
201
+
202
+
203
+ :param user_id: The user_id of this V1IncidentMessage. # noqa: E501
204
+ :type: str
205
+ """
206
+
207
+ self._user_id = user_id
208
+
209
+ def to_dict(self) -> dict:
210
+ """Returns the model properties as a dict"""
211
+ result = {}
212
+
213
+ for attr, _ in six.iteritems(self.swagger_types):
214
+ value = getattr(self, attr)
215
+ if isinstance(value, list):
216
+ result[attr] = list(map(
217
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
218
+ value
219
+ ))
220
+ elif hasattr(value, "to_dict"):
221
+ result[attr] = value.to_dict()
222
+ elif isinstance(value, dict):
223
+ result[attr] = dict(map(
224
+ lambda item: (item[0], item[1].to_dict())
225
+ if hasattr(item[1], "to_dict") else item,
226
+ value.items()
227
+ ))
228
+ else:
229
+ result[attr] = value
230
+ if issubclass(V1IncidentMessage, dict):
231
+ for key, value in self.items():
232
+ result[key] = value
233
+
234
+ return result
235
+
236
+ def to_str(self) -> str:
237
+ """Returns the string representation of the model"""
238
+ return pprint.pformat(self.to_dict())
239
+
240
+ def __repr__(self) -> str:
241
+ """For `print` and `pprint`"""
242
+ return self.to_str()
243
+
244
+ def __eq__(self, other: 'V1IncidentMessage') -> bool:
245
+ """Returns true if both objects are equal"""
246
+ if not isinstance(other, V1IncidentMessage):
247
+ return False
248
+
249
+ return self.__dict__ == other.__dict__
250
+
251
+ def __ne__(self, other: 'V1IncidentMessage') -> bool:
252
+ """Returns true if both objects are not equal"""
253
+ return not self == other
@@ -42,6 +42,7 @@ class V1IncidentType(object):
42
42
  K8S_UNSCHEDULABLE_GPUS = "INCIDENT_TYPE_K8S_UNSCHEDULABLE_GPUS"
43
43
  K8S_XID_GPU_ERROR = "INCIDENT_TYPE_K8S_XID_GPU_ERROR"
44
44
  K8S_UNSCHEDULABLE_NODE = "INCIDENT_TYPE_K8S_UNSCHEDULABLE_NODE"
45
+ USER_REPORTED = "INCIDENT_TYPE_USER_REPORTED"
45
46
  """
46
47
  Attributes:
47
48
  swagger_types (dict): The key is attribute name
@@ -54,7 +54,9 @@ class V1Job(object):
54
54
  'name': 'str',
55
55
  'overprovisioned': 'bool',
56
56
  'pipeline_id': 'str',
57
+ 'private_ip_address': 'str',
57
58
  'project_id': 'str',
59
+ 'public_ip_address': 'str',
58
60
  'ready_at': 'datetime',
59
61
  'release_id': 'str',
60
62
  'restart_count': 'int',
@@ -88,7 +90,9 @@ class V1Job(object):
88
90
  'name': 'name',
89
91
  'overprovisioned': 'overprovisioned',
90
92
  'pipeline_id': 'pipelineId',
93
+ 'private_ip_address': 'privateIpAddress',
91
94
  'project_id': 'projectId',
95
+ 'public_ip_address': 'publicIpAddress',
92
96
  'ready_at': 'readyAt',
93
97
  'release_id': 'releaseId',
94
98
  'restart_count': 'restartCount',
@@ -108,7 +112,7 @@ class V1Job(object):
108
112
  'visibility': 'visibility'
109
113
  }
110
114
 
111
- def __init__(self, created_at: 'datetime' =None, deleted_at: 'datetime' =None, deployment_id: 'str' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, interruption_notice_received: 'bool' =None, interruption_notice_received_at: 'datetime' =None, is_healthy: 'bool' =None, message: 'str' =None, multi_machine_job_id: 'str' =None, name: 'str' =None, overprovisioned: 'bool' =None, pipeline_id: 'str' =None, project_id: 'str' =None, ready_at: 'datetime' =None, release_id: 'str' =None, restart_count: 'int' =None, restart_timings: 'list[V1RestartTiming]' =None, server_error: 'str' =None, spec: 'V1JobSpec' =None, started_at: 'datetime' =None, state: 'str' =None, stopped_at: 'datetime' =None, timings: 'dict(str, V1JobTiming)' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None, updated_at: 'datetime' =None, urls: 'list[str]' =None, user_id: 'str' =None, user_logs_started_at: 'datetime' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
115
+ def __init__(self, created_at: 'datetime' =None, deleted_at: 'datetime' =None, deployment_id: 'str' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, interruption_notice_received: 'bool' =None, interruption_notice_received_at: 'datetime' =None, is_healthy: 'bool' =None, message: 'str' =None, multi_machine_job_id: 'str' =None, name: 'str' =None, overprovisioned: 'bool' =None, pipeline_id: 'str' =None, private_ip_address: 'str' =None, project_id: 'str' =None, public_ip_address: 'str' =None, ready_at: 'datetime' =None, release_id: 'str' =None, restart_count: 'int' =None, restart_timings: 'list[V1RestartTiming]' =None, server_error: 'str' =None, spec: 'V1JobSpec' =None, started_at: 'datetime' =None, state: 'str' =None, stopped_at: 'datetime' =None, timings: 'dict(str, V1JobTiming)' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None, updated_at: 'datetime' =None, urls: 'list[str]' =None, user_id: 'str' =None, user_logs_started_at: 'datetime' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
112
116
  """V1Job - a model defined in Swagger""" # noqa: E501
113
117
  self._created_at = None
114
118
  self._deleted_at = None
@@ -123,7 +127,9 @@ class V1Job(object):
123
127
  self._name = None
124
128
  self._overprovisioned = None
125
129
  self._pipeline_id = None
130
+ self._private_ip_address = None
126
131
  self._project_id = None
132
+ self._public_ip_address = None
127
133
  self._ready_at = None
128
134
  self._release_id = None
129
135
  self._restart_count = None
@@ -168,8 +174,12 @@ class V1Job(object):
168
174
  self.overprovisioned = overprovisioned
169
175
  if pipeline_id is not None:
170
176
  self.pipeline_id = pipeline_id
177
+ if private_ip_address is not None:
178
+ self.private_ip_address = private_ip_address
171
179
  if project_id is not None:
172
180
  self.project_id = project_id
181
+ if public_ip_address is not None:
182
+ self.public_ip_address = public_ip_address
173
183
  if ready_at is not None:
174
184
  self.ready_at = ready_at
175
185
  if release_id is not None:
@@ -480,6 +490,27 @@ class V1Job(object):
480
490
 
481
491
  self._pipeline_id = pipeline_id
482
492
 
493
+ @property
494
+ def private_ip_address(self) -> 'str':
495
+ """Gets the private_ip_address of this V1Job. # noqa: E501
496
+
497
+
498
+ :return: The private_ip_address of this V1Job. # noqa: E501
499
+ :rtype: str
500
+ """
501
+ return self._private_ip_address
502
+
503
+ @private_ip_address.setter
504
+ def private_ip_address(self, private_ip_address: 'str'):
505
+ """Sets the private_ip_address of this V1Job.
506
+
507
+
508
+ :param private_ip_address: The private_ip_address of this V1Job. # noqa: E501
509
+ :type: str
510
+ """
511
+
512
+ self._private_ip_address = private_ip_address
513
+
483
514
  @property
484
515
  def project_id(self) -> 'str':
485
516
  """Gets the project_id of this V1Job. # noqa: E501
@@ -501,6 +532,27 @@ class V1Job(object):
501
532
 
502
533
  self._project_id = project_id
503
534
 
535
+ @property
536
+ def public_ip_address(self) -> 'str':
537
+ """Gets the public_ip_address of this V1Job. # noqa: E501
538
+
539
+
540
+ :return: The public_ip_address of this V1Job. # noqa: E501
541
+ :rtype: str
542
+ """
543
+ return self._public_ip_address
544
+
545
+ @public_ip_address.setter
546
+ def public_ip_address(self, public_ip_address: 'str'):
547
+ """Sets the public_ip_address of this V1Job.
548
+
549
+
550
+ :param public_ip_address: The public_ip_address of this V1Job. # noqa: E501
551
+ :type: str
552
+ """
553
+
554
+ self._public_ip_address = public_ip_address
555
+
504
556
  @property
505
557
  def ready_at(self) -> 'datetime':
506
558
  """Gets the ready_at of this V1Job. # noqa: E501
@@ -47,6 +47,7 @@ class V1JobSpec(object):
47
47
  'cluster_id': 'str',
48
48
  'command': 'str',
49
49
  'data_paths': 'list[V1DataPath]',
50
+ 'disable_artifacts_persistence': 'bool',
50
51
  'entrypoint': 'str',
51
52
  'env': 'list[V1EnvVar]',
52
53
  'image': 'str',
@@ -79,6 +80,7 @@ class V1JobSpec(object):
79
80
  'cluster_id': 'clusterId',
80
81
  'command': 'command',
81
82
  'data_paths': 'dataPaths',
83
+ 'disable_artifacts_persistence': 'disableArtifactsPersistence',
82
84
  'entrypoint': 'entrypoint',
83
85
  'env': 'env',
84
86
  'image': 'image',
@@ -104,7 +106,7 @@ class V1JobSpec(object):
104
106
  'volumes': 'volumes'
105
107
  }
106
108
 
107
- def __init__(self, artifacts_destination: 'str' =None, artifacts_source: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, data_paths: 'list[V1DataPath]' =None, entrypoint: 'str' =None, env: 'list[V1EnvVar]' =None, image: 'str' =None, image_cluster_credentials: 'bool' =None, image_secret_ref: 'str' =None, include_credentials: 'bool' =None, instance_name: 'str' =None, instance_type: 'str' =None, machine_image_version: 'str' =None, modified_volume: 'bool' =None, path_mappings: 'list[V1PathMapping]' =None, pipeline_id: 'str' =None, quantity: 'int' =None, rank: 'int' =None, readiness_probe: 'V1JobHealthCheckConfig' =None, regions: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, spot: 'bool' =None, use_tls: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
109
+ def __init__(self, artifacts_destination: 'str' =None, artifacts_source: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, data_paths: 'list[V1DataPath]' =None, disable_artifacts_persistence: 'bool' =None, entrypoint: 'str' =None, env: 'list[V1EnvVar]' =None, image: 'str' =None, image_cluster_credentials: 'bool' =None, image_secret_ref: 'str' =None, include_credentials: 'bool' =None, instance_name: 'str' =None, instance_type: 'str' =None, machine_image_version: 'str' =None, modified_volume: 'bool' =None, path_mappings: 'list[V1PathMapping]' =None, pipeline_id: 'str' =None, quantity: 'int' =None, rank: 'int' =None, readiness_probe: 'V1JobHealthCheckConfig' =None, regions: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, spot: 'bool' =None, use_tls: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
108
110
  """V1JobSpec - a model defined in Swagger""" # noqa: E501
109
111
  self._artifacts_destination = None
110
112
  self._artifacts_source = None
@@ -112,6 +114,7 @@ class V1JobSpec(object):
112
114
  self._cluster_id = None
113
115
  self._command = None
114
116
  self._data_paths = None
117
+ self._disable_artifacts_persistence = None
115
118
  self._entrypoint = None
116
119
  self._env = None
117
120
  self._image = None
@@ -148,6 +151,8 @@ class V1JobSpec(object):
148
151
  self.command = command
149
152
  if data_paths is not None:
150
153
  self.data_paths = data_paths
154
+ if disable_artifacts_persistence is not None:
155
+ self.disable_artifacts_persistence = disable_artifacts_persistence
151
156
  if entrypoint is not None:
152
157
  self.entrypoint = entrypoint
153
158
  if env is not None:
@@ -321,6 +326,27 @@ class V1JobSpec(object):
321
326
 
322
327
  self._data_paths = data_paths
323
328
 
329
+ @property
330
+ def disable_artifacts_persistence(self) -> 'bool':
331
+ """Gets the disable_artifacts_persistence of this V1JobSpec. # noqa: E501
332
+
333
+
334
+ :return: The disable_artifacts_persistence of this V1JobSpec. # noqa: E501
335
+ :rtype: bool
336
+ """
337
+ return self._disable_artifacts_persistence
338
+
339
+ @disable_artifacts_persistence.setter
340
+ def disable_artifacts_persistence(self, disable_artifacts_persistence: 'bool'):
341
+ """Sets the disable_artifacts_persistence of this V1JobSpec.
342
+
343
+
344
+ :param disable_artifacts_persistence: The disable_artifacts_persistence of this V1JobSpec. # noqa: E501
345
+ :type: bool
346
+ """
347
+
348
+ self._disable_artifacts_persistence = disable_artifacts_persistence
349
+
324
350
  @property
325
351
  def entrypoint(self) -> 'str':
326
352
  """Gets the entrypoint of this V1JobSpec. # noqa: E501