lightning-sdk 0.1.58__py3-none-any.whl → 0.2.1__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/__init__.py +5 -3
- lightning_sdk/api/deployment_api.py +23 -11
- lightning_sdk/api/job_api.py +42 -7
- lightning_sdk/api/lit_container_api.py +23 -3
- lightning_sdk/api/mmt_api.py +46 -8
- lightning_sdk/api/pipeline_api.py +50 -0
- lightning_sdk/api/teamspace_api.py +2 -2
- lightning_sdk/api/utils.py +15 -5
- lightning_sdk/cli/ai_hub.py +30 -65
- lightning_sdk/cli/coloring.py +60 -0
- lightning_sdk/cli/configure.py +25 -40
- lightning_sdk/cli/connect.py +7 -20
- lightning_sdk/cli/create.py +83 -0
- lightning_sdk/cli/delete.py +72 -75
- lightning_sdk/cli/docker.py +22 -0
- lightning_sdk/cli/download.py +78 -113
- lightning_sdk/cli/entrypoint.py +44 -65
- lightning_sdk/cli/generate.py +28 -43
- lightning_sdk/cli/inspect.py +22 -50
- lightning_sdk/cli/list.py +281 -222
- lightning_sdk/cli/mmts_menu.py +1 -1
- lightning_sdk/cli/open.py +62 -0
- lightning_sdk/cli/run.py +430 -263
- lightning_sdk/cli/serve.py +128 -191
- lightning_sdk/cli/start.py +55 -36
- lightning_sdk/cli/stop.py +97 -55
- lightning_sdk/cli/switch.py +53 -36
- lightning_sdk/cli/upload.py +318 -255
- lightning_sdk/deployment/__init__.py +2 -0
- lightning_sdk/deployment/deployment.py +33 -8
- lightning_sdk/lightning_cloud/openapi/__init__.py +23 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +10 -6
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +355 -4
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +14 -2
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +674 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +303 -4
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +22 -0
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +17 -69
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/create.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body1.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body2.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +157 -1
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +17 -69
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event_type.py +1 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload_temporary_artifact_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_job_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_managed_endpoint_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_machine_job_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_pipeline_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_details.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_mmt.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +133 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job_artifacts_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pipelines_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_artifact.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +29 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_schedule.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +157 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_restart_timing.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_job_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_temporary_artifact_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +95 -355
- lightning_sdk/lightning_cloud/openapi/models/validate.py +27 -1
- lightning_sdk/lightning_cloud/rest_client.py +4 -2
- lightning_sdk/machine.py +25 -1
- lightning_sdk/models.py +18 -12
- lightning_sdk/pipeline/__init__.py +4 -0
- lightning_sdk/pipeline/pipeline.py +109 -0
- lightning_sdk/pipeline/types.py +268 -0
- lightning_sdk/pipeline/utils.py +69 -0
- lightning_sdk/plugin.py +9 -10
- lightning_sdk/serve.py +134 -0
- lightning_sdk/services/utilities.py +2 -2
- lightning_sdk/studio.py +5 -1
- lightning_sdk/teamspace.py +1 -1
- lightning_sdk/utils/resolve.py +12 -1
- {lightning_sdk-0.1.58.dist-info → lightning_sdk-0.2.1.dist-info}/METADATA +6 -8
- {lightning_sdk-0.1.58.dist-info → lightning_sdk-0.2.1.dist-info}/RECORD +120 -88
- lightning_sdk/cli/legacy.py +0 -135
- {lightning_sdk-0.1.58.dist-info → lightning_sdk-0.2.1.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.58.dist-info → lightning_sdk-0.2.1.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.1.58.dist-info → lightning_sdk-0.2.1.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.1.58.dist-info → lightning_sdk-0.2.1.dist-info}/top_level.txt +0 -0
|
@@ -46,6 +46,7 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
46
46
|
'end_time': 'datetime',
|
|
47
47
|
'instance_type': 'str',
|
|
48
48
|
'match_pattern': 'str',
|
|
49
|
+
'region': 'str',
|
|
49
50
|
'start_time': 'datetime'
|
|
50
51
|
}
|
|
51
52
|
|
|
@@ -55,16 +56,18 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
55
56
|
'end_time': 'endTime',
|
|
56
57
|
'instance_type': 'instanceType',
|
|
57
58
|
'match_pattern': 'matchPattern',
|
|
59
|
+
'region': 'region',
|
|
58
60
|
'start_time': 'startTime'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
def __init__(self, capacity_reservation_type: 'str' =None, cloud_provider_capacity_reservation_id: 'str' =None, end_time: 'datetime' =None, instance_type: 'str' =None, match_pattern: 'str' =None, start_time: 'datetime' =None): # noqa: E501
|
|
63
|
+
def __init__(self, capacity_reservation_type: 'str' =None, cloud_provider_capacity_reservation_id: 'str' =None, end_time: 'datetime' =None, instance_type: 'str' =None, match_pattern: 'str' =None, region: 'str' =None, start_time: 'datetime' =None): # noqa: E501
|
|
62
64
|
"""ClusterIdCapacityreservationsBody - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
self._capacity_reservation_type = None
|
|
64
66
|
self._cloud_provider_capacity_reservation_id = None
|
|
65
67
|
self._end_time = None
|
|
66
68
|
self._instance_type = None
|
|
67
69
|
self._match_pattern = None
|
|
70
|
+
self._region = None
|
|
68
71
|
self._start_time = None
|
|
69
72
|
self.discriminator = None
|
|
70
73
|
if capacity_reservation_type is not None:
|
|
@@ -77,6 +80,8 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
77
80
|
self.instance_type = instance_type
|
|
78
81
|
if match_pattern is not None:
|
|
79
82
|
self.match_pattern = match_pattern
|
|
83
|
+
if region is not None:
|
|
84
|
+
self.region = region
|
|
80
85
|
if start_time is not None:
|
|
81
86
|
self.start_time = start_time
|
|
82
87
|
|
|
@@ -185,6 +190,27 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
185
190
|
|
|
186
191
|
self._match_pattern = match_pattern
|
|
187
192
|
|
|
193
|
+
@property
|
|
194
|
+
def region(self) -> 'str':
|
|
195
|
+
"""Gets the region of this ClusterIdCapacityreservationsBody. # noqa: E501
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:return: The region of this ClusterIdCapacityreservationsBody. # noqa: E501
|
|
199
|
+
:rtype: str
|
|
200
|
+
"""
|
|
201
|
+
return self._region
|
|
202
|
+
|
|
203
|
+
@region.setter
|
|
204
|
+
def region(self, region: 'str'):
|
|
205
|
+
"""Sets the region of this ClusterIdCapacityreservationsBody.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:param region: The region of this ClusterIdCapacityreservationsBody. # noqa: E501
|
|
209
|
+
:type: str
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
self._region = region
|
|
213
|
+
|
|
188
214
|
@property
|
|
189
215
|
def start_time(self) -> 'datetime':
|
|
190
216
|
"""Gets the start_time of this ClusterIdCapacityreservationsBody. # noqa: E501
|
|
@@ -47,6 +47,7 @@ class Create(object):
|
|
|
47
47
|
'create_index': 'bool',
|
|
48
48
|
'create_resources': 'bool',
|
|
49
49
|
'efs': 'V1EfsConfig',
|
|
50
|
+
'filestore': 'V1FilestoreDataConnection',
|
|
50
51
|
'force': 'bool',
|
|
51
52
|
'gcp': 'V1GcpDataConnection',
|
|
52
53
|
'gcs_folder': 'V1GCSFolderDataConnection',
|
|
@@ -65,6 +66,7 @@ class Create(object):
|
|
|
65
66
|
'create_index': 'createIndex',
|
|
66
67
|
'create_resources': 'createResources',
|
|
67
68
|
'efs': 'efs',
|
|
69
|
+
'filestore': 'filestore',
|
|
68
70
|
'force': 'force',
|
|
69
71
|
'gcp': 'gcp',
|
|
70
72
|
'gcs_folder': 'gcsFolder',
|
|
@@ -76,7 +78,7 @@ class Create(object):
|
|
|
76
78
|
'writable': 'writable'
|
|
77
79
|
}
|
|
78
80
|
|
|
79
|
-
def __init__(self, access_cluster_ids: 'list[str]' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, create_index: 'bool' =None, create_resources: 'bool' =None, efs: 'V1EfsConfig' =None, force: 'bool' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, name: 'str' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, writable: 'bool' =None): # noqa: E501
|
|
81
|
+
def __init__(self, access_cluster_ids: 'list[str]' =None, aws: 'V1AwsDataConnection' =None, cluster_id: 'str' =None, create_index: 'bool' =None, create_resources: 'bool' =None, efs: 'V1EfsConfig' =None, filestore: 'V1FilestoreDataConnection' =None, force: 'bool' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, id: 'str' =None, name: 'str' =None, run_cmds: 'list[str]' =None, s3_folder: 'V1S3FolderDataConnection' =None, snowflake: 'V1SnowflakeDataConnection' =None, writable: 'bool' =None): # noqa: E501
|
|
80
82
|
"""Create - a model defined in Swagger""" # noqa: E501
|
|
81
83
|
self._access_cluster_ids = None
|
|
82
84
|
self._aws = None
|
|
@@ -84,6 +86,7 @@ class Create(object):
|
|
|
84
86
|
self._create_index = None
|
|
85
87
|
self._create_resources = None
|
|
86
88
|
self._efs = None
|
|
89
|
+
self._filestore = None
|
|
87
90
|
self._force = None
|
|
88
91
|
self._gcp = None
|
|
89
92
|
self._gcs_folder = None
|
|
@@ -106,6 +109,8 @@ class Create(object):
|
|
|
106
109
|
self.create_resources = create_resources
|
|
107
110
|
if efs is not None:
|
|
108
111
|
self.efs = efs
|
|
112
|
+
if filestore is not None:
|
|
113
|
+
self.filestore = filestore
|
|
109
114
|
if force is not None:
|
|
110
115
|
self.force = force
|
|
111
116
|
if gcp is not None:
|
|
@@ -251,6 +256,27 @@ class Create(object):
|
|
|
251
256
|
|
|
252
257
|
self._efs = efs
|
|
253
258
|
|
|
259
|
+
@property
|
|
260
|
+
def filestore(self) -> 'V1FilestoreDataConnection':
|
|
261
|
+
"""Gets the filestore of this Create. # noqa: E501
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
:return: The filestore of this Create. # noqa: E501
|
|
265
|
+
:rtype: V1FilestoreDataConnection
|
|
266
|
+
"""
|
|
267
|
+
return self._filestore
|
|
268
|
+
|
|
269
|
+
@filestore.setter
|
|
270
|
+
def filestore(self, filestore: 'V1FilestoreDataConnection'):
|
|
271
|
+
"""Sets the filestore of this Create.
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
:param filestore: The filestore of this Create. # noqa: E501
|
|
275
|
+
:type: V1FilestoreDataConnection
|
|
276
|
+
"""
|
|
277
|
+
|
|
278
|
+
self._filestore = filestore
|
|
279
|
+
|
|
254
280
|
@property
|
|
255
281
|
def force(self) -> 'bool':
|
|
256
282
|
"""Gets the force of this Create. # noqa: E501
|
|
@@ -41,11 +41,13 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'api_standard': 'str',
|
|
44
45
|
'apis': 'list[V1DeploymentAPI]',
|
|
45
46
|
'autoscaling': 'V1AutoscalingSpec',
|
|
46
47
|
'cloudspace_id': 'str',
|
|
47
48
|
'cluster_id': 'str',
|
|
48
49
|
'endpoint': 'V1Endpoint',
|
|
50
|
+
'from_onboarding': 'bool',
|
|
49
51
|
'name': 'str',
|
|
50
52
|
'parameter_spec': 'V1ParameterizationSpec',
|
|
51
53
|
'parent_template_id': 'str',
|
|
@@ -55,11 +57,13 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
attribute_map = {
|
|
60
|
+
'api_standard': 'apiStandard',
|
|
58
61
|
'apis': 'apis',
|
|
59
62
|
'autoscaling': 'autoscaling',
|
|
60
63
|
'cloudspace_id': 'cloudspaceId',
|
|
61
64
|
'cluster_id': 'clusterId',
|
|
62
65
|
'endpoint': 'endpoint',
|
|
66
|
+
'from_onboarding': 'fromOnboarding',
|
|
63
67
|
'name': 'name',
|
|
64
68
|
'parameter_spec': 'parameterSpec',
|
|
65
69
|
'parent_template_id': 'parentTemplateId',
|
|
@@ -68,13 +72,15 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
68
72
|
'strategy': 'strategy'
|
|
69
73
|
}
|
|
70
74
|
|
|
71
|
-
def __init__(self, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, endpoint: 'V1Endpoint' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, parent_template_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, strategy: 'V1DeploymentStrategy' =None): # noqa: E501
|
|
75
|
+
def __init__(self, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, endpoint: 'V1Endpoint' =None, from_onboarding: 'bool' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, parent_template_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, strategy: 'V1DeploymentStrategy' =None): # noqa: E501
|
|
72
76
|
"""CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs - a model defined in Swagger""" # noqa: E501
|
|
77
|
+
self._api_standard = None
|
|
73
78
|
self._apis = None
|
|
74
79
|
self._autoscaling = None
|
|
75
80
|
self._cloudspace_id = None
|
|
76
81
|
self._cluster_id = None
|
|
77
82
|
self._endpoint = None
|
|
83
|
+
self._from_onboarding = None
|
|
78
84
|
self._name = None
|
|
79
85
|
self._parameter_spec = None
|
|
80
86
|
self._parent_template_id = None
|
|
@@ -82,6 +88,8 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
82
88
|
self._spec = None
|
|
83
89
|
self._strategy = None
|
|
84
90
|
self.discriminator = None
|
|
91
|
+
if api_standard is not None:
|
|
92
|
+
self.api_standard = api_standard
|
|
85
93
|
if apis is not None:
|
|
86
94
|
self.apis = apis
|
|
87
95
|
if autoscaling is not None:
|
|
@@ -92,6 +100,8 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
92
100
|
self.cluster_id = cluster_id
|
|
93
101
|
if endpoint is not None:
|
|
94
102
|
self.endpoint = endpoint
|
|
103
|
+
if from_onboarding is not None:
|
|
104
|
+
self.from_onboarding = from_onboarding
|
|
95
105
|
if name is not None:
|
|
96
106
|
self.name = name
|
|
97
107
|
if parameter_spec is not None:
|
|
@@ -105,6 +115,27 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
105
115
|
if strategy is not None:
|
|
106
116
|
self.strategy = strategy
|
|
107
117
|
|
|
118
|
+
@property
|
|
119
|
+
def api_standard(self) -> 'str':
|
|
120
|
+
"""Gets the api_standard of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:return: The api_standard of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
124
|
+
:rtype: str
|
|
125
|
+
"""
|
|
126
|
+
return self._api_standard
|
|
127
|
+
|
|
128
|
+
@api_standard.setter
|
|
129
|
+
def api_standard(self, api_standard: 'str'):
|
|
130
|
+
"""Sets the api_standard of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
:param api_standard: The api_standard of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
134
|
+
:type: str
|
|
135
|
+
"""
|
|
136
|
+
|
|
137
|
+
self._api_standard = api_standard
|
|
138
|
+
|
|
108
139
|
@property
|
|
109
140
|
def apis(self) -> 'list[V1DeploymentAPI]':
|
|
110
141
|
"""Gets the apis of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
@@ -210,6 +241,27 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
|
|
|
210
241
|
|
|
211
242
|
self._endpoint = endpoint
|
|
212
243
|
|
|
244
|
+
@property
|
|
245
|
+
def from_onboarding(self) -> 'bool':
|
|
246
|
+
"""Gets the from_onboarding of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
:return: The from_onboarding of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
250
|
+
:rtype: bool
|
|
251
|
+
"""
|
|
252
|
+
return self._from_onboarding
|
|
253
|
+
|
|
254
|
+
@from_onboarding.setter
|
|
255
|
+
def from_onboarding(self, from_onboarding: 'bool'):
|
|
256
|
+
"""Sets the from_onboarding of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs.
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
:param from_onboarding: The from_onboarding of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
260
|
+
:type: bool
|
|
261
|
+
"""
|
|
262
|
+
|
|
263
|
+
self._from_onboarding = from_onboarding
|
|
264
|
+
|
|
213
265
|
@property
|
|
214
266
|
def name(self) -> 'str':
|
|
215
267
|
"""Gets the name of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
|
|
@@ -41,7 +41,9 @@ class DeploymentsIdBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'api_standard': 'str',
|
|
44
45
|
'apis': 'list[V1DeploymentAPI]',
|
|
46
|
+
'assistant_id': 'str',
|
|
45
47
|
'autoscaling': 'V1AutoscalingSpec',
|
|
46
48
|
'cloudspace_id': 'str',
|
|
47
49
|
'created_at': 'datetime',
|
|
@@ -49,8 +51,10 @@ class DeploymentsIdBody(object):
|
|
|
49
51
|
'desired_state': 'V1DeploymentState',
|
|
50
52
|
'endpoint': 'V1Endpoint',
|
|
51
53
|
'is_published': 'bool',
|
|
54
|
+
'managed_endpoint_id': 'str',
|
|
52
55
|
'name': 'str',
|
|
53
56
|
'parameter_spec': 'V1ParameterizationSpec',
|
|
57
|
+
'pipeline_id': 'str',
|
|
54
58
|
'release_id': 'str',
|
|
55
59
|
'replicas': 'int',
|
|
56
60
|
'spec': 'V1JobSpec',
|
|
@@ -64,7 +68,9 @@ class DeploymentsIdBody(object):
|
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
attribute_map = {
|
|
71
|
+
'api_standard': 'apiStandard',
|
|
67
72
|
'apis': 'apis',
|
|
73
|
+
'assistant_id': 'assistantId',
|
|
68
74
|
'autoscaling': 'autoscaling',
|
|
69
75
|
'cloudspace_id': 'cloudspaceId',
|
|
70
76
|
'created_at': 'createdAt',
|
|
@@ -72,8 +78,10 @@ class DeploymentsIdBody(object):
|
|
|
72
78
|
'desired_state': 'desiredState',
|
|
73
79
|
'endpoint': 'endpoint',
|
|
74
80
|
'is_published': 'isPublished',
|
|
81
|
+
'managed_endpoint_id': 'managedEndpointId',
|
|
75
82
|
'name': 'name',
|
|
76
83
|
'parameter_spec': 'parameterSpec',
|
|
84
|
+
'pipeline_id': 'pipelineId',
|
|
77
85
|
'release_id': 'releaseId',
|
|
78
86
|
'replicas': 'replicas',
|
|
79
87
|
'spec': 'spec',
|
|
@@ -86,9 +94,11 @@ class DeploymentsIdBody(object):
|
|
|
86
94
|
'visibility': 'visibility'
|
|
87
95
|
}
|
|
88
96
|
|
|
89
|
-
def __init__(self, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, debug: 'bool' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, is_published: 'bool' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, total_cost: 'float' =None, updated_at: 'datetime' =None, user_id: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
97
|
+
def __init__(self, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, assistant_id: 'str' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, debug: 'bool' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, is_published: 'bool' =None, managed_endpoint_id: 'str' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, pipeline_id: 'str' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, total_cost: 'float' =None, updated_at: 'datetime' =None, user_id: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
90
98
|
"""DeploymentsIdBody - a model defined in Swagger""" # noqa: E501
|
|
99
|
+
self._api_standard = None
|
|
91
100
|
self._apis = None
|
|
101
|
+
self._assistant_id = None
|
|
92
102
|
self._autoscaling = None
|
|
93
103
|
self._cloudspace_id = None
|
|
94
104
|
self._created_at = None
|
|
@@ -96,8 +106,10 @@ class DeploymentsIdBody(object):
|
|
|
96
106
|
self._desired_state = None
|
|
97
107
|
self._endpoint = None
|
|
98
108
|
self._is_published = None
|
|
109
|
+
self._managed_endpoint_id = None
|
|
99
110
|
self._name = None
|
|
100
111
|
self._parameter_spec = None
|
|
112
|
+
self._pipeline_id = None
|
|
101
113
|
self._release_id = None
|
|
102
114
|
self._replicas = None
|
|
103
115
|
self._spec = None
|
|
@@ -109,8 +121,12 @@ class DeploymentsIdBody(object):
|
|
|
109
121
|
self._user_id = None
|
|
110
122
|
self._visibility = None
|
|
111
123
|
self.discriminator = None
|
|
124
|
+
if api_standard is not None:
|
|
125
|
+
self.api_standard = api_standard
|
|
112
126
|
if apis is not None:
|
|
113
127
|
self.apis = apis
|
|
128
|
+
if assistant_id is not None:
|
|
129
|
+
self.assistant_id = assistant_id
|
|
114
130
|
if autoscaling is not None:
|
|
115
131
|
self.autoscaling = autoscaling
|
|
116
132
|
if cloudspace_id is not None:
|
|
@@ -125,10 +141,14 @@ class DeploymentsIdBody(object):
|
|
|
125
141
|
self.endpoint = endpoint
|
|
126
142
|
if is_published is not None:
|
|
127
143
|
self.is_published = is_published
|
|
144
|
+
if managed_endpoint_id is not None:
|
|
145
|
+
self.managed_endpoint_id = managed_endpoint_id
|
|
128
146
|
if name is not None:
|
|
129
147
|
self.name = name
|
|
130
148
|
if parameter_spec is not None:
|
|
131
149
|
self.parameter_spec = parameter_spec
|
|
150
|
+
if pipeline_id is not None:
|
|
151
|
+
self.pipeline_id = pipeline_id
|
|
132
152
|
if release_id is not None:
|
|
133
153
|
self.release_id = release_id
|
|
134
154
|
if replicas is not None:
|
|
@@ -150,6 +170,27 @@ class DeploymentsIdBody(object):
|
|
|
150
170
|
if visibility is not None:
|
|
151
171
|
self.visibility = visibility
|
|
152
172
|
|
|
173
|
+
@property
|
|
174
|
+
def api_standard(self) -> 'str':
|
|
175
|
+
"""Gets the api_standard of this DeploymentsIdBody. # noqa: E501
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:return: The api_standard of this DeploymentsIdBody. # noqa: E501
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._api_standard
|
|
182
|
+
|
|
183
|
+
@api_standard.setter
|
|
184
|
+
def api_standard(self, api_standard: 'str'):
|
|
185
|
+
"""Sets the api_standard of this DeploymentsIdBody.
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
:param api_standard: The api_standard of this DeploymentsIdBody. # noqa: E501
|
|
189
|
+
:type: str
|
|
190
|
+
"""
|
|
191
|
+
|
|
192
|
+
self._api_standard = api_standard
|
|
193
|
+
|
|
153
194
|
@property
|
|
154
195
|
def apis(self) -> 'list[V1DeploymentAPI]':
|
|
155
196
|
"""Gets the apis of this DeploymentsIdBody. # noqa: E501
|
|
@@ -171,6 +212,27 @@ class DeploymentsIdBody(object):
|
|
|
171
212
|
|
|
172
213
|
self._apis = apis
|
|
173
214
|
|
|
215
|
+
@property
|
|
216
|
+
def assistant_id(self) -> 'str':
|
|
217
|
+
"""Gets the assistant_id of this DeploymentsIdBody. # noqa: E501
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
:return: The assistant_id of this DeploymentsIdBody. # noqa: E501
|
|
221
|
+
:rtype: str
|
|
222
|
+
"""
|
|
223
|
+
return self._assistant_id
|
|
224
|
+
|
|
225
|
+
@assistant_id.setter
|
|
226
|
+
def assistant_id(self, assistant_id: 'str'):
|
|
227
|
+
"""Sets the assistant_id of this DeploymentsIdBody.
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
:param assistant_id: The assistant_id of this DeploymentsIdBody. # noqa: E501
|
|
231
|
+
:type: str
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
self._assistant_id = assistant_id
|
|
235
|
+
|
|
174
236
|
@property
|
|
175
237
|
def autoscaling(self) -> 'V1AutoscalingSpec':
|
|
176
238
|
"""Gets the autoscaling of this DeploymentsIdBody. # noqa: E501
|
|
@@ -318,6 +380,27 @@ class DeploymentsIdBody(object):
|
|
|
318
380
|
|
|
319
381
|
self._is_published = is_published
|
|
320
382
|
|
|
383
|
+
@property
|
|
384
|
+
def managed_endpoint_id(self) -> 'str':
|
|
385
|
+
"""Gets the managed_endpoint_id of this DeploymentsIdBody. # noqa: E501
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
:return: The managed_endpoint_id of this DeploymentsIdBody. # noqa: E501
|
|
389
|
+
:rtype: str
|
|
390
|
+
"""
|
|
391
|
+
return self._managed_endpoint_id
|
|
392
|
+
|
|
393
|
+
@managed_endpoint_id.setter
|
|
394
|
+
def managed_endpoint_id(self, managed_endpoint_id: 'str'):
|
|
395
|
+
"""Sets the managed_endpoint_id of this DeploymentsIdBody.
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
:param managed_endpoint_id: The managed_endpoint_id of this DeploymentsIdBody. # noqa: E501
|
|
399
|
+
:type: str
|
|
400
|
+
"""
|
|
401
|
+
|
|
402
|
+
self._managed_endpoint_id = managed_endpoint_id
|
|
403
|
+
|
|
321
404
|
@property
|
|
322
405
|
def name(self) -> 'str':
|
|
323
406
|
"""Gets the name of this DeploymentsIdBody. # noqa: E501
|
|
@@ -360,6 +443,27 @@ class DeploymentsIdBody(object):
|
|
|
360
443
|
|
|
361
444
|
self._parameter_spec = parameter_spec
|
|
362
445
|
|
|
446
|
+
@property
|
|
447
|
+
def pipeline_id(self) -> 'str':
|
|
448
|
+
"""Gets the pipeline_id of this DeploymentsIdBody. # noqa: E501
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
:return: The pipeline_id of this DeploymentsIdBody. # noqa: E501
|
|
452
|
+
:rtype: str
|
|
453
|
+
"""
|
|
454
|
+
return self._pipeline_id
|
|
455
|
+
|
|
456
|
+
@pipeline_id.setter
|
|
457
|
+
def pipeline_id(self, pipeline_id: 'str'):
|
|
458
|
+
"""Sets the pipeline_id of this DeploymentsIdBody.
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
:param pipeline_id: The pipeline_id of this DeploymentsIdBody. # noqa: E501
|
|
462
|
+
:type: str
|
|
463
|
+
"""
|
|
464
|
+
|
|
465
|
+
self._pipeline_id = pipeline_id
|
|
466
|
+
|
|
363
467
|
@property
|
|
364
468
|
def release_id(self) -> 'str':
|
|
365
469
|
"""Gets the release_id of this DeploymentsIdBody. # noqa: E501
|
|
@@ -41,46 +41,20 @@ class IdVisibilityBody1(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
-
'emails': 'list[str]',
|
|
45
44
|
'visibility': 'V1ResourceVisibility'
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
attribute_map = {
|
|
49
|
-
'emails': 'emails',
|
|
50
48
|
'visibility': 'visibility'
|
|
51
49
|
}
|
|
52
50
|
|
|
53
|
-
def __init__(self,
|
|
51
|
+
def __init__(self, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
54
52
|
"""IdVisibilityBody1 - a model defined in Swagger""" # noqa: E501
|
|
55
|
-
self._emails = None
|
|
56
53
|
self._visibility = None
|
|
57
54
|
self.discriminator = None
|
|
58
|
-
if emails is not None:
|
|
59
|
-
self.emails = emails
|
|
60
55
|
if visibility is not None:
|
|
61
56
|
self.visibility = visibility
|
|
62
57
|
|
|
63
|
-
@property
|
|
64
|
-
def emails(self) -> 'list[str]':
|
|
65
|
-
"""Gets the emails of this IdVisibilityBody1. # noqa: E501
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
:return: The emails of this IdVisibilityBody1. # noqa: E501
|
|
69
|
-
:rtype: list[str]
|
|
70
|
-
"""
|
|
71
|
-
return self._emails
|
|
72
|
-
|
|
73
|
-
@emails.setter
|
|
74
|
-
def emails(self, emails: 'list[str]'):
|
|
75
|
-
"""Sets the emails of this IdVisibilityBody1.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
:param emails: The emails of this IdVisibilityBody1. # noqa: E501
|
|
79
|
-
:type: list[str]
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
self._emails = emails
|
|
83
|
-
|
|
84
58
|
@property
|
|
85
59
|
def visibility(self) -> 'V1ResourceVisibility':
|
|
86
60
|
"""Gets the visibility of this IdVisibilityBody1. # noqa: E501
|
|
@@ -0,0 +1,149 @@
|
|
|
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 IdVisibilityBody2(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
|
+
'emails': 'list[str]',
|
|
45
|
+
'visibility': 'V1ResourceVisibility'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
attribute_map = {
|
|
49
|
+
'emails': 'emails',
|
|
50
|
+
'visibility': 'visibility'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, emails: 'list[str]' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
54
|
+
"""IdVisibilityBody2 - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
self._emails = None
|
|
56
|
+
self._visibility = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
if emails is not None:
|
|
59
|
+
self.emails = emails
|
|
60
|
+
if visibility is not None:
|
|
61
|
+
self.visibility = visibility
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def emails(self) -> 'list[str]':
|
|
65
|
+
"""Gets the emails of this IdVisibilityBody2. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The emails of this IdVisibilityBody2. # noqa: E501
|
|
69
|
+
:rtype: list[str]
|
|
70
|
+
"""
|
|
71
|
+
return self._emails
|
|
72
|
+
|
|
73
|
+
@emails.setter
|
|
74
|
+
def emails(self, emails: 'list[str]'):
|
|
75
|
+
"""Sets the emails of this IdVisibilityBody2.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param emails: The emails of this IdVisibilityBody2. # noqa: E501
|
|
79
|
+
:type: list[str]
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._emails = emails
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def visibility(self) -> 'V1ResourceVisibility':
|
|
86
|
+
"""Gets the visibility of this IdVisibilityBody2. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The visibility of this IdVisibilityBody2. # noqa: E501
|
|
90
|
+
:rtype: V1ResourceVisibility
|
|
91
|
+
"""
|
|
92
|
+
return self._visibility
|
|
93
|
+
|
|
94
|
+
@visibility.setter
|
|
95
|
+
def visibility(self, visibility: 'V1ResourceVisibility'):
|
|
96
|
+
"""Sets the visibility of this IdVisibilityBody2.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param visibility: The visibility of this IdVisibilityBody2. # noqa: E501
|
|
100
|
+
:type: V1ResourceVisibility
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._visibility = visibility
|
|
104
|
+
|
|
105
|
+
def to_dict(self) -> dict:
|
|
106
|
+
"""Returns the model properties as a dict"""
|
|
107
|
+
result = {}
|
|
108
|
+
|
|
109
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
110
|
+
value = getattr(self, attr)
|
|
111
|
+
if isinstance(value, list):
|
|
112
|
+
result[attr] = list(map(
|
|
113
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
114
|
+
value
|
|
115
|
+
))
|
|
116
|
+
elif hasattr(value, "to_dict"):
|
|
117
|
+
result[attr] = value.to_dict()
|
|
118
|
+
elif isinstance(value, dict):
|
|
119
|
+
result[attr] = dict(map(
|
|
120
|
+
lambda item: (item[0], item[1].to_dict())
|
|
121
|
+
if hasattr(item[1], "to_dict") else item,
|
|
122
|
+
value.items()
|
|
123
|
+
))
|
|
124
|
+
else:
|
|
125
|
+
result[attr] = value
|
|
126
|
+
if issubclass(IdVisibilityBody2, dict):
|
|
127
|
+
for key, value in self.items():
|
|
128
|
+
result[key] = value
|
|
129
|
+
|
|
130
|
+
return result
|
|
131
|
+
|
|
132
|
+
def to_str(self) -> str:
|
|
133
|
+
"""Returns the string representation of the model"""
|
|
134
|
+
return pprint.pformat(self.to_dict())
|
|
135
|
+
|
|
136
|
+
def __repr__(self) -> str:
|
|
137
|
+
"""For `print` and `pprint`"""
|
|
138
|
+
return self.to_str()
|
|
139
|
+
|
|
140
|
+
def __eq__(self, other: 'IdVisibilityBody2') -> bool:
|
|
141
|
+
"""Returns true if both objects are equal"""
|
|
142
|
+
if not isinstance(other, IdVisibilityBody2):
|
|
143
|
+
return False
|
|
144
|
+
|
|
145
|
+
return self.__dict__ == other.__dict__
|
|
146
|
+
|
|
147
|
+
def __ne__(self, other: 'IdVisibilityBody2') -> bool:
|
|
148
|
+
"""Returns true if both objects are not equal"""
|
|
149
|
+
return not self == other
|