lightning-sdk 2026.1.22__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 (58) hide show
  1. lightning_sdk/__version__.py +1 -1
  2. lightning_sdk/api/studio_api.py +7 -14
  3. lightning_sdk/api/teamspace_api.py +155 -48
  4. lightning_sdk/api/utils.py +8 -0
  5. lightning_sdk/cli/cp/__init__.py +14 -11
  6. lightning_sdk/cli/cp/teamspace_uploads.py +93 -0
  7. lightning_sdk/cli/legacy/download.py +29 -98
  8. lightning_sdk/cli/legacy/upload.py +24 -31
  9. lightning_sdk/cli/studio/cp.py +8 -5
  10. lightning_sdk/cli/studio/ls.py +1 -1
  11. lightning_sdk/cli/studio/rm.py +1 -1
  12. lightning_sdk/cli/utils/{studio_filesystem.py → filesystem.py} +43 -5
  13. lightning_sdk/exceptions.py +27 -0
  14. lightning_sdk/lightning_cloud/openapi/__init__.py +14 -12
  15. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  16. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +5 -1
  17. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +163 -466
  18. lightning_sdk/lightning_cloud/openapi/api/container_registry_service_api.py +456 -0
  19. lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +5 -1
  20. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +11 -11
  21. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +113 -0
  22. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +113 -0
  23. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
  24. lightning_sdk/lightning_cloud/openapi/models/__init__.py +13 -12
  25. lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_integration.py → container_registry_config_ecr.py} +49 -23
  26. lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_status.py → container_registry_provider.py} +14 -10
  27. lightning_sdk/lightning_cloud/openapi/models/container_registry_service_create_container_registry_body.py +201 -0
  28. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config_input.py → container_registry_service_refresh_container_registry_credentials_body.py} +21 -21
  29. lightning_sdk/lightning_cloud/openapi/models/jobs_service_duplicate_deployment_body.py +175 -0
  30. lightning_sdk/lightning_cloud/openapi/models/organizations_service_update_org_role_body.py +175 -0
  31. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry.py +63 -89
  35. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_add_container_registry_body.py → v1_container_registry_config.py} +16 -16
  36. lightning_sdk/lightning_cloud/openapi/models/{v1_validate_container_registry_response.py → v1_container_registry_scopes.py} +39 -39
  37. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_validate_container_registry_body.py → v1_create_container_registry_response.py} +6 -6
  38. lightning_sdk/lightning_cloud/openapi/models/{cluster_service_refresh_container_registry_credentials_body.py → v1_delete_org_cluster_capacity_reservation_response.py} +6 -6
  39. lightning_sdk/lightning_cloud/openapi/models/v1_describe_org_cluster_capacity_reservation_response.py +201 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +79 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +1 -27
  43. lightning_sdk/lightning_cloud/openapi/models/v1_list_container_registries_response.py +6 -6
  44. lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config.py → v1_mithril_direct_v1.py} +51 -51
  45. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_container_registry_credentials_response.py +1 -27
  46. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -53
  47. lightning_sdk/lightning_cloud/openapi/rest.py +2 -2
  48. lightning_sdk/teamspace.py +28 -7
  49. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/METADATA +1 -1
  50. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/RECORD +55 -52
  51. lightning_sdk/lightning_cloud/openapi/models/v1_add_container_registry_response.py +0 -123
  52. lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_info.py +0 -281
  53. lightning_sdk/lightning_cloud/openapi/models/v1_ecr_registry_details.py +0 -201
  54. /lightning_sdk/lightning_cloud/openapi/models/{v1_list_filesystem_mmts_response.py → v1_list_filesystem_mm_ts_response.py} +0 -0
  55. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/LICENSE +0 -0
  56. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/WHEEL +0 -0
  57. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/entry_points.txt +0 -0
  58. {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/top_level.txt +0 -0
@@ -41,65 +41,60 @@ class V1ContainerRegistry(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'ecr': 'V1ECRRegistryConfig',
44
+ 'config': 'V1ContainerRegistryConfig',
45
45
  'id': 'str',
46
- 'last_refresh': 'datetime',
47
- 'status': 'V1ContainerRegistryStatus',
48
- 'status_message': 'str',
49
- 'validated_at': 'datetime'
46
+ 'provider': 'ContainerRegistryProvider',
47
+ 'scopes': 'V1ContainerRegistryScopes',
48
+ 'url': 'str'
50
49
  }
51
50
 
52
51
  attribute_map = {
53
- 'ecr': 'ecr',
52
+ 'config': 'config',
54
53
  'id': 'id',
55
- 'last_refresh': 'lastRefresh',
56
- 'status': 'status',
57
- 'status_message': 'statusMessage',
58
- 'validated_at': 'validatedAt'
54
+ 'provider': 'provider',
55
+ 'scopes': 'scopes',
56
+ 'url': 'url'
59
57
  }
60
58
 
61
- def __init__(self, ecr: 'V1ECRRegistryConfig' =None, id: 'str' =None, last_refresh: 'datetime' =None, status: 'V1ContainerRegistryStatus' =None, status_message: 'str' =None, validated_at: 'datetime' =None): # noqa: E501
59
+ def __init__(self, config: 'V1ContainerRegistryConfig' =None, id: 'str' =None, provider: 'ContainerRegistryProvider' =None, scopes: 'V1ContainerRegistryScopes' =None, url: 'str' =None): # noqa: E501
62
60
  """V1ContainerRegistry - a model defined in Swagger""" # noqa: E501
63
- self._ecr = None
61
+ self._config = None
64
62
  self._id = None
65
- self._last_refresh = None
66
- self._status = None
67
- self._status_message = None
68
- self._validated_at = None
63
+ self._provider = None
64
+ self._scopes = None
65
+ self._url = None
69
66
  self.discriminator = None
70
- if ecr is not None:
71
- self.ecr = ecr
67
+ if config is not None:
68
+ self.config = config
72
69
  if id is not None:
73
70
  self.id = id
74
- if last_refresh is not None:
75
- self.last_refresh = last_refresh
76
- if status is not None:
77
- self.status = status
78
- if status_message is not None:
79
- self.status_message = status_message
80
- if validated_at is not None:
81
- self.validated_at = validated_at
71
+ if provider is not None:
72
+ self.provider = provider
73
+ if scopes is not None:
74
+ self.scopes = scopes
75
+ if url is not None:
76
+ self.url = url
82
77
 
83
78
  @property
84
- def ecr(self) -> 'V1ECRRegistryConfig':
85
- """Gets the ecr of this V1ContainerRegistry. # noqa: E501
79
+ def config(self) -> 'V1ContainerRegistryConfig':
80
+ """Gets the config of this V1ContainerRegistry. # noqa: E501
86
81
 
87
82
 
88
- :return: The ecr of this V1ContainerRegistry. # noqa: E501
89
- :rtype: V1ECRRegistryConfig
83
+ :return: The config of this V1ContainerRegistry. # noqa: E501
84
+ :rtype: V1ContainerRegistryConfig
90
85
  """
91
- return self._ecr
86
+ return self._config
92
87
 
93
- @ecr.setter
94
- def ecr(self, ecr: 'V1ECRRegistryConfig'):
95
- """Sets the ecr of this V1ContainerRegistry.
88
+ @config.setter
89
+ def config(self, config: 'V1ContainerRegistryConfig'):
90
+ """Sets the config of this V1ContainerRegistry.
96
91
 
97
92
 
98
- :param ecr: The ecr of this V1ContainerRegistry. # noqa: E501
99
- :type: V1ECRRegistryConfig
93
+ :param config: The config of this V1ContainerRegistry. # noqa: E501
94
+ :type: V1ContainerRegistryConfig
100
95
  """
101
96
 
102
- self._ecr = ecr
97
+ self._config = config
103
98
 
104
99
  @property
105
100
  def id(self) -> 'str':
@@ -123,88 +118,67 @@ class V1ContainerRegistry(object):
123
118
  self._id = id
124
119
 
125
120
  @property
126
- def last_refresh(self) -> 'datetime':
127
- """Gets the last_refresh of this V1ContainerRegistry. # noqa: E501
121
+ def provider(self) -> 'ContainerRegistryProvider':
122
+ """Gets the provider of this V1ContainerRegistry. # noqa: E501
128
123
 
129
124
 
130
- :return: The last_refresh of this V1ContainerRegistry. # noqa: E501
131
- :rtype: datetime
125
+ :return: The provider of this V1ContainerRegistry. # noqa: E501
126
+ :rtype: ContainerRegistryProvider
132
127
  """
133
- return self._last_refresh
128
+ return self._provider
134
129
 
135
- @last_refresh.setter
136
- def last_refresh(self, last_refresh: 'datetime'):
137
- """Sets the last_refresh of this V1ContainerRegistry.
130
+ @provider.setter
131
+ def provider(self, provider: 'ContainerRegistryProvider'):
132
+ """Sets the provider of this V1ContainerRegistry.
138
133
 
139
134
 
140
- :param last_refresh: The last_refresh of this V1ContainerRegistry. # noqa: E501
141
- :type: datetime
135
+ :param provider: The provider of this V1ContainerRegistry. # noqa: E501
136
+ :type: ContainerRegistryProvider
142
137
  """
143
138
 
144
- self._last_refresh = last_refresh
139
+ self._provider = provider
145
140
 
146
141
  @property
147
- def status(self) -> 'V1ContainerRegistryStatus':
148
- """Gets the status of this V1ContainerRegistry. # noqa: E501
142
+ def scopes(self) -> 'V1ContainerRegistryScopes':
143
+ """Gets the scopes of this V1ContainerRegistry. # noqa: E501
149
144
 
150
145
 
151
- :return: The status of this V1ContainerRegistry. # noqa: E501
152
- :rtype: V1ContainerRegistryStatus
146
+ :return: The scopes of this V1ContainerRegistry. # noqa: E501
147
+ :rtype: V1ContainerRegistryScopes
153
148
  """
154
- return self._status
149
+ return self._scopes
155
150
 
156
- @status.setter
157
- def status(self, status: 'V1ContainerRegistryStatus'):
158
- """Sets the status of this V1ContainerRegistry.
151
+ @scopes.setter
152
+ def scopes(self, scopes: 'V1ContainerRegistryScopes'):
153
+ """Sets the scopes of this V1ContainerRegistry.
159
154
 
160
155
 
161
- :param status: The status of this V1ContainerRegistry. # noqa: E501
162
- :type: V1ContainerRegistryStatus
156
+ :param scopes: The scopes of this V1ContainerRegistry. # noqa: E501
157
+ :type: V1ContainerRegistryScopes
163
158
  """
164
159
 
165
- self._status = status
160
+ self._scopes = scopes
166
161
 
167
162
  @property
168
- def status_message(self) -> 'str':
169
- """Gets the status_message of this V1ContainerRegistry. # noqa: E501
163
+ def url(self) -> 'str':
164
+ """Gets the url of this V1ContainerRegistry. # noqa: E501
170
165
 
171
166
 
172
- :return: The status_message of this V1ContainerRegistry. # noqa: E501
167
+ :return: The url of this V1ContainerRegistry. # noqa: E501
173
168
  :rtype: str
174
169
  """
175
- return self._status_message
170
+ return self._url
176
171
 
177
- @status_message.setter
178
- def status_message(self, status_message: 'str'):
179
- """Sets the status_message of this V1ContainerRegistry.
172
+ @url.setter
173
+ def url(self, url: 'str'):
174
+ """Sets the url of this V1ContainerRegistry.
180
175
 
181
176
 
182
- :param status_message: The status_message of this V1ContainerRegistry. # noqa: E501
177
+ :param url: The url of this V1ContainerRegistry. # noqa: E501
183
178
  :type: str
184
179
  """
185
180
 
186
- self._status_message = status_message
187
-
188
- @property
189
- def validated_at(self) -> 'datetime':
190
- """Gets the validated_at of this V1ContainerRegistry. # noqa: E501
191
-
192
-
193
- :return: The validated_at of this V1ContainerRegistry. # noqa: E501
194
- :rtype: datetime
195
- """
196
- return self._validated_at
197
-
198
- @validated_at.setter
199
- def validated_at(self, validated_at: 'datetime'):
200
- """Sets the validated_at of this V1ContainerRegistry.
201
-
202
-
203
- :param validated_at: The validated_at of this V1ContainerRegistry. # noqa: E501
204
- :type: datetime
205
- """
206
-
207
- self._validated_at = validated_at
181
+ self._url = url
208
182
 
209
183
  def to_dict(self) -> dict:
210
184
  """Returns the model properties as a dict"""
@@ -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 ClusterServiceAddContainerRegistryBody(object):
31
+ class V1ContainerRegistryConfig(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,37 +41,37 @@ class ClusterServiceAddContainerRegistryBody(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'ecr': 'V1ECRRegistryConfigInput'
44
+ 'ecr': 'ContainerRegistryConfigECR'
45
45
  }
46
46
 
47
47
  attribute_map = {
48
48
  'ecr': 'ecr'
49
49
  }
50
50
 
51
- def __init__(self, ecr: 'V1ECRRegistryConfigInput' =None): # noqa: E501
52
- """ClusterServiceAddContainerRegistryBody - a model defined in Swagger""" # noqa: E501
51
+ def __init__(self, ecr: 'ContainerRegistryConfigECR' =None): # noqa: E501
52
+ """V1ContainerRegistryConfig - a model defined in Swagger""" # noqa: E501
53
53
  self._ecr = None
54
54
  self.discriminator = None
55
55
  if ecr is not None:
56
56
  self.ecr = ecr
57
57
 
58
58
  @property
59
- def ecr(self) -> 'V1ECRRegistryConfigInput':
60
- """Gets the ecr of this ClusterServiceAddContainerRegistryBody. # noqa: E501
59
+ def ecr(self) -> 'ContainerRegistryConfigECR':
60
+ """Gets the ecr of this V1ContainerRegistryConfig. # noqa: E501
61
61
 
62
62
 
63
- :return: The ecr of this ClusterServiceAddContainerRegistryBody. # noqa: E501
64
- :rtype: V1ECRRegistryConfigInput
63
+ :return: The ecr of this V1ContainerRegistryConfig. # noqa: E501
64
+ :rtype: ContainerRegistryConfigECR
65
65
  """
66
66
  return self._ecr
67
67
 
68
68
  @ecr.setter
69
- def ecr(self, ecr: 'V1ECRRegistryConfigInput'):
70
- """Sets the ecr of this ClusterServiceAddContainerRegistryBody.
69
+ def ecr(self, ecr: 'ContainerRegistryConfigECR'):
70
+ """Sets the ecr of this V1ContainerRegistryConfig.
71
71
 
72
72
 
73
- :param ecr: The ecr of this ClusterServiceAddContainerRegistryBody. # noqa: E501
74
- :type: V1ECRRegistryConfigInput
73
+ :param ecr: The ecr of this V1ContainerRegistryConfig. # noqa: E501
74
+ :type: ContainerRegistryConfigECR
75
75
  """
76
76
 
77
77
  self._ecr = ecr
@@ -97,7 +97,7 @@ class ClusterServiceAddContainerRegistryBody(object):
97
97
  ))
98
98
  else:
99
99
  result[attr] = value
100
- if issubclass(ClusterServiceAddContainerRegistryBody, dict):
100
+ if issubclass(V1ContainerRegistryConfig, dict):
101
101
  for key, value in self.items():
102
102
  result[key] = value
103
103
 
@@ -111,13 +111,13 @@ class ClusterServiceAddContainerRegistryBody(object):
111
111
  """For `print` and `pprint`"""
112
112
  return self.to_str()
113
113
 
114
- def __eq__(self, other: 'ClusterServiceAddContainerRegistryBody') -> bool:
114
+ def __eq__(self, other: 'V1ContainerRegistryConfig') -> bool:
115
115
  """Returns true if both objects are equal"""
116
- if not isinstance(other, ClusterServiceAddContainerRegistryBody):
116
+ if not isinstance(other, V1ContainerRegistryConfig):
117
117
  return False
118
118
 
119
119
  return self.__dict__ == other.__dict__
120
120
 
121
- def __ne__(self, other: 'ClusterServiceAddContainerRegistryBody') -> bool:
121
+ def __ne__(self, other: 'V1ContainerRegistryConfig') -> bool:
122
122
  """Returns true if both objects are not equal"""
123
123
  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 V1ValidateContainerRegistryResponse(object):
31
+ class V1ContainerRegistryScopes(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
+ 'namespaces': 'list[str]',
45
+ 'project_ids': 'list[str]'
46
46
  }
47
47
 
48
48
  attribute_map = {
49
- 'message': 'message',
50
- 'valid': 'valid'
49
+ 'namespaces': 'namespaces',
50
+ 'project_ids': 'projectIds'
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, namespaces: 'list[str]' =None, project_ids: 'list[str]' =None): # noqa: E501
54
+ """V1ContainerRegistryScopes - a model defined in Swagger""" # noqa: E501
55
+ self._namespaces = None
56
+ self._project_ids = 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 namespaces is not None:
59
+ self.namespaces = namespaces
60
+ if project_ids is not None:
61
+ self.project_ids = project_ids
62
62
 
63
63
  @property
64
- def message(self) -> 'str':
65
- """Gets the message of this V1ValidateContainerRegistryResponse. # noqa: E501
64
+ def namespaces(self) -> 'list[str]':
65
+ """Gets the namespaces of this V1ContainerRegistryScopes. # noqa: E501
66
66
 
67
67
 
68
- :return: The message of this V1ValidateContainerRegistryResponse. # noqa: E501
69
- :rtype: str
68
+ :return: The namespaces of this V1ContainerRegistryScopes. # noqa: E501
69
+ :rtype: list[str]
70
70
  """
71
- return self._message
71
+ return self._namespaces
72
72
 
73
- @message.setter
74
- def message(self, message: 'str'):
75
- """Sets the message of this V1ValidateContainerRegistryResponse.
73
+ @namespaces.setter
74
+ def namespaces(self, namespaces: 'list[str]'):
75
+ """Sets the namespaces of this V1ContainerRegistryScopes.
76
76
 
77
77
 
78
- :param message: The message of this V1ValidateContainerRegistryResponse. # noqa: E501
79
- :type: str
78
+ :param namespaces: The namespaces of this V1ContainerRegistryScopes. # noqa: E501
79
+ :type: list[str]
80
80
  """
81
81
 
82
- self._message = message
82
+ self._namespaces = namespaces
83
83
 
84
84
  @property
85
- def valid(self) -> 'bool':
86
- """Gets the valid of this V1ValidateContainerRegistryResponse. # noqa: E501
85
+ def project_ids(self) -> 'list[str]':
86
+ """Gets the project_ids of this V1ContainerRegistryScopes. # noqa: E501
87
87
 
88
88
 
89
- :return: The valid of this V1ValidateContainerRegistryResponse. # noqa: E501
90
- :rtype: bool
89
+ :return: The project_ids of this V1ContainerRegistryScopes. # noqa: E501
90
+ :rtype: list[str]
91
91
  """
92
- return self._valid
92
+ return self._project_ids
93
93
 
94
- @valid.setter
95
- def valid(self, valid: 'bool'):
96
- """Sets the valid of this V1ValidateContainerRegistryResponse.
94
+ @project_ids.setter
95
+ def project_ids(self, project_ids: 'list[str]'):
96
+ """Sets the project_ids of this V1ContainerRegistryScopes.
97
97
 
98
98
 
99
- :param valid: The valid of this V1ValidateContainerRegistryResponse. # noqa: E501
100
- :type: bool
99
+ :param project_ids: The project_ids of this V1ContainerRegistryScopes. # noqa: E501
100
+ :type: list[str]
101
101
  """
102
102
 
103
- self._valid = valid
103
+ self._project_ids = project_ids
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(V1ContainerRegistryScopes, 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: 'V1ContainerRegistryScopes') -> bool:
141
141
  """Returns true if both objects are equal"""
142
- if not isinstance(other, V1ValidateContainerRegistryResponse):
142
+ if not isinstance(other, V1ContainerRegistryScopes):
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: 'V1ContainerRegistryScopes') -> 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 ClusterServiceValidateContainerRegistryBody(object):
31
+ class V1CreateContainerRegistryResponse(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.
@@ -47,7 +47,7 @@ class ClusterServiceValidateContainerRegistryBody(object):
47
47
  }
48
48
 
49
49
  def __init__(self): # noqa: E501
50
- """ClusterServiceValidateContainerRegistryBody - a model defined in Swagger""" # noqa: E501
50
+ """V1CreateContainerRegistryResponse - a model defined in Swagger""" # noqa: E501
51
51
  self.discriminator = None
52
52
 
53
53
  def to_dict(self) -> dict:
@@ -71,7 +71,7 @@ class ClusterServiceValidateContainerRegistryBody(object):
71
71
  ))
72
72
  else:
73
73
  result[attr] = value
74
- if issubclass(ClusterServiceValidateContainerRegistryBody, dict):
74
+ if issubclass(V1CreateContainerRegistryResponse, dict):
75
75
  for key, value in self.items():
76
76
  result[key] = value
77
77
 
@@ -85,13 +85,13 @@ class ClusterServiceValidateContainerRegistryBody(object):
85
85
  """For `print` and `pprint`"""
86
86
  return self.to_str()
87
87
 
88
- def __eq__(self, other: 'ClusterServiceValidateContainerRegistryBody') -> bool:
88
+ def __eq__(self, other: 'V1CreateContainerRegistryResponse') -> bool:
89
89
  """Returns true if both objects are equal"""
90
- if not isinstance(other, ClusterServiceValidateContainerRegistryBody):
90
+ if not isinstance(other, V1CreateContainerRegistryResponse):
91
91
  return False
92
92
 
93
93
  return self.__dict__ == other.__dict__
94
94
 
95
- def __ne__(self, other: 'ClusterServiceValidateContainerRegistryBody') -> bool:
95
+ def __ne__(self, other: 'V1CreateContainerRegistryResponse') -> bool:
96
96
  """Returns true if both objects are not equal"""
97
97
  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 ClusterServiceRefreshContainerRegistryCredentialsBody(object):
31
+ class V1DeleteOrgClusterCapacityReservationResponse(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.
@@ -47,7 +47,7 @@ class ClusterServiceRefreshContainerRegistryCredentialsBody(object):
47
47
  }
48
48
 
49
49
  def __init__(self): # noqa: E501
50
- """ClusterServiceRefreshContainerRegistryCredentialsBody - a model defined in Swagger""" # noqa: E501
50
+ """V1DeleteOrgClusterCapacityReservationResponse - a model defined in Swagger""" # noqa: E501
51
51
  self.discriminator = None
52
52
 
53
53
  def to_dict(self) -> dict:
@@ -71,7 +71,7 @@ class ClusterServiceRefreshContainerRegistryCredentialsBody(object):
71
71
  ))
72
72
  else:
73
73
  result[attr] = value
74
- if issubclass(ClusterServiceRefreshContainerRegistryCredentialsBody, dict):
74
+ if issubclass(V1DeleteOrgClusterCapacityReservationResponse, dict):
75
75
  for key, value in self.items():
76
76
  result[key] = value
77
77
 
@@ -85,13 +85,13 @@ class ClusterServiceRefreshContainerRegistryCredentialsBody(object):
85
85
  """For `print` and `pprint`"""
86
86
  return self.to_str()
87
87
 
88
- def __eq__(self, other: 'ClusterServiceRefreshContainerRegistryCredentialsBody') -> bool:
88
+ def __eq__(self, other: 'V1DeleteOrgClusterCapacityReservationResponse') -> bool:
89
89
  """Returns true if both objects are equal"""
90
- if not isinstance(other, ClusterServiceRefreshContainerRegistryCredentialsBody):
90
+ if not isinstance(other, V1DeleteOrgClusterCapacityReservationResponse):
91
91
  return False
92
92
 
93
93
  return self.__dict__ == other.__dict__
94
94
 
95
- def __ne__(self, other: 'ClusterServiceRefreshContainerRegistryCredentialsBody') -> bool:
95
+ def __ne__(self, other: 'V1DeleteOrgClusterCapacityReservationResponse') -> bool:
96
96
  """Returns true if both objects are not equal"""
97
97
  return not self == other