lightning-sdk 0.1.31__py3-none-any.whl → 0.1.32__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 +3 -1
- lightning_sdk/ai_hub.py +29 -0
- lightning_sdk/api/__init__.py +2 -0
- lightning_sdk/api/ai_hub_api.py +15 -0
- lightning_sdk/api/user_api.py +8 -2
- lightning_sdk/cli/upload.py +10 -6
- lightning_sdk/lightning_cloud/openapi/__init__.py +26 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +101 -0
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +674 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +396 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +25 -0
- lightning_sdk/lightning_cloud/openapi/models/create.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/deploymenttemplates_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/litloggermetrics_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/update.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_affiliate_link.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_app_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_data_path.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_shared_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_metrics.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +69 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_summary.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_efs_folder_data_connection.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_app.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_cloud_space.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_dataset.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_slurm_job.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_snowflake_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_work.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gcs_folder_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_input.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_python_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_apps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_cloud_spaces_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_slurm_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_snowflake_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_s3_folder_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_shared_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/validate.py +81 -3
- lightning_sdk/lightning_cloud/rest_client.py +2 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.32.dist-info}/METADATA +1 -1
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.32.dist-info}/RECORD +65 -37
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.32.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.32.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.32.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.32.dist-info}/top_level.txt +0 -0
|
@@ -60,6 +60,7 @@ class V1UserFeatures(object):
|
|
|
60
60
|
'custom_app_domain': 'bool',
|
|
61
61
|
'custom_instance_types': 'bool',
|
|
62
62
|
'default_one_cluster': 'bool',
|
|
63
|
+
'deployment_data_path': 'bool',
|
|
63
64
|
'deployment_gallery': 'bool',
|
|
64
65
|
'deployment_persistent_disk': 'bool',
|
|
65
66
|
'docs_agent': 'bool',
|
|
@@ -79,6 +80,7 @@ class V1UserFeatures(object):
|
|
|
79
80
|
'mmt_fault_tolerance': 'bool',
|
|
80
81
|
'mmt_strategy_selector': 'bool',
|
|
81
82
|
'model_store': 'bool',
|
|
83
|
+
'multiple_deployment_versions': 'bool',
|
|
82
84
|
'org_level_member_permissions': 'bool',
|
|
83
85
|
'plugin_biz_chat': 'bool',
|
|
84
86
|
'plugin_distributed': 'bool',
|
|
@@ -134,6 +136,7 @@ class V1UserFeatures(object):
|
|
|
134
136
|
'custom_app_domain': 'customAppDomain',
|
|
135
137
|
'custom_instance_types': 'customInstanceTypes',
|
|
136
138
|
'default_one_cluster': 'defaultOneCluster',
|
|
139
|
+
'deployment_data_path': 'deploymentDataPath',
|
|
137
140
|
'deployment_gallery': 'deploymentGallery',
|
|
138
141
|
'deployment_persistent_disk': 'deploymentPersistentDisk',
|
|
139
142
|
'docs_agent': 'docsAgent',
|
|
@@ -153,6 +156,7 @@ class V1UserFeatures(object):
|
|
|
153
156
|
'mmt_fault_tolerance': 'mmtFaultTolerance',
|
|
154
157
|
'mmt_strategy_selector': 'mmtStrategySelector',
|
|
155
158
|
'model_store': 'modelStore',
|
|
159
|
+
'multiple_deployment_versions': 'multipleDeploymentVersions',
|
|
156
160
|
'org_level_member_permissions': 'orgLevelMemberPermissions',
|
|
157
161
|
'plugin_biz_chat': 'pluginBizChat',
|
|
158
162
|
'plugin_distributed': 'pluginDistributed',
|
|
@@ -188,7 +192,7 @@ class V1UserFeatures(object):
|
|
|
188
192
|
'writable_data_connections': 'writableDataConnections'
|
|
189
193
|
}
|
|
190
194
|
|
|
191
|
-
def __init__(self, advanced_deployment_autoscaling: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, aws_trainium: 'bool' =None, b2c_experience: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, cluster_proxy: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, crypto_monitoring: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, default_one_cluster: 'bool' =None, deployment_gallery: 'bool' =None, deployment_persistent_disk: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_crypto_crackdown: 'bool' =None, enable_efs: 'bool' =None, enable_storage_limits: 'bool' =None, featured_studios_admin: 'bool' =None, filesystem_optimisation: 'bool' =None, gcp: 'bool' =None, inference_job_deployment_plugin: 'bool' =None, jobs_init: 'bool' =None, jobs_v2: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, lit_logger_storage_v2: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, model_store: 'bool' =None, org_level_member_permissions: 'bool' =None, plugin_biz_chat: 'bool' =None, plugin_distributed: 'bool' =None, plugin_fiftyone: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_lightning_apps: 'bool' =None, plugin_lightning_apps_distributed: 'bool' =None, plugin_mage_ai: 'bool' =None, plugin_milvus: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_react: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, plugin_weviate: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, restart_ide_on_hang: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, s3_folders: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, snowflake_connection: 'bool' =None, spot_v2: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, teamspace_storage_tab: 'bool' =None, use_rclone_mounts_only: 'bool' =None, writable_data_connections: 'bool' =None): # noqa: E501
|
|
195
|
+
def __init__(self, advanced_deployment_autoscaling: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, aws_trainium: 'bool' =None, b2c_experience: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, cluster_proxy: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, crypto_monitoring: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, default_one_cluster: 'bool' =None, deployment_data_path: 'bool' =None, deployment_gallery: 'bool' =None, deployment_persistent_disk: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_crypto_crackdown: 'bool' =None, enable_efs: 'bool' =None, enable_storage_limits: 'bool' =None, featured_studios_admin: 'bool' =None, filesystem_optimisation: 'bool' =None, gcp: 'bool' =None, inference_job_deployment_plugin: 'bool' =None, jobs_init: 'bool' =None, jobs_v2: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, lit_logger_storage_v2: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, model_store: 'bool' =None, multiple_deployment_versions: 'bool' =None, org_level_member_permissions: 'bool' =None, plugin_biz_chat: 'bool' =None, plugin_distributed: 'bool' =None, plugin_fiftyone: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_lightning_apps: 'bool' =None, plugin_lightning_apps_distributed: 'bool' =None, plugin_mage_ai: 'bool' =None, plugin_milvus: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_react: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, plugin_weviate: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, restart_ide_on_hang: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, s3_folders: 'bool' =None, show_dev_admin: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, snowflake_connection: 'bool' =None, spot_v2: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, teamspace_storage_tab: 'bool' =None, use_rclone_mounts_only: 'bool' =None, writable_data_connections: 'bool' =None): # noqa: E501
|
|
192
196
|
"""V1UserFeatures - a model defined in Swagger""" # noqa: E501
|
|
193
197
|
self._advanced_deployment_autoscaling = None
|
|
194
198
|
self._affiliate_links = None
|
|
@@ -209,6 +213,7 @@ class V1UserFeatures(object):
|
|
|
209
213
|
self._custom_app_domain = None
|
|
210
214
|
self._custom_instance_types = None
|
|
211
215
|
self._default_one_cluster = None
|
|
216
|
+
self._deployment_data_path = None
|
|
212
217
|
self._deployment_gallery = None
|
|
213
218
|
self._deployment_persistent_disk = None
|
|
214
219
|
self._docs_agent = None
|
|
@@ -228,6 +233,7 @@ class V1UserFeatures(object):
|
|
|
228
233
|
self._mmt_fault_tolerance = None
|
|
229
234
|
self._mmt_strategy_selector = None
|
|
230
235
|
self._model_store = None
|
|
236
|
+
self._multiple_deployment_versions = None
|
|
231
237
|
self._org_level_member_permissions = None
|
|
232
238
|
self._plugin_biz_chat = None
|
|
233
239
|
self._plugin_distributed = None
|
|
@@ -300,6 +306,8 @@ class V1UserFeatures(object):
|
|
|
300
306
|
self.custom_instance_types = custom_instance_types
|
|
301
307
|
if default_one_cluster is not None:
|
|
302
308
|
self.default_one_cluster = default_one_cluster
|
|
309
|
+
if deployment_data_path is not None:
|
|
310
|
+
self.deployment_data_path = deployment_data_path
|
|
303
311
|
if deployment_gallery is not None:
|
|
304
312
|
self.deployment_gallery = deployment_gallery
|
|
305
313
|
if deployment_persistent_disk is not None:
|
|
@@ -338,6 +346,8 @@ class V1UserFeatures(object):
|
|
|
338
346
|
self.mmt_strategy_selector = mmt_strategy_selector
|
|
339
347
|
if model_store is not None:
|
|
340
348
|
self.model_store = model_store
|
|
349
|
+
if multiple_deployment_versions is not None:
|
|
350
|
+
self.multiple_deployment_versions = multiple_deployment_versions
|
|
341
351
|
if org_level_member_permissions is not None:
|
|
342
352
|
self.org_level_member_permissions = org_level_member_permissions
|
|
343
353
|
if plugin_biz_chat is not None:
|
|
@@ -804,6 +814,27 @@ class V1UserFeatures(object):
|
|
|
804
814
|
|
|
805
815
|
self._default_one_cluster = default_one_cluster
|
|
806
816
|
|
|
817
|
+
@property
|
|
818
|
+
def deployment_data_path(self) -> 'bool':
|
|
819
|
+
"""Gets the deployment_data_path of this V1UserFeatures. # noqa: E501
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
:return: The deployment_data_path of this V1UserFeatures. # noqa: E501
|
|
823
|
+
:rtype: bool
|
|
824
|
+
"""
|
|
825
|
+
return self._deployment_data_path
|
|
826
|
+
|
|
827
|
+
@deployment_data_path.setter
|
|
828
|
+
def deployment_data_path(self, deployment_data_path: 'bool'):
|
|
829
|
+
"""Sets the deployment_data_path of this V1UserFeatures.
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
:param deployment_data_path: The deployment_data_path of this V1UserFeatures. # noqa: E501
|
|
833
|
+
:type: bool
|
|
834
|
+
"""
|
|
835
|
+
|
|
836
|
+
self._deployment_data_path = deployment_data_path
|
|
837
|
+
|
|
807
838
|
@property
|
|
808
839
|
def deployment_gallery(self) -> 'bool':
|
|
809
840
|
"""Gets the deployment_gallery of this V1UserFeatures. # noqa: E501
|
|
@@ -1203,6 +1234,27 @@ class V1UserFeatures(object):
|
|
|
1203
1234
|
|
|
1204
1235
|
self._model_store = model_store
|
|
1205
1236
|
|
|
1237
|
+
@property
|
|
1238
|
+
def multiple_deployment_versions(self) -> 'bool':
|
|
1239
|
+
"""Gets the multiple_deployment_versions of this V1UserFeatures. # noqa: E501
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
:return: The multiple_deployment_versions of this V1UserFeatures. # noqa: E501
|
|
1243
|
+
:rtype: bool
|
|
1244
|
+
"""
|
|
1245
|
+
return self._multiple_deployment_versions
|
|
1246
|
+
|
|
1247
|
+
@multiple_deployment_versions.setter
|
|
1248
|
+
def multiple_deployment_versions(self, multiple_deployment_versions: 'bool'):
|
|
1249
|
+
"""Sets the multiple_deployment_versions of this V1UserFeatures.
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
:param multiple_deployment_versions: The multiple_deployment_versions of this V1UserFeatures. # noqa: E501
|
|
1253
|
+
:type: bool
|
|
1254
|
+
"""
|
|
1255
|
+
|
|
1256
|
+
self._multiple_deployment_versions = multiple_deployment_versions
|
|
1257
|
+
|
|
1206
1258
|
@property
|
|
1207
1259
|
def org_level_member_permissions(self) -> 'bool':
|
|
1208
1260
|
"""Gets the org_level_member_permissions of this V1UserFeatures. # noqa: E501
|
|
@@ -43,27 +43,42 @@ class V1ValidateDataConnectionResponse(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'aws': 'V1AwsDataConnection',
|
|
45
45
|
'efs': 'V1EfsDataConnection',
|
|
46
|
-
'
|
|
46
|
+
'efs_folder': 'V1EFSFolderDataConnection',
|
|
47
|
+
'gcp': 'V1GcpDataConnection',
|
|
48
|
+
'gcs_folder': 'V1GCSFolderDataConnection',
|
|
49
|
+
's3_folder': 'V1S3FolderDataConnection'
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
attribute_map = {
|
|
50
53
|
'aws': 'aws',
|
|
51
54
|
'efs': 'efs',
|
|
52
|
-
'
|
|
55
|
+
'efs_folder': 'efsFolder',
|
|
56
|
+
'gcp': 'gcp',
|
|
57
|
+
'gcs_folder': 'gcsFolder',
|
|
58
|
+
's3_folder': 's3Folder'
|
|
53
59
|
}
|
|
54
60
|
|
|
55
|
-
def __init__(self, aws: 'V1AwsDataConnection' =None, efs: 'V1EfsDataConnection' =None, gcp: 'V1GcpDataConnection' =None): # noqa: E501
|
|
61
|
+
def __init__(self, aws: 'V1AwsDataConnection' =None, efs: 'V1EfsDataConnection' =None, efs_folder: 'V1EFSFolderDataConnection' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, s3_folder: 'V1S3FolderDataConnection' =None): # noqa: E501
|
|
56
62
|
"""V1ValidateDataConnectionResponse - a model defined in Swagger""" # noqa: E501
|
|
57
63
|
self._aws = None
|
|
58
64
|
self._efs = None
|
|
65
|
+
self._efs_folder = None
|
|
59
66
|
self._gcp = None
|
|
67
|
+
self._gcs_folder = None
|
|
68
|
+
self._s3_folder = None
|
|
60
69
|
self.discriminator = None
|
|
61
70
|
if aws is not None:
|
|
62
71
|
self.aws = aws
|
|
63
72
|
if efs is not None:
|
|
64
73
|
self.efs = efs
|
|
74
|
+
if efs_folder is not None:
|
|
75
|
+
self.efs_folder = efs_folder
|
|
65
76
|
if gcp is not None:
|
|
66
77
|
self.gcp = gcp
|
|
78
|
+
if gcs_folder is not None:
|
|
79
|
+
self.gcs_folder = gcs_folder
|
|
80
|
+
if s3_folder is not None:
|
|
81
|
+
self.s3_folder = s3_folder
|
|
67
82
|
|
|
68
83
|
@property
|
|
69
84
|
def aws(self) -> 'V1AwsDataConnection':
|
|
@@ -107,6 +122,27 @@ class V1ValidateDataConnectionResponse(object):
|
|
|
107
122
|
|
|
108
123
|
self._efs = efs
|
|
109
124
|
|
|
125
|
+
@property
|
|
126
|
+
def efs_folder(self) -> 'V1EFSFolderDataConnection':
|
|
127
|
+
"""Gets the efs_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:return: The efs_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
131
|
+
:rtype: V1EFSFolderDataConnection
|
|
132
|
+
"""
|
|
133
|
+
return self._efs_folder
|
|
134
|
+
|
|
135
|
+
@efs_folder.setter
|
|
136
|
+
def efs_folder(self, efs_folder: 'V1EFSFolderDataConnection'):
|
|
137
|
+
"""Sets the efs_folder of this V1ValidateDataConnectionResponse.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:param efs_folder: The efs_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
141
|
+
:type: V1EFSFolderDataConnection
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
self._efs_folder = efs_folder
|
|
145
|
+
|
|
110
146
|
@property
|
|
111
147
|
def gcp(self) -> 'V1GcpDataConnection':
|
|
112
148
|
"""Gets the gcp of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
@@ -128,6 +164,48 @@ class V1ValidateDataConnectionResponse(object):
|
|
|
128
164
|
|
|
129
165
|
self._gcp = gcp
|
|
130
166
|
|
|
167
|
+
@property
|
|
168
|
+
def gcs_folder(self) -> 'V1GCSFolderDataConnection':
|
|
169
|
+
"""Gets the gcs_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
:return: The gcs_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
173
|
+
:rtype: V1GCSFolderDataConnection
|
|
174
|
+
"""
|
|
175
|
+
return self._gcs_folder
|
|
176
|
+
|
|
177
|
+
@gcs_folder.setter
|
|
178
|
+
def gcs_folder(self, gcs_folder: 'V1GCSFolderDataConnection'):
|
|
179
|
+
"""Sets the gcs_folder of this V1ValidateDataConnectionResponse.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:param gcs_folder: The gcs_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
183
|
+
:type: V1GCSFolderDataConnection
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
self._gcs_folder = gcs_folder
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def s3_folder(self) -> 'V1S3FolderDataConnection':
|
|
190
|
+
"""Gets the s3_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
:return: The s3_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
194
|
+
:rtype: V1S3FolderDataConnection
|
|
195
|
+
"""
|
|
196
|
+
return self._s3_folder
|
|
197
|
+
|
|
198
|
+
@s3_folder.setter
|
|
199
|
+
def s3_folder(self, s3_folder: 'V1S3FolderDataConnection'):
|
|
200
|
+
"""Sets the s3_folder of this V1ValidateDataConnectionResponse.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
:param s3_folder: The s3_folder of this V1ValidateDataConnectionResponse. # noqa: E501
|
|
204
|
+
:type: V1S3FolderDataConnection
|
|
205
|
+
"""
|
|
206
|
+
|
|
207
|
+
self._s3_folder = s3_folder
|
|
208
|
+
|
|
131
209
|
def to_dict(self) -> dict:
|
|
132
210
|
"""Returns the model properties as a dict"""
|
|
133
211
|
result = {}
|
|
@@ -45,7 +45,10 @@ class Validate(object):
|
|
|
45
45
|
'check_is_public': 'bool',
|
|
46
46
|
'cluster_ids': 'list[str]',
|
|
47
47
|
'efs': 'V1EfsDataConnection',
|
|
48
|
-
'
|
|
48
|
+
'efs_folder': 'V1EFSFolderDataConnection',
|
|
49
|
+
'gcp': 'V1GcpDataConnection',
|
|
50
|
+
'gcs_folder': 'V1GCSFolderDataConnection',
|
|
51
|
+
's3_folder': 'V1S3FolderDataConnection'
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
attribute_map = {
|
|
@@ -53,16 +56,22 @@ class Validate(object):
|
|
|
53
56
|
'check_is_public': 'checkIsPublic',
|
|
54
57
|
'cluster_ids': 'clusterIds',
|
|
55
58
|
'efs': 'efs',
|
|
56
|
-
'
|
|
59
|
+
'efs_folder': 'efsFolder',
|
|
60
|
+
'gcp': 'gcp',
|
|
61
|
+
'gcs_folder': 'gcsFolder',
|
|
62
|
+
's3_folder': 's3Folder'
|
|
57
63
|
}
|
|
58
64
|
|
|
59
|
-
def __init__(self, aws: 'V1AwsDataConnection' =None, check_is_public: 'bool' =None, cluster_ids: 'list[str]' =None, efs: 'V1EfsDataConnection' =None, gcp: 'V1GcpDataConnection' =None): # noqa: E501
|
|
65
|
+
def __init__(self, aws: 'V1AwsDataConnection' =None, check_is_public: 'bool' =None, cluster_ids: 'list[str]' =None, efs: 'V1EfsDataConnection' =None, efs_folder: 'V1EFSFolderDataConnection' =None, gcp: 'V1GcpDataConnection' =None, gcs_folder: 'V1GCSFolderDataConnection' =None, s3_folder: 'V1S3FolderDataConnection' =None): # noqa: E501
|
|
60
66
|
"""Validate - a model defined in Swagger""" # noqa: E501
|
|
61
67
|
self._aws = None
|
|
62
68
|
self._check_is_public = None
|
|
63
69
|
self._cluster_ids = None
|
|
64
70
|
self._efs = None
|
|
71
|
+
self._efs_folder = None
|
|
65
72
|
self._gcp = None
|
|
73
|
+
self._gcs_folder = None
|
|
74
|
+
self._s3_folder = None
|
|
66
75
|
self.discriminator = None
|
|
67
76
|
if aws is not None:
|
|
68
77
|
self.aws = aws
|
|
@@ -72,8 +81,14 @@ class Validate(object):
|
|
|
72
81
|
self.cluster_ids = cluster_ids
|
|
73
82
|
if efs is not None:
|
|
74
83
|
self.efs = efs
|
|
84
|
+
if efs_folder is not None:
|
|
85
|
+
self.efs_folder = efs_folder
|
|
75
86
|
if gcp is not None:
|
|
76
87
|
self.gcp = gcp
|
|
88
|
+
if gcs_folder is not None:
|
|
89
|
+
self.gcs_folder = gcs_folder
|
|
90
|
+
if s3_folder is not None:
|
|
91
|
+
self.s3_folder = s3_folder
|
|
77
92
|
|
|
78
93
|
@property
|
|
79
94
|
def aws(self) -> 'V1AwsDataConnection':
|
|
@@ -159,6 +174,27 @@ class Validate(object):
|
|
|
159
174
|
|
|
160
175
|
self._efs = efs
|
|
161
176
|
|
|
177
|
+
@property
|
|
178
|
+
def efs_folder(self) -> 'V1EFSFolderDataConnection':
|
|
179
|
+
"""Gets the efs_folder of this Validate. # noqa: E501
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:return: The efs_folder of this Validate. # noqa: E501
|
|
183
|
+
:rtype: V1EFSFolderDataConnection
|
|
184
|
+
"""
|
|
185
|
+
return self._efs_folder
|
|
186
|
+
|
|
187
|
+
@efs_folder.setter
|
|
188
|
+
def efs_folder(self, efs_folder: 'V1EFSFolderDataConnection'):
|
|
189
|
+
"""Sets the efs_folder of this Validate.
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
:param efs_folder: The efs_folder of this Validate. # noqa: E501
|
|
193
|
+
:type: V1EFSFolderDataConnection
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
self._efs_folder = efs_folder
|
|
197
|
+
|
|
162
198
|
@property
|
|
163
199
|
def gcp(self) -> 'V1GcpDataConnection':
|
|
164
200
|
"""Gets the gcp of this Validate. # noqa: E501
|
|
@@ -180,6 +216,48 @@ class Validate(object):
|
|
|
180
216
|
|
|
181
217
|
self._gcp = gcp
|
|
182
218
|
|
|
219
|
+
@property
|
|
220
|
+
def gcs_folder(self) -> 'V1GCSFolderDataConnection':
|
|
221
|
+
"""Gets the gcs_folder of this Validate. # noqa: E501
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
:return: The gcs_folder of this Validate. # noqa: E501
|
|
225
|
+
:rtype: V1GCSFolderDataConnection
|
|
226
|
+
"""
|
|
227
|
+
return self._gcs_folder
|
|
228
|
+
|
|
229
|
+
@gcs_folder.setter
|
|
230
|
+
def gcs_folder(self, gcs_folder: 'V1GCSFolderDataConnection'):
|
|
231
|
+
"""Sets the gcs_folder of this Validate.
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
:param gcs_folder: The gcs_folder of this Validate. # noqa: E501
|
|
235
|
+
:type: V1GCSFolderDataConnection
|
|
236
|
+
"""
|
|
237
|
+
|
|
238
|
+
self._gcs_folder = gcs_folder
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def s3_folder(self) -> 'V1S3FolderDataConnection':
|
|
242
|
+
"""Gets the s3_folder of this Validate. # noqa: E501
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
:return: The s3_folder of this Validate. # noqa: E501
|
|
246
|
+
:rtype: V1S3FolderDataConnection
|
|
247
|
+
"""
|
|
248
|
+
return self._s3_folder
|
|
249
|
+
|
|
250
|
+
@s3_folder.setter
|
|
251
|
+
def s3_folder(self, s3_folder: 'V1S3FolderDataConnection'):
|
|
252
|
+
"""Sets the s3_folder of this Validate.
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
:param s3_folder: The s3_folder of this Validate. # noqa: E501
|
|
256
|
+
:type: V1S3FolderDataConnection
|
|
257
|
+
"""
|
|
258
|
+
|
|
259
|
+
self._s3_folder = s3_folder
|
|
260
|
+
|
|
183
261
|
def to_dict(self) -> dict:
|
|
184
262
|
"""Returns the model properties as a dict"""
|
|
185
263
|
result = {}
|
|
@@ -32,6 +32,7 @@ from lightning_sdk.lightning_cloud.openapi import (
|
|
|
32
32
|
JobsServiceApi,
|
|
33
33
|
AssistantsServiceApi,
|
|
34
34
|
StorageServiceApi,
|
|
35
|
+
DeploymentTemplatesServiceApi,
|
|
35
36
|
)
|
|
36
37
|
from lightning_sdk.lightning_cloud.openapi.rest import ApiException
|
|
37
38
|
from lightning_sdk.lightning_cloud.source_code.logs_socket_api import LightningLogsSocketAPI
|
|
@@ -89,6 +90,7 @@ class GridRestClient(
|
|
|
89
90
|
JobsServiceApi,
|
|
90
91
|
AssistantsServiceApi,
|
|
91
92
|
StorageServiceApi,
|
|
93
|
+
DeploymentTemplatesServiceApi,
|
|
92
94
|
):
|
|
93
95
|
|
|
94
96
|
def __init__(self, api_client: Optional[ApiClient] = None):
|