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.
- lightning_sdk/__version__.py +1 -1
- lightning_sdk/api/studio_api.py +7 -14
- lightning_sdk/api/teamspace_api.py +155 -48
- lightning_sdk/api/utils.py +8 -0
- lightning_sdk/cli/cp/__init__.py +14 -11
- lightning_sdk/cli/cp/teamspace_uploads.py +93 -0
- lightning_sdk/cli/legacy/download.py +29 -98
- lightning_sdk/cli/legacy/upload.py +24 -31
- lightning_sdk/cli/studio/cp.py +8 -5
- lightning_sdk/cli/studio/ls.py +1 -1
- lightning_sdk/cli/studio/rm.py +1 -1
- lightning_sdk/cli/utils/{studio_filesystem.py → filesystem.py} +43 -5
- lightning_sdk/exceptions.py +27 -0
- lightning_sdk/lightning_cloud/openapi/__init__.py +14 -12
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +163 -466
- lightning_sdk/lightning_cloud/openapi/api/container_registry_service_api.py +456 -0
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +11 -11
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +13 -12
- lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_integration.py → container_registry_config_ecr.py} +49 -23
- lightning_sdk/lightning_cloud/openapi/models/{v1_container_registry_status.py → container_registry_provider.py} +14 -10
- lightning_sdk/lightning_cloud/openapi/models/container_registry_service_create_container_registry_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config_input.py → container_registry_service_refresh_container_registry_credentials_body.py} +21 -21
- lightning_sdk/lightning_cloud/openapi/models/jobs_service_duplicate_deployment_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/organizations_service_update_org_role_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_container_registry.py +63 -89
- lightning_sdk/lightning_cloud/openapi/models/{cluster_service_add_container_registry_body.py → v1_container_registry_config.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/{v1_validate_container_registry_response.py → v1_container_registry_scopes.py} +39 -39
- lightning_sdk/lightning_cloud/openapi/models/{cluster_service_validate_container_registry_body.py → v1_create_container_registry_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/{cluster_service_refresh_container_registry_credentials_body.py → v1_delete_org_cluster_capacity_reservation_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_describe_org_cluster_capacity_reservation_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_list_container_registries_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/{v1_ecr_registry_config.py → v1_mithril_direct_v1.py} +51 -51
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_container_registry_credentials_response.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -53
- lightning_sdk/lightning_cloud/openapi/rest.py +2 -2
- lightning_sdk/teamspace.py +28 -7
- {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/METADATA +1 -1
- {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/RECORD +55 -52
- lightning_sdk/lightning_cloud/openapi/models/v1_add_container_registry_response.py +0 -123
- lightning_sdk/lightning_cloud/openapi/models/v1_container_registry_info.py +0 -281
- lightning_sdk/lightning_cloud/openapi/models/v1_ecr_registry_details.py +0 -201
- /lightning_sdk/lightning_cloud/openapi/models/{v1_list_filesystem_mmts_response.py → v1_list_filesystem_mm_ts_response.py} +0 -0
- {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/LICENSE +0 -0
- {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/WHEEL +0 -0
- {lightning_sdk-2026.1.22.dist-info → lightning_sdk-2026.1.27.dist-info}/entry_points.txt +0 -0
- {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
|
-
'
|
|
44
|
+
'config': 'V1ContainerRegistryConfig',
|
|
45
45
|
'id': 'str',
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'validated_at': 'datetime'
|
|
46
|
+
'provider': 'ContainerRegistryProvider',
|
|
47
|
+
'scopes': 'V1ContainerRegistryScopes',
|
|
48
|
+
'url': 'str'
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
attribute_map = {
|
|
53
|
-
'
|
|
52
|
+
'config': 'config',
|
|
54
53
|
'id': 'id',
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'validated_at': 'validatedAt'
|
|
54
|
+
'provider': 'provider',
|
|
55
|
+
'scopes': 'scopes',
|
|
56
|
+
'url': 'url'
|
|
59
57
|
}
|
|
60
58
|
|
|
61
|
-
def __init__(self,
|
|
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.
|
|
61
|
+
self._config = None
|
|
64
62
|
self._id = None
|
|
65
|
-
self.
|
|
66
|
-
self.
|
|
67
|
-
self.
|
|
68
|
-
self._validated_at = None
|
|
63
|
+
self._provider = None
|
|
64
|
+
self._scopes = None
|
|
65
|
+
self._url = None
|
|
69
66
|
self.discriminator = None
|
|
70
|
-
if
|
|
71
|
-
self.
|
|
67
|
+
if config is not None:
|
|
68
|
+
self.config = config
|
|
72
69
|
if id is not None:
|
|
73
70
|
self.id = id
|
|
74
|
-
if
|
|
75
|
-
self.
|
|
76
|
-
if
|
|
77
|
-
self.
|
|
78
|
-
if
|
|
79
|
-
self.
|
|
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
|
|
85
|
-
"""Gets the
|
|
79
|
+
def config(self) -> 'V1ContainerRegistryConfig':
|
|
80
|
+
"""Gets the config of this V1ContainerRegistry. # noqa: E501
|
|
86
81
|
|
|
87
82
|
|
|
88
|
-
:return: The
|
|
89
|
-
:rtype:
|
|
83
|
+
:return: The config of this V1ContainerRegistry. # noqa: E501
|
|
84
|
+
:rtype: V1ContainerRegistryConfig
|
|
90
85
|
"""
|
|
91
|
-
return self.
|
|
86
|
+
return self._config
|
|
92
87
|
|
|
93
|
-
@
|
|
94
|
-
def
|
|
95
|
-
"""Sets the
|
|
88
|
+
@config.setter
|
|
89
|
+
def config(self, config: 'V1ContainerRegistryConfig'):
|
|
90
|
+
"""Sets the config of this V1ContainerRegistry.
|
|
96
91
|
|
|
97
92
|
|
|
98
|
-
:param
|
|
99
|
-
:type:
|
|
93
|
+
:param config: The config of this V1ContainerRegistry. # noqa: E501
|
|
94
|
+
:type: V1ContainerRegistryConfig
|
|
100
95
|
"""
|
|
101
96
|
|
|
102
|
-
self.
|
|
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
|
|
127
|
-
"""Gets the
|
|
121
|
+
def provider(self) -> 'ContainerRegistryProvider':
|
|
122
|
+
"""Gets the provider of this V1ContainerRegistry. # noqa: E501
|
|
128
123
|
|
|
129
124
|
|
|
130
|
-
:return: The
|
|
131
|
-
:rtype:
|
|
125
|
+
:return: The provider of this V1ContainerRegistry. # noqa: E501
|
|
126
|
+
:rtype: ContainerRegistryProvider
|
|
132
127
|
"""
|
|
133
|
-
return self.
|
|
128
|
+
return self._provider
|
|
134
129
|
|
|
135
|
-
@
|
|
136
|
-
def
|
|
137
|
-
"""Sets the
|
|
130
|
+
@provider.setter
|
|
131
|
+
def provider(self, provider: 'ContainerRegistryProvider'):
|
|
132
|
+
"""Sets the provider of this V1ContainerRegistry.
|
|
138
133
|
|
|
139
134
|
|
|
140
|
-
:param
|
|
141
|
-
:type:
|
|
135
|
+
:param provider: The provider of this V1ContainerRegistry. # noqa: E501
|
|
136
|
+
:type: ContainerRegistryProvider
|
|
142
137
|
"""
|
|
143
138
|
|
|
144
|
-
self.
|
|
139
|
+
self._provider = provider
|
|
145
140
|
|
|
146
141
|
@property
|
|
147
|
-
def
|
|
148
|
-
"""Gets the
|
|
142
|
+
def scopes(self) -> 'V1ContainerRegistryScopes':
|
|
143
|
+
"""Gets the scopes of this V1ContainerRegistry. # noqa: E501
|
|
149
144
|
|
|
150
145
|
|
|
151
|
-
:return: The
|
|
152
|
-
:rtype:
|
|
146
|
+
:return: The scopes of this V1ContainerRegistry. # noqa: E501
|
|
147
|
+
:rtype: V1ContainerRegistryScopes
|
|
153
148
|
"""
|
|
154
|
-
return self.
|
|
149
|
+
return self._scopes
|
|
155
150
|
|
|
156
|
-
@
|
|
157
|
-
def
|
|
158
|
-
"""Sets the
|
|
151
|
+
@scopes.setter
|
|
152
|
+
def scopes(self, scopes: 'V1ContainerRegistryScopes'):
|
|
153
|
+
"""Sets the scopes of this V1ContainerRegistry.
|
|
159
154
|
|
|
160
155
|
|
|
161
|
-
:param
|
|
162
|
-
:type:
|
|
156
|
+
:param scopes: The scopes of this V1ContainerRegistry. # noqa: E501
|
|
157
|
+
:type: V1ContainerRegistryScopes
|
|
163
158
|
"""
|
|
164
159
|
|
|
165
|
-
self.
|
|
160
|
+
self._scopes = scopes
|
|
166
161
|
|
|
167
162
|
@property
|
|
168
|
-
def
|
|
169
|
-
"""Gets the
|
|
163
|
+
def url(self) -> 'str':
|
|
164
|
+
"""Gets the url of this V1ContainerRegistry. # noqa: E501
|
|
170
165
|
|
|
171
166
|
|
|
172
|
-
:return: The
|
|
167
|
+
:return: The url of this V1ContainerRegistry. # noqa: E501
|
|
173
168
|
:rtype: str
|
|
174
169
|
"""
|
|
175
|
-
return self.
|
|
170
|
+
return self._url
|
|
176
171
|
|
|
177
|
-
@
|
|
178
|
-
def
|
|
179
|
-
"""Sets the
|
|
172
|
+
@url.setter
|
|
173
|
+
def url(self, url: 'str'):
|
|
174
|
+
"""Sets the url of this V1ContainerRegistry.
|
|
180
175
|
|
|
181
176
|
|
|
182
|
-
:param
|
|
177
|
+
:param url: The url of this V1ContainerRegistry. # noqa: E501
|
|
183
178
|
:type: str
|
|
184
179
|
"""
|
|
185
180
|
|
|
186
|
-
self.
|
|
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
|
|
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': '
|
|
44
|
+
'ecr': 'ContainerRegistryConfigECR'
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
attribute_map = {
|
|
48
48
|
'ecr': 'ecr'
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
def __init__(self, ecr: '
|
|
52
|
-
"""
|
|
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) -> '
|
|
60
|
-
"""Gets the ecr of this
|
|
59
|
+
def ecr(self) -> 'ContainerRegistryConfigECR':
|
|
60
|
+
"""Gets the ecr of this V1ContainerRegistryConfig. # noqa: E501
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
:return: The ecr of this
|
|
64
|
-
:rtype:
|
|
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: '
|
|
70
|
-
"""Sets the ecr of this
|
|
69
|
+
def ecr(self, ecr: 'ContainerRegistryConfigECR'):
|
|
70
|
+
"""Sets the ecr of this V1ContainerRegistryConfig.
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
:param ecr: The ecr of this
|
|
74
|
-
:type:
|
|
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(
|
|
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: '
|
|
114
|
+
def __eq__(self, other: 'V1ContainerRegistryConfig') -> bool:
|
|
115
115
|
"""Returns true if both objects are equal"""
|
|
116
|
-
if not isinstance(other,
|
|
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: '
|
|
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
|
|
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
|
-
'
|
|
45
|
-
'
|
|
44
|
+
'namespaces': 'list[str]',
|
|
45
|
+
'project_ids': 'list[str]'
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
attribute_map = {
|
|
49
|
-
'
|
|
50
|
-
'
|
|
49
|
+
'namespaces': 'namespaces',
|
|
50
|
+
'project_ids': 'projectIds'
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
def __init__(self,
|
|
54
|
-
"""
|
|
55
|
-
self.
|
|
56
|
-
self.
|
|
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
|
|
59
|
-
self.
|
|
60
|
-
if
|
|
61
|
-
self.
|
|
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
|
|
65
|
-
"""Gets the
|
|
64
|
+
def namespaces(self) -> 'list[str]':
|
|
65
|
+
"""Gets the namespaces of this V1ContainerRegistryScopes. # noqa: E501
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
:return: The
|
|
69
|
-
:rtype: str
|
|
68
|
+
:return: The namespaces of this V1ContainerRegistryScopes. # noqa: E501
|
|
69
|
+
:rtype: list[str]
|
|
70
70
|
"""
|
|
71
|
-
return self.
|
|
71
|
+
return self._namespaces
|
|
72
72
|
|
|
73
|
-
@
|
|
74
|
-
def
|
|
75
|
-
"""Sets the
|
|
73
|
+
@namespaces.setter
|
|
74
|
+
def namespaces(self, namespaces: 'list[str]'):
|
|
75
|
+
"""Sets the namespaces of this V1ContainerRegistryScopes.
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
:param
|
|
79
|
-
:type: str
|
|
78
|
+
:param namespaces: The namespaces of this V1ContainerRegistryScopes. # noqa: E501
|
|
79
|
+
:type: list[str]
|
|
80
80
|
"""
|
|
81
81
|
|
|
82
|
-
self.
|
|
82
|
+
self._namespaces = namespaces
|
|
83
83
|
|
|
84
84
|
@property
|
|
85
|
-
def
|
|
86
|
-
"""Gets the
|
|
85
|
+
def project_ids(self) -> 'list[str]':
|
|
86
|
+
"""Gets the project_ids of this V1ContainerRegistryScopes. # noqa: E501
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
:return: The
|
|
90
|
-
:rtype:
|
|
89
|
+
:return: The project_ids of this V1ContainerRegistryScopes. # noqa: E501
|
|
90
|
+
:rtype: list[str]
|
|
91
91
|
"""
|
|
92
|
-
return self.
|
|
92
|
+
return self._project_ids
|
|
93
93
|
|
|
94
|
-
@
|
|
95
|
-
def
|
|
96
|
-
"""Sets the
|
|
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
|
|
100
|
-
:type:
|
|
99
|
+
:param project_ids: The project_ids of this V1ContainerRegistryScopes. # noqa: E501
|
|
100
|
+
:type: list[str]
|
|
101
101
|
"""
|
|
102
102
|
|
|
103
|
-
self.
|
|
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(
|
|
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: '
|
|
140
|
+
def __eq__(self, other: 'V1ContainerRegistryScopes') -> bool:
|
|
141
141
|
"""Returns true if both objects are equal"""
|
|
142
|
-
if not isinstance(other,
|
|
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: '
|
|
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
|
|
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
|
-
"""
|
|
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(
|
|
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: '
|
|
88
|
+
def __eq__(self, other: 'V1CreateContainerRegistryResponse') -> bool:
|
|
89
89
|
"""Returns true if both objects are equal"""
|
|
90
|
-
if not isinstance(other,
|
|
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: '
|
|
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
|
|
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
|
-
"""
|
|
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(
|
|
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: '
|
|
88
|
+
def __eq__(self, other: 'V1DeleteOrgClusterCapacityReservationResponse') -> bool:
|
|
89
89
|
"""Returns true if both objects are equal"""
|
|
90
|
-
if not isinstance(other,
|
|
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: '
|
|
95
|
+
def __ne__(self, other: 'V1DeleteOrgClusterCapacityReservationResponse') -> bool:
|
|
96
96
|
"""Returns true if both objects are not equal"""
|
|
97
97
|
return not self == other
|