lightning-sdk 2025.12.17__py3-none-any.whl → 2026.1.27__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 (130) hide show
  1. lightning_sdk/__version__.py +1 -1
  2. lightning_sdk/api/k8s_api.py +75 -29
  3. lightning_sdk/api/studio_api.py +192 -37
  4. lightning_sdk/api/teamspace_api.py +180 -54
  5. lightning_sdk/api/utils.py +8 -0
  6. lightning_sdk/cli/cp/__init__.py +67 -0
  7. lightning_sdk/cli/cp/teamspace_uploads.py +93 -0
  8. lightning_sdk/cli/entrypoint.py +2 -0
  9. lightning_sdk/cli/groups.py +22 -0
  10. lightning_sdk/cli/legacy/clusters_menu.py +2 -2
  11. lightning_sdk/cli/legacy/deploy/_auth.py +7 -6
  12. lightning_sdk/cli/legacy/download.py +29 -98
  13. lightning_sdk/cli/legacy/run.py +13 -2
  14. lightning_sdk/cli/legacy/upload.py +24 -31
  15. lightning_sdk/cli/studio/__init__.py +4 -0
  16. lightning_sdk/cli/studio/cp.py +24 -65
  17. lightning_sdk/cli/studio/ls.py +57 -0
  18. lightning_sdk/cli/studio/rm.py +71 -0
  19. lightning_sdk/cli/utils/filesystem.py +103 -0
  20. lightning_sdk/cli/utils/logging.py +2 -1
  21. lightning_sdk/cli/utils/teamspace_selection.py +5 -0
  22. lightning_sdk/exceptions.py +31 -0
  23. lightning_sdk/job/base.py +1 -1
  24. lightning_sdk/k8s_cluster.py +9 -10
  25. lightning_sdk/lightning_cloud/__version__.py +1 -1
  26. lightning_sdk/lightning_cloud/openapi/__init__.py +43 -23
  27. lightning_sdk/lightning_cloud/openapi/api/__init__.py +2 -1
  28. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +118 -1
  29. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +378 -536
  30. lightning_sdk/lightning_cloud/openapi/api/container_registry_service_api.py +456 -0
  31. lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +5 -1
  32. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +11 -11
  33. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +113 -0
  34. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +246 -19
  35. lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +116 -11
  36. lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +588 -2
  37. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +9 -1
  38. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +113 -0
  39. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
  40. lightning_sdk/lightning_cloud/openapi/api/{kubernetes_virtual_machine_service_api.py → virtual_machine_service_api.py} +82 -82
  41. lightning_sdk/lightning_cloud/openapi/models/__init__.py +41 -22
  42. lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_cluster_capacity_reservation_body.py +53 -1
  43. lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_machine_body.py +53 -1
  44. lightning_sdk/lightning_cloud/openapi/models/cluster_service_create_org_cluster_capacity_reservation_body.py +409 -0
  45. lightning_sdk/lightning_cloud/openapi/models/{v1_add_container_registry_response.py → cluster_service_report_machine_system_metrics_body.py} +23 -23
  46. lightning_sdk/lightning_cloud/openapi/models/container_registry_config_ecr.py +149 -0
  47. lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_status.py → container_registry_provider.py} +14 -10
  48. lightning_sdk/lightning_cloud/openapi/models/container_registry_service_create_container_registry_body.py +201 -0
  49. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config_input.py → container_registry_service_refresh_container_registry_credentials_body.py} +21 -21
  50. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config.py → jobs_service_duplicate_deployment_body.py} +51 -51
  52. lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_create_lit_logger_media_body.py +305 -0
  53. lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_update_lit_logger_media_body.py +149 -0
  54. lightning_sdk/lightning_cloud/openapi/models/lit_logger_service_update_metrics_stream_body.py +53 -1
  55. lightning_sdk/lightning_cloud/openapi/models/organizations_service_update_org_role_body.py +175 -0
  56. lightning_sdk/lightning_cloud/openapi/models/v1_capacity_reservation_used_by.py +227 -0
  57. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +2 -1
  58. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +1 -0
  59. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
  60. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +53 -1
  61. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +79 -27
  62. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +0 -1
  63. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry.py +63 -89
  64. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_add_container_registry_body.py → v1_container_registry_config.py} +16 -16
  65. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_scopes.py +149 -0
  66. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_kubernetes_virtual_machine_response.py → v1_create_container_registry_response.py} +6 -6
  67. lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_logger_media_response.py +149 -0
  68. lightning_sdk/lightning_cloud/openapi/models/v1_create_org_cluster_capacity_reservation_response.py +201 -0
  69. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +29 -3
  70. lightning_sdk/lightning_cloud/openapi/models/v1_cudo_direct_v1.py +175 -0
  71. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_refresh_container_registry_credentials_body.py → v1_delete_lit_logger_media_response.py} +6 -6
  72. lightning_sdk/lightning_cloud/openapi/models/{kubernetes_virtual_machine_service_update_kubernetes_virtual_machine_body.py → v1_delete_org_cluster_capacity_reservation_response.py} +6 -6
  73. lightning_sdk/lightning_cloud/openapi/models/v1_delete_virtual_machine_response.py +97 -0
  74. lightning_sdk/lightning_cloud/openapi/models/v1_describe_org_cluster_capacity_reservation_response.py +201 -0
  75. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -27
  76. lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
  77. lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +79 -1
  78. lightning_sdk/lightning_cloud/openapi/models/{v1_validate_container_registry_response.py → v1_get_kubernetes_pod_logs_response.py} +37 -37
  79. lightning_sdk/lightning_cloud/openapi/models/{v1_get_machine_response.py → v1_get_kubernetes_pod_response.py} +23 -23
  80. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +27 -1
  81. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  82. lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +27 -1
  83. lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_integration.py → v1_k8s_incident_setting.py} +49 -23
  84. lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_type.py +108 -0
  85. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +53 -1
  86. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +53 -27
  87. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod.py +27 -1
  88. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod_logs_page.py +227 -0
  89. lightning_sdk/lightning_cloud/openapi/models/v1_kubevirt_config.py +53 -1
  90. lightning_sdk/lightning_cloud/openapi/models/v1_list_container_registries_response.py +6 -6
  91. lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_response.py +43 -17
  92. lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_sort_order.py +104 -0
  93. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_logger_media_response.py +149 -0
  94. lightning_sdk/lightning_cloud/openapi/models/v1_list_models_response.py +55 -3
  95. lightning_sdk/lightning_cloud/openapi/models/{v1_list_kubernetes_virtual_machines_response.py → v1_list_virtual_machines_response.py} +16 -16
  96. lightning_sdk/lightning_cloud/openapi/models/v1_lit_logger_media.py +513 -0
  97. lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +27 -53
  98. lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +107 -3
  99. lightning_sdk/lightning_cloud/openapi/models/v1_media_type.py +104 -0
  100. lightning_sdk/lightning_cloud/openapi/models/{v1_ai_pod_v1.py → v1_mithril_direct_v1.py} +51 -51
  101. lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +29 -3
  102. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
  103. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_container_registry_credentials_response.py +1 -27
  104. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_validate_container_registry_body.py → v1_report_cloud_space_instance_idle_state_response.py} +6 -6
  105. lightning_sdk/lightning_cloud/openapi/models/v1_report_machine_system_metrics_response.py +97 -0
  106. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_details.py → v1_tenant_credentials.py} +53 -53
  107. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +183 -157
  108. lightning_sdk/lightning_cloud/openapi/models/{v1_kubernetes_virtual_machine.py → v1_virtual_machine.py} +94 -68
  109. lightning_sdk/lightning_cloud/openapi/models/{v1_kubevirt_vm_configuration.py → v1_vm_configuration.py} +20 -20
  110. lightning_sdk/lightning_cloud/openapi/models/{v1_kubevirt_provider_configuration.py → v1_vm_provider_configuration.py} +32 -32
  111. lightning_sdk/lightning_cloud/openapi/models/virtual_machine_service_create_virtual_machine_body.py +565 -0
  112. lightning_sdk/lightning_cloud/openapi/models/virtual_machine_service_update_virtual_machine_body.py +97 -0
  113. lightning_sdk/lightning_cloud/openapi/rest.py +2 -2
  114. lightning_sdk/lightning_cloud/rest_client.py +0 -2
  115. lightning_sdk/machine.py +3 -3
  116. lightning_sdk/studio.py +14 -4
  117. lightning_sdk/teamspace.py +28 -7
  118. lightning_sdk/utils/logging.py +2 -1
  119. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/METADATA +1 -5
  120. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/RECORD +125 -102
  121. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/WHEEL +1 -1
  122. lightning_sdk/lightning_cloud/cli/__main__.py +0 -29
  123. lightning_sdk/lightning_cloud/openapi/models/kubernetes_virtual_machine_service_create_kubernetes_virtual_machine_body.py +0 -513
  124. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_info.py +0 -281
  125. lightning_sdk/lightning_cloud/openapi/models/v1_kubevirt_vm_resources.py +0 -201
  126. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +0 -103
  127. /lightning_sdk/lightning_cloud/openapi/models/{v1_list_filesystem_mmts_response.py → v1_list_filesystem_mm_ts_response.py} +0 -0
  128. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/LICENSE +0 -0
  129. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/entry_points.txt +0 -0
  130. {lightning_sdk-2025.12.17.dist-info → lightning_sdk-2026.1.27.dist-info}/top_level.txt +0 -0
@@ -41,6 +41,7 @@ class V1ExternalSearchUser(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'email': 'str',
44
45
  'first_name': 'str',
45
46
  'id': 'str',
46
47
  'internal': 'bool',
@@ -53,6 +54,7 @@ class V1ExternalSearchUser(object):
53
54
  }
54
55
 
55
56
  attribute_map = {
57
+ 'email': 'email',
56
58
  'first_name': 'firstName',
57
59
  'id': 'id',
58
60
  'internal': 'internal',
@@ -64,8 +66,9 @@ class V1ExternalSearchUser(object):
64
66
  'username': 'username'
65
67
  }
66
68
 
67
- def __init__(self, first_name: 'str' =None, id: 'str' =None, internal: 'bool' =None, last_name: 'str' =None, organization: 'str' =None, picture_url: 'str' =None, role: 'str' =None, sb: 'bool' =None, username: 'str' =None): # noqa: E501
69
+ def __init__(self, email: 'str' =None, first_name: 'str' =None, id: 'str' =None, internal: 'bool' =None, last_name: 'str' =None, organization: 'str' =None, picture_url: 'str' =None, role: 'str' =None, sb: 'bool' =None, username: 'str' =None): # noqa: E501
68
70
  """V1ExternalSearchUser - a model defined in Swagger""" # noqa: E501
71
+ self._email = None
69
72
  self._first_name = None
70
73
  self._id = None
71
74
  self._internal = None
@@ -76,6 +79,8 @@ class V1ExternalSearchUser(object):
76
79
  self._sb = None
77
80
  self._username = None
78
81
  self.discriminator = None
82
+ if email is not None:
83
+ self.email = email
79
84
  if first_name is not None:
80
85
  self.first_name = first_name
81
86
  if id is not None:
@@ -95,6 +100,27 @@ class V1ExternalSearchUser(object):
95
100
  if username is not None:
96
101
  self.username = username
97
102
 
103
+ @property
104
+ def email(self) -> 'str':
105
+ """Gets the email of this V1ExternalSearchUser. # noqa: E501
106
+
107
+
108
+ :return: The email of this V1ExternalSearchUser. # noqa: E501
109
+ :rtype: str
110
+ """
111
+ return self._email
112
+
113
+ @email.setter
114
+ def email(self, email: 'str'):
115
+ """Sets the email of this V1ExternalSearchUser.
116
+
117
+
118
+ :param email: The email of this V1ExternalSearchUser. # noqa: E501
119
+ :type: str
120
+ """
121
+
122
+ self._email = email
123
+
98
124
  @property
99
125
  def first_name(self) -> 'str':
100
126
  """Gets the first_name of this V1ExternalSearchUser. # noqa: E501
@@ -42,8 +42,11 @@ class V1GenericJobSpec(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'image': 'str',
45
+ 'instance_type': 'str',
45
46
  'lock_out': 'bool',
46
47
  'managed': 'bool',
48
+ 'num_instances': 'int',
49
+ 'reserved': 'bool',
47
50
  'service_id': 'str',
48
51
  'spot': 'bool',
49
52
  'template_id': 'str'
@@ -51,28 +54,40 @@ class V1GenericJobSpec(object):
51
54
 
52
55
  attribute_map = {
53
56
  'image': 'image',
57
+ 'instance_type': 'instanceType',
54
58
  'lock_out': 'lockOut',
55
59
  'managed': 'managed',
60
+ 'num_instances': 'numInstances',
61
+ 'reserved': 'reserved',
56
62
  'service_id': 'serviceId',
57
63
  'spot': 'spot',
58
64
  'template_id': 'templateId'
59
65
  }
60
66
 
61
- def __init__(self, image: 'str' =None, lock_out: 'bool' =None, managed: 'bool' =None, service_id: 'str' =None, spot: 'bool' =None, template_id: 'str' =None): # noqa: E501
67
+ def __init__(self, image: 'str' =None, instance_type: 'str' =None, lock_out: 'bool' =None, managed: 'bool' =None, num_instances: 'int' =None, reserved: 'bool' =None, service_id: 'str' =None, spot: 'bool' =None, template_id: 'str' =None): # noqa: E501
62
68
  """V1GenericJobSpec - a model defined in Swagger""" # noqa: E501
63
69
  self._image = None
70
+ self._instance_type = None
64
71
  self._lock_out = None
65
72
  self._managed = None
73
+ self._num_instances = None
74
+ self._reserved = None
66
75
  self._service_id = None
67
76
  self._spot = None
68
77
  self._template_id = None
69
78
  self.discriminator = None
70
79
  if image is not None:
71
80
  self.image = image
81
+ if instance_type is not None:
82
+ self.instance_type = instance_type
72
83
  if lock_out is not None:
73
84
  self.lock_out = lock_out
74
85
  if managed is not None:
75
86
  self.managed = managed
87
+ if num_instances is not None:
88
+ self.num_instances = num_instances
89
+ if reserved is not None:
90
+ self.reserved = reserved
76
91
  if service_id is not None:
77
92
  self.service_id = service_id
78
93
  if spot is not None:
@@ -101,6 +116,27 @@ class V1GenericJobSpec(object):
101
116
 
102
117
  self._image = image
103
118
 
119
+ @property
120
+ def instance_type(self) -> 'str':
121
+ """Gets the instance_type of this V1GenericJobSpec. # noqa: E501
122
+
123
+
124
+ :return: The instance_type of this V1GenericJobSpec. # noqa: E501
125
+ :rtype: str
126
+ """
127
+ return self._instance_type
128
+
129
+ @instance_type.setter
130
+ def instance_type(self, instance_type: 'str'):
131
+ """Sets the instance_type of this V1GenericJobSpec.
132
+
133
+
134
+ :param instance_type: The instance_type of this V1GenericJobSpec. # noqa: E501
135
+ :type: str
136
+ """
137
+
138
+ self._instance_type = instance_type
139
+
104
140
  @property
105
141
  def lock_out(self) -> 'bool':
106
142
  """Gets the lock_out of this V1GenericJobSpec. # noqa: E501
@@ -143,6 +179,48 @@ class V1GenericJobSpec(object):
143
179
 
144
180
  self._managed = managed
145
181
 
182
+ @property
183
+ def num_instances(self) -> 'int':
184
+ """Gets the num_instances of this V1GenericJobSpec. # noqa: E501
185
+
186
+
187
+ :return: The num_instances of this V1GenericJobSpec. # noqa: E501
188
+ :rtype: int
189
+ """
190
+ return self._num_instances
191
+
192
+ @num_instances.setter
193
+ def num_instances(self, num_instances: 'int'):
194
+ """Sets the num_instances of this V1GenericJobSpec.
195
+
196
+
197
+ :param num_instances: The num_instances of this V1GenericJobSpec. # noqa: E501
198
+ :type: int
199
+ """
200
+
201
+ self._num_instances = num_instances
202
+
203
+ @property
204
+ def reserved(self) -> 'bool':
205
+ """Gets the reserved of this V1GenericJobSpec. # noqa: E501
206
+
207
+
208
+ :return: The reserved of this V1GenericJobSpec. # noqa: E501
209
+ :rtype: bool
210
+ """
211
+ return self._reserved
212
+
213
+ @reserved.setter
214
+ def reserved(self, reserved: 'bool'):
215
+ """Sets the reserved of this V1GenericJobSpec.
216
+
217
+
218
+ :param reserved: The reserved of this V1GenericJobSpec. # noqa: E501
219
+ :type: bool
220
+ """
221
+
222
+ self._reserved = reserved
223
+
146
224
  @property
147
225
  def service_id(self) -> 'str':
148
226
  """Gets the service_id of this V1GenericJobSpec. # noqa: E501
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
28
28
  from datetime import datetime
29
29
  from lightning_sdk.lightning_cloud.openapi.models import *
30
30
 
31
- class V1ValidateContainerRegistryResponse(object):
31
+ class V1GetKubernetesPodLogsResponse(object):
32
32
  """NOTE: This class is auto generated by the swagger code generator program.
33
33
 
34
34
  Do not edit the class manually.
@@ -41,66 +41,66 @@ class V1ValidateContainerRegistryResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'message': 'str',
45
- 'valid': 'bool'
44
+ 'follow_url': 'str',
45
+ 'pages': 'list[V1KubernetesPodLogsPage]'
46
46
  }
47
47
 
48
48
  attribute_map = {
49
- 'message': 'message',
50
- 'valid': 'valid'
49
+ 'follow_url': 'followUrl',
50
+ 'pages': 'pages'
51
51
  }
52
52
 
53
- def __init__(self, message: 'str' =None, valid: 'bool' =None): # noqa: E501
54
- """V1ValidateContainerRegistryResponse - a model defined in Swagger""" # noqa: E501
55
- self._message = None
56
- self._valid = None
53
+ def __init__(self, follow_url: 'str' =None, pages: 'list[V1KubernetesPodLogsPage]' =None): # noqa: E501
54
+ """V1GetKubernetesPodLogsResponse - a model defined in Swagger""" # noqa: E501
55
+ self._follow_url = None
56
+ self._pages = None
57
57
  self.discriminator = None
58
- if message is not None:
59
- self.message = message
60
- if valid is not None:
61
- self.valid = valid
58
+ if follow_url is not None:
59
+ self.follow_url = follow_url
60
+ if pages is not None:
61
+ self.pages = pages
62
62
 
63
63
  @property
64
- def message(self) -> 'str':
65
- """Gets the message of this V1ValidateContainerRegistryResponse. # noqa: E501
64
+ def follow_url(self) -> 'str':
65
+ """Gets the follow_url of this V1GetKubernetesPodLogsResponse. # noqa: E501
66
66
 
67
67
 
68
- :return: The message of this V1ValidateContainerRegistryResponse. # noqa: E501
68
+ :return: The follow_url of this V1GetKubernetesPodLogsResponse. # noqa: E501
69
69
  :rtype: str
70
70
  """
71
- return self._message
71
+ return self._follow_url
72
72
 
73
- @message.setter
74
- def message(self, message: 'str'):
75
- """Sets the message of this V1ValidateContainerRegistryResponse.
73
+ @follow_url.setter
74
+ def follow_url(self, follow_url: 'str'):
75
+ """Sets the follow_url of this V1GetKubernetesPodLogsResponse.
76
76
 
77
77
 
78
- :param message: The message of this V1ValidateContainerRegistryResponse. # noqa: E501
78
+ :param follow_url: The follow_url of this V1GetKubernetesPodLogsResponse. # noqa: E501
79
79
  :type: str
80
80
  """
81
81
 
82
- self._message = message
82
+ self._follow_url = follow_url
83
83
 
84
84
  @property
85
- def valid(self) -> 'bool':
86
- """Gets the valid of this V1ValidateContainerRegistryResponse. # noqa: E501
85
+ def pages(self) -> 'list[V1KubernetesPodLogsPage]':
86
+ """Gets the pages of this V1GetKubernetesPodLogsResponse. # noqa: E501
87
87
 
88
88
 
89
- :return: The valid of this V1ValidateContainerRegistryResponse. # noqa: E501
90
- :rtype: bool
89
+ :return: The pages of this V1GetKubernetesPodLogsResponse. # noqa: E501
90
+ :rtype: list[V1KubernetesPodLogsPage]
91
91
  """
92
- return self._valid
92
+ return self._pages
93
93
 
94
- @valid.setter
95
- def valid(self, valid: 'bool'):
96
- """Sets the valid of this V1ValidateContainerRegistryResponse.
94
+ @pages.setter
95
+ def pages(self, pages: 'list[V1KubernetesPodLogsPage]'):
96
+ """Sets the pages of this V1GetKubernetesPodLogsResponse.
97
97
 
98
98
 
99
- :param valid: The valid of this V1ValidateContainerRegistryResponse. # noqa: E501
100
- :type: bool
99
+ :param pages: The pages of this V1GetKubernetesPodLogsResponse. # noqa: E501
100
+ :type: list[V1KubernetesPodLogsPage]
101
101
  """
102
102
 
103
- self._valid = valid
103
+ self._pages = pages
104
104
 
105
105
  def to_dict(self) -> dict:
106
106
  """Returns the model properties as a dict"""
@@ -123,7 +123,7 @@ class V1ValidateContainerRegistryResponse(object):
123
123
  ))
124
124
  else:
125
125
  result[attr] = value
126
- if issubclass(V1ValidateContainerRegistryResponse, dict):
126
+ if issubclass(V1GetKubernetesPodLogsResponse, dict):
127
127
  for key, value in self.items():
128
128
  result[key] = value
129
129
 
@@ -137,13 +137,13 @@ class V1ValidateContainerRegistryResponse(object):
137
137
  """For `print` and `pprint`"""
138
138
  return self.to_str()
139
139
 
140
- def __eq__(self, other: 'V1ValidateContainerRegistryResponse') -> bool:
140
+ def __eq__(self, other: 'V1GetKubernetesPodLogsResponse') -> bool:
141
141
  """Returns true if both objects are equal"""
142
- if not isinstance(other, V1ValidateContainerRegistryResponse):
142
+ if not isinstance(other, V1GetKubernetesPodLogsResponse):
143
143
  return False
144
144
 
145
145
  return self.__dict__ == other.__dict__
146
146
 
147
- def __ne__(self, other: 'V1ValidateContainerRegistryResponse') -> bool:
147
+ def __ne__(self, other: 'V1GetKubernetesPodLogsResponse') -> bool:
148
148
  """Returns true if both objects are not equal"""
149
149
  return not self == other
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
28
28
  from datetime import datetime
29
29
  from lightning_sdk.lightning_cloud.openapi.models import *
30
30
 
31
- class V1GetMachineResponse(object):
31
+ class V1GetKubernetesPodResponse(object):
32
32
  """NOTE: This class is auto generated by the swagger code generator program.
33
33
 
34
34
  Do not edit the class manually.
@@ -41,40 +41,40 @@ class V1GetMachineResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'machine': 'V1Machine'
44
+ 'pod': 'V1KubernetesPod'
45
45
  }
46
46
 
47
47
  attribute_map = {
48
- 'machine': 'machine'
48
+ 'pod': 'pod'
49
49
  }
50
50
 
51
- def __init__(self, machine: 'V1Machine' =None): # noqa: E501
52
- """V1GetMachineResponse - a model defined in Swagger""" # noqa: E501
53
- self._machine = None
51
+ def __init__(self, pod: 'V1KubernetesPod' =None): # noqa: E501
52
+ """V1GetKubernetesPodResponse - a model defined in Swagger""" # noqa: E501
53
+ self._pod = None
54
54
  self.discriminator = None
55
- if machine is not None:
56
- self.machine = machine
55
+ if pod is not None:
56
+ self.pod = pod
57
57
 
58
58
  @property
59
- def machine(self) -> 'V1Machine':
60
- """Gets the machine of this V1GetMachineResponse. # noqa: E501
59
+ def pod(self) -> 'V1KubernetesPod':
60
+ """Gets the pod of this V1GetKubernetesPodResponse. # noqa: E501
61
61
 
62
62
 
63
- :return: The machine of this V1GetMachineResponse. # noqa: E501
64
- :rtype: V1Machine
63
+ :return: The pod of this V1GetKubernetesPodResponse. # noqa: E501
64
+ :rtype: V1KubernetesPod
65
65
  """
66
- return self._machine
66
+ return self._pod
67
67
 
68
- @machine.setter
69
- def machine(self, machine: 'V1Machine'):
70
- """Sets the machine of this V1GetMachineResponse.
68
+ @pod.setter
69
+ def pod(self, pod: 'V1KubernetesPod'):
70
+ """Sets the pod of this V1GetKubernetesPodResponse.
71
71
 
72
72
 
73
- :param machine: The machine of this V1GetMachineResponse. # noqa: E501
74
- :type: V1Machine
73
+ :param pod: The pod of this V1GetKubernetesPodResponse. # noqa: E501
74
+ :type: V1KubernetesPod
75
75
  """
76
76
 
77
- self._machine = machine
77
+ self._pod = pod
78
78
 
79
79
  def to_dict(self) -> dict:
80
80
  """Returns the model properties as a dict"""
@@ -97,7 +97,7 @@ class V1GetMachineResponse(object):
97
97
  ))
98
98
  else:
99
99
  result[attr] = value
100
- if issubclass(V1GetMachineResponse, dict):
100
+ if issubclass(V1GetKubernetesPodResponse, dict):
101
101
  for key, value in self.items():
102
102
  result[key] = value
103
103
 
@@ -111,13 +111,13 @@ class V1GetMachineResponse(object):
111
111
  """For `print` and `pprint`"""
112
112
  return self.to_str()
113
113
 
114
- def __eq__(self, other: 'V1GetMachineResponse') -> bool:
114
+ def __eq__(self, other: 'V1GetKubernetesPodResponse') -> bool:
115
115
  """Returns true if both objects are equal"""
116
- if not isinstance(other, V1GetMachineResponse):
116
+ if not isinstance(other, V1GetKubernetesPodResponse):
117
117
  return False
118
118
 
119
119
  return self.__dict__ == other.__dict__
120
120
 
121
- def __ne__(self, other: 'V1GetMachineResponse') -> bool:
121
+ def __ne__(self, other: 'V1GetKubernetesPodResponse') -> bool:
122
122
  """Returns true if both objects are not equal"""
123
123
  return not self == other
@@ -41,6 +41,7 @@ class V1Job(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'capacity_reservation_id': 'str',
44
45
  'created_at': 'datetime',
45
46
  'deleted_at': 'datetime',
46
47
  'deployment_id': 'str',
@@ -77,6 +78,7 @@ class V1Job(object):
77
78
  }
78
79
 
79
80
  attribute_map = {
81
+ 'capacity_reservation_id': 'capacityReservationId',
80
82
  'created_at': 'createdAt',
81
83
  'deleted_at': 'deletedAt',
82
84
  'deployment_id': 'deploymentId',
@@ -112,8 +114,9 @@ class V1Job(object):
112
114
  'visibility': 'visibility'
113
115
  }
114
116
 
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
117
+ def __init__(self, capacity_reservation_id: 'str' =None, 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
116
118
  """V1Job - a model defined in Swagger""" # noqa: E501
119
+ self._capacity_reservation_id = None
117
120
  self._created_at = None
118
121
  self._deleted_at = None
119
122
  self._deployment_id = None
@@ -148,6 +151,8 @@ class V1Job(object):
148
151
  self._user_logs_started_at = None
149
152
  self._visibility = None
150
153
  self.discriminator = None
154
+ if capacity_reservation_id is not None:
155
+ self.capacity_reservation_id = capacity_reservation_id
151
156
  if created_at is not None:
152
157
  self.created_at = created_at
153
158
  if deleted_at is not None:
@@ -215,6 +220,27 @@ class V1Job(object):
215
220
  if visibility is not None:
216
221
  self.visibility = visibility
217
222
 
223
+ @property
224
+ def capacity_reservation_id(self) -> 'str':
225
+ """Gets the capacity_reservation_id of this V1Job. # noqa: E501
226
+
227
+
228
+ :return: The capacity_reservation_id of this V1Job. # noqa: E501
229
+ :rtype: str
230
+ """
231
+ return self._capacity_reservation_id
232
+
233
+ @capacity_reservation_id.setter
234
+ def capacity_reservation_id(self, capacity_reservation_id: 'str'):
235
+ """Sets the capacity_reservation_id of this V1Job.
236
+
237
+
238
+ :param capacity_reservation_id: The capacity_reservation_id of this V1Job. # noqa: E501
239
+ :type: str
240
+ """
241
+
242
+ self._capacity_reservation_id = capacity_reservation_id
243
+
218
244
  @property
219
245
  def created_at(self) -> 'datetime':
220
246
  """Gets the created_at of this V1Job. # noqa: E501
@@ -56,6 +56,7 @@ class V1JobSpec(object):
56
56
  'include_credentials': 'bool',
57
57
  'instance_name': 'str',
58
58
  'instance_type': 'str',
59
+ 'machine_id': 'str',
59
60
  'machine_image_version': 'str',
60
61
  'modified_volume': 'bool',
61
62
  'path_mappings': 'list[V1PathMapping]',
@@ -91,6 +92,7 @@ class V1JobSpec(object):
91
92
  'include_credentials': 'includeCredentials',
92
93
  'instance_name': 'instanceName',
93
94
  'instance_type': 'instanceType',
95
+ 'machine_id': 'machineId',
94
96
  'machine_image_version': 'machineImageVersion',
95
97
  'modified_volume': 'modifiedVolume',
96
98
  'path_mappings': 'pathMappings',
@@ -110,7 +112,7 @@ class V1JobSpec(object):
110
112
  'volumes': 'volumes'
111
113
  }
112
114
 
113
- 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, shutdown_delay_seconds: 'int' =None, shutdown_timeout_seconds: 'int' =None, spot: 'bool' =None, use_tls: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
115
+ 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_id: '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, shutdown_delay_seconds: 'int' =None, shutdown_timeout_seconds: 'int' =None, spot: 'bool' =None, use_tls: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
114
116
  """V1JobSpec - a model defined in Swagger""" # noqa: E501
115
117
  self._artifacts_destination = None
116
118
  self._artifacts_source = None
@@ -127,6 +129,7 @@ class V1JobSpec(object):
127
129
  self._include_credentials = None
128
130
  self._instance_name = None
129
131
  self._instance_type = None
132
+ self._machine_id = None
130
133
  self._machine_image_version = None
131
134
  self._modified_volume = None
132
135
  self._path_mappings = None
@@ -175,6 +178,8 @@ class V1JobSpec(object):
175
178
  self.instance_name = instance_name
176
179
  if instance_type is not None:
177
180
  self.instance_type = instance_type
181
+ if machine_id is not None:
182
+ self.machine_id = machine_id
178
183
  if machine_image_version is not None:
179
184
  self.machine_image_version = machine_image_version
180
185
  if modified_volume is not None:
@@ -531,6 +536,27 @@ class V1JobSpec(object):
531
536
 
532
537
  self._instance_type = instance_type
533
538
 
539
+ @property
540
+ def machine_id(self) -> 'str':
541
+ """Gets the machine_id of this V1JobSpec. # noqa: E501
542
+
543
+
544
+ :return: The machine_id of this V1JobSpec. # noqa: E501
545
+ :rtype: str
546
+ """
547
+ return self._machine_id
548
+
549
+ @machine_id.setter
550
+ def machine_id(self, machine_id: 'str'):
551
+ """Sets the machine_id of this V1JobSpec.
552
+
553
+
554
+ :param machine_id: The machine_id of this V1JobSpec. # noqa: E501
555
+ :type: str
556
+ """
557
+
558
+ self._machine_id = machine_id
559
+
534
560
  @property
535
561
  def machine_image_version(self) -> 'str':
536
562
  """Gets the machine_image_version of this V1JobSpec. # noqa: E501
@@ -49,6 +49,7 @@ class V1JoinableOrganization(object):
49
49
  'location': 'str',
50
50
  'member_count': 'str',
51
51
  'name': 'str',
52
+ 'skip_phone_verification': 'bool',
52
53
  'twitter_username': 'str'
53
54
  }
54
55
 
@@ -61,10 +62,11 @@ class V1JoinableOrganization(object):
61
62
  'location': 'location',
62
63
  'member_count': 'memberCount',
63
64
  'name': 'name',
65
+ 'skip_phone_verification': 'skipPhoneVerification',
64
66
  'twitter_username': 'twitterUsername'
65
67
  }
66
68
 
67
- def __init__(self, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, id: 'str' =None, location: 'str' =None, member_count: 'str' =None, name: 'str' =None, twitter_username: 'str' =None): # noqa: E501
69
+ def __init__(self, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, id: 'str' =None, location: 'str' =None, member_count: 'str' =None, name: 'str' =None, skip_phone_verification: 'bool' =None, twitter_username: 'str' =None): # noqa: E501
68
70
  """V1JoinableOrganization - a model defined in Swagger""" # noqa: E501
69
71
  self._description = None
70
72
  self._display_name = None
@@ -74,6 +76,7 @@ class V1JoinableOrganization(object):
74
76
  self._location = None
75
77
  self._member_count = None
76
78
  self._name = None
79
+ self._skip_phone_verification = None
77
80
  self._twitter_username = None
78
81
  self.discriminator = None
79
82
  if description is not None:
@@ -92,6 +95,8 @@ class V1JoinableOrganization(object):
92
95
  self.member_count = member_count
93
96
  if name is not None:
94
97
  self.name = name
98
+ if skip_phone_verification is not None:
99
+ self.skip_phone_verification = skip_phone_verification
95
100
  if twitter_username is not None:
96
101
  self.twitter_username = twitter_username
97
102
 
@@ -263,6 +268,27 @@ class V1JoinableOrganization(object):
263
268
 
264
269
  self._name = name
265
270
 
271
+ @property
272
+ def skip_phone_verification(self) -> 'bool':
273
+ """Gets the skip_phone_verification of this V1JoinableOrganization. # noqa: E501
274
+
275
+
276
+ :return: The skip_phone_verification of this V1JoinableOrganization. # noqa: E501
277
+ :rtype: bool
278
+ """
279
+ return self._skip_phone_verification
280
+
281
+ @skip_phone_verification.setter
282
+ def skip_phone_verification(self, skip_phone_verification: 'bool'):
283
+ """Sets the skip_phone_verification of this V1JoinableOrganization.
284
+
285
+
286
+ :param skip_phone_verification: The skip_phone_verification of this V1JoinableOrganization. # noqa: E501
287
+ :type: bool
288
+ """
289
+
290
+ self._skip_phone_verification = skip_phone_verification
291
+
266
292
  @property
267
293
  def twitter_username(self) -> 'str':
268
294
  """Gets the twitter_username of this V1JoinableOrganization. # noqa: E501