lightning-sdk 0.1.38__py3-none-any.whl → 0.1.40__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 +1 -1
- lightning_sdk/_mmt/__init__.py +3 -0
- lightning_sdk/_mmt/base.py +180 -0
- lightning_sdk/_mmt/mmt.py +161 -0
- lightning_sdk/_mmt/v1.py +69 -0
- lightning_sdk/_mmt/v2.py +141 -0
- lightning_sdk/api/deployment_api.py +0 -2
- lightning_sdk/api/job_api.py +4 -0
- lightning_sdk/api/mmt_api.py +147 -0
- lightning_sdk/api/teamspace_api.py +4 -11
- lightning_sdk/api/utils.py +6 -3
- lightning_sdk/cli/download.py +3 -5
- lightning_sdk/cli/mmt.py +137 -0
- lightning_sdk/cli/run.py +16 -0
- lightning_sdk/cli/upload.py +3 -10
- lightning_sdk/job/base.py +24 -3
- lightning_sdk/job/job.py +10 -1
- lightning_sdk/job/v1.py +7 -1
- lightning_sdk/job/v2.py +18 -9
- lightning_sdk/lightning_cloud/openapi/__init__.py +7 -3
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +90 -284
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +6 -1
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +235 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -3
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_start_body.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{project_id_agentmanagedmodels_body.py → v1_body.py} +21 -47
- lightning_sdk/lightning_cloud/openapi/models/v1_data_path.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +53 -53
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +1 -2
- lightning_sdk/lightning_cloud/openapi/models/v1_query_param.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_managed_models_response.py → v1_resource_visibility.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_managed_model_response.py → v1_update_model_visibility_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +27 -1
- lightning_sdk/models.py +153 -0
- lightning_sdk/teamspace.py +15 -11
- {lightning_sdk-0.1.38.dist-info → lightning_sdk-0.1.40.dist-info}/METADATA +1 -1
- {lightning_sdk-0.1.38.dist-info → lightning_sdk-0.1.40.dist-info}/RECORD +52 -41
- {lightning_sdk-0.1.38.dist-info → lightning_sdk-0.1.40.dist-info}/entry_points.txt +1 -0
- lightning_sdk/cli/models.py +0 -68
- {lightning_sdk-0.1.38.dist-info → lightning_sdk-0.1.40.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.38.dist-info → lightning_sdk-0.1.40.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.1.38.dist-info → lightning_sdk-0.1.40.dist-info}/top_level.txt +0 -0
|
@@ -1197,6 +1197,9 @@ class ModelsStoreApi(object):
|
|
|
1197
1197
|
:param str name:
|
|
1198
1198
|
:param str version:
|
|
1199
1199
|
:param str project_id:
|
|
1200
|
+
:param str project_name:
|
|
1201
|
+
:param str project_owner_name:
|
|
1202
|
+
:param str id:
|
|
1200
1203
|
:return: V1GetModelFilesResponse
|
|
1201
1204
|
If the method is called asynchronously,
|
|
1202
1205
|
returns the request thread.
|
|
@@ -1220,12 +1223,15 @@ class ModelsStoreApi(object):
|
|
|
1220
1223
|
:param str name:
|
|
1221
1224
|
:param str version:
|
|
1222
1225
|
:param str project_id:
|
|
1226
|
+
:param str project_name:
|
|
1227
|
+
:param str project_owner_name:
|
|
1228
|
+
:param str id:
|
|
1223
1229
|
:return: V1GetModelFilesResponse
|
|
1224
1230
|
If the method is called asynchronously,
|
|
1225
1231
|
returns the request thread.
|
|
1226
1232
|
"""
|
|
1227
1233
|
|
|
1228
|
-
all_params = ['name', 'version', 'project_id'] # noqa: E501
|
|
1234
|
+
all_params = ['name', 'version', 'project_id', 'project_name', 'project_owner_name', 'id'] # noqa: E501
|
|
1229
1235
|
all_params.append('async_req')
|
|
1230
1236
|
all_params.append('_return_http_data_only')
|
|
1231
1237
|
all_params.append('_preload_content')
|
|
@@ -1252,6 +1258,12 @@ class ModelsStoreApi(object):
|
|
|
1252
1258
|
query_params.append(('version', params['version'])) # noqa: E501
|
|
1253
1259
|
if 'project_id' in params:
|
|
1254
1260
|
query_params.append(('projectId', params['project_id'])) # noqa: E501
|
|
1261
|
+
if 'project_name' in params:
|
|
1262
|
+
query_params.append(('projectName', params['project_name'])) # noqa: E501
|
|
1263
|
+
if 'project_owner_name' in params:
|
|
1264
|
+
query_params.append(('projectOwnerName', params['project_owner_name'])) # noqa: E501
|
|
1265
|
+
if 'id' in params:
|
|
1266
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
1255
1267
|
|
|
1256
1268
|
header_params = {}
|
|
1257
1269
|
|
|
@@ -1282,6 +1294,115 @@ class ModelsStoreApi(object):
|
|
|
1282
1294
|
_request_timeout=params.get('_request_timeout'),
|
|
1283
1295
|
collection_formats=collection_formats)
|
|
1284
1296
|
|
|
1297
|
+
def models_store_get_model_version(self, project_id: 'str', model_id: 'str', version: 'str', **kwargs) -> 'V1ModelVersionArchive': # noqa: E501
|
|
1298
|
+
"""GetModelVersion used to get specific model version details # noqa: E501
|
|
1299
|
+
|
|
1300
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1301
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1302
|
+
>>> thread = api.models_store_get_model_version(project_id, model_id, version, async_req=True)
|
|
1303
|
+
>>> result = thread.get()
|
|
1304
|
+
|
|
1305
|
+
:param async_req bool
|
|
1306
|
+
:param str project_id: (required)
|
|
1307
|
+
:param str model_id: (required)
|
|
1308
|
+
:param str version: (required)
|
|
1309
|
+
:return: V1ModelVersionArchive
|
|
1310
|
+
If the method is called asynchronously,
|
|
1311
|
+
returns the request thread.
|
|
1312
|
+
"""
|
|
1313
|
+
kwargs['_return_http_data_only'] = True
|
|
1314
|
+
if kwargs.get('async_req'):
|
|
1315
|
+
return self.models_store_get_model_version_with_http_info(project_id, model_id, version, **kwargs) # noqa: E501
|
|
1316
|
+
else:
|
|
1317
|
+
(data) = self.models_store_get_model_version_with_http_info(project_id, model_id, version, **kwargs) # noqa: E501
|
|
1318
|
+
return data
|
|
1319
|
+
|
|
1320
|
+
def models_store_get_model_version_with_http_info(self, project_id: 'str', model_id: 'str', version: 'str', **kwargs) -> 'V1ModelVersionArchive': # noqa: E501
|
|
1321
|
+
"""GetModelVersion used to get specific model version details # noqa: E501
|
|
1322
|
+
|
|
1323
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1324
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1325
|
+
>>> thread = api.models_store_get_model_version_with_http_info(project_id, model_id, version, async_req=True)
|
|
1326
|
+
>>> result = thread.get()
|
|
1327
|
+
|
|
1328
|
+
:param async_req bool
|
|
1329
|
+
:param str project_id: (required)
|
|
1330
|
+
:param str model_id: (required)
|
|
1331
|
+
:param str version: (required)
|
|
1332
|
+
:return: V1ModelVersionArchive
|
|
1333
|
+
If the method is called asynchronously,
|
|
1334
|
+
returns the request thread.
|
|
1335
|
+
"""
|
|
1336
|
+
|
|
1337
|
+
all_params = ['project_id', 'model_id', 'version'] # noqa: E501
|
|
1338
|
+
all_params.append('async_req')
|
|
1339
|
+
all_params.append('_return_http_data_only')
|
|
1340
|
+
all_params.append('_preload_content')
|
|
1341
|
+
all_params.append('_request_timeout')
|
|
1342
|
+
|
|
1343
|
+
params = locals()
|
|
1344
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1345
|
+
if key not in all_params:
|
|
1346
|
+
raise TypeError(
|
|
1347
|
+
"Got an unexpected keyword argument '%s'"
|
|
1348
|
+
" to method models_store_get_model_version" % key
|
|
1349
|
+
)
|
|
1350
|
+
params[key] = val
|
|
1351
|
+
del params['kwargs']
|
|
1352
|
+
# verify the required parameter 'project_id' is set
|
|
1353
|
+
if ('project_id' not in params or
|
|
1354
|
+
params['project_id'] is None):
|
|
1355
|
+
raise ValueError("Missing the required parameter `project_id` when calling `models_store_get_model_version`") # noqa: E501
|
|
1356
|
+
# verify the required parameter 'model_id' is set
|
|
1357
|
+
if ('model_id' not in params or
|
|
1358
|
+
params['model_id'] is None):
|
|
1359
|
+
raise ValueError("Missing the required parameter `model_id` when calling `models_store_get_model_version`") # noqa: E501
|
|
1360
|
+
# verify the required parameter 'version' is set
|
|
1361
|
+
if ('version' not in params or
|
|
1362
|
+
params['version'] is None):
|
|
1363
|
+
raise ValueError("Missing the required parameter `version` when calling `models_store_get_model_version`") # noqa: E501
|
|
1364
|
+
|
|
1365
|
+
collection_formats = {}
|
|
1366
|
+
|
|
1367
|
+
path_params = {}
|
|
1368
|
+
if 'project_id' in params:
|
|
1369
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1370
|
+
if 'model_id' in params:
|
|
1371
|
+
path_params['modelId'] = params['model_id'] # noqa: E501
|
|
1372
|
+
if 'version' in params:
|
|
1373
|
+
path_params['version'] = params['version'] # noqa: E501
|
|
1374
|
+
|
|
1375
|
+
query_params = []
|
|
1376
|
+
|
|
1377
|
+
header_params = {}
|
|
1378
|
+
|
|
1379
|
+
form_params = []
|
|
1380
|
+
local_var_files = {}
|
|
1381
|
+
|
|
1382
|
+
body_params = None
|
|
1383
|
+
# HTTP header `Accept`
|
|
1384
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1385
|
+
['application/json']) # noqa: E501
|
|
1386
|
+
|
|
1387
|
+
# Authentication setting
|
|
1388
|
+
auth_settings = [] # noqa: E501
|
|
1389
|
+
|
|
1390
|
+
return self.api_client.call_api(
|
|
1391
|
+
'/v1/projects/{projectId}/models/{modelId}/versions/{version}', 'GET',
|
|
1392
|
+
path_params,
|
|
1393
|
+
query_params,
|
|
1394
|
+
header_params,
|
|
1395
|
+
body=body_params,
|
|
1396
|
+
post_params=form_params,
|
|
1397
|
+
files=local_var_files,
|
|
1398
|
+
response_type='V1ModelVersionArchive', # noqa: E501
|
|
1399
|
+
auth_settings=auth_settings,
|
|
1400
|
+
async_req=params.get('async_req'),
|
|
1401
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1402
|
+
_preload_content=params.get('_preload_content', True),
|
|
1403
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1404
|
+
collection_formats=collection_formats)
|
|
1405
|
+
|
|
1285
1406
|
def models_store_list_model_versions(self, project_id: 'str', model_id: 'str', **kwargs) -> 'V1ListModelVersionsResponse': # noqa: E501
|
|
1286
1407
|
"""models_store_list_model_versions # noqa: E501
|
|
1287
1408
|
|
|
@@ -1592,3 +1713,116 @@ class ModelsStoreApi(object):
|
|
|
1592
1713
|
_preload_content=params.get('_preload_content', True),
|
|
1593
1714
|
_request_timeout=params.get('_request_timeout'),
|
|
1594
1715
|
collection_formats=collection_formats)
|
|
1716
|
+
|
|
1717
|
+
def models_store_update_model_visibility(self, body: 'ModelIdVisibilityBody', project_id: 'str', model_id: 'str', **kwargs) -> 'V1UpdateModelVisibilityResponse': # noqa: E501
|
|
1718
|
+
"""models_store_update_model_visibility # noqa: E501
|
|
1719
|
+
|
|
1720
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1721
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1722
|
+
>>> thread = api.models_store_update_model_visibility(body, project_id, model_id, async_req=True)
|
|
1723
|
+
>>> result = thread.get()
|
|
1724
|
+
|
|
1725
|
+
:param async_req bool
|
|
1726
|
+
:param ModelIdVisibilityBody body: (required)
|
|
1727
|
+
:param str project_id: (required)
|
|
1728
|
+
:param str model_id: (required)
|
|
1729
|
+
:return: V1UpdateModelVisibilityResponse
|
|
1730
|
+
If the method is called asynchronously,
|
|
1731
|
+
returns the request thread.
|
|
1732
|
+
"""
|
|
1733
|
+
kwargs['_return_http_data_only'] = True
|
|
1734
|
+
if kwargs.get('async_req'):
|
|
1735
|
+
return self.models_store_update_model_visibility_with_http_info(body, project_id, model_id, **kwargs) # noqa: E501
|
|
1736
|
+
else:
|
|
1737
|
+
(data) = self.models_store_update_model_visibility_with_http_info(body, project_id, model_id, **kwargs) # noqa: E501
|
|
1738
|
+
return data
|
|
1739
|
+
|
|
1740
|
+
def models_store_update_model_visibility_with_http_info(self, body: 'ModelIdVisibilityBody', project_id: 'str', model_id: 'str', **kwargs) -> 'V1UpdateModelVisibilityResponse': # noqa: E501
|
|
1741
|
+
"""models_store_update_model_visibility # noqa: E501
|
|
1742
|
+
|
|
1743
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1744
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1745
|
+
>>> thread = api.models_store_update_model_visibility_with_http_info(body, project_id, model_id, async_req=True)
|
|
1746
|
+
>>> result = thread.get()
|
|
1747
|
+
|
|
1748
|
+
:param async_req bool
|
|
1749
|
+
:param ModelIdVisibilityBody body: (required)
|
|
1750
|
+
:param str project_id: (required)
|
|
1751
|
+
:param str model_id: (required)
|
|
1752
|
+
:return: V1UpdateModelVisibilityResponse
|
|
1753
|
+
If the method is called asynchronously,
|
|
1754
|
+
returns the request thread.
|
|
1755
|
+
"""
|
|
1756
|
+
|
|
1757
|
+
all_params = ['body', 'project_id', 'model_id'] # noqa: E501
|
|
1758
|
+
all_params.append('async_req')
|
|
1759
|
+
all_params.append('_return_http_data_only')
|
|
1760
|
+
all_params.append('_preload_content')
|
|
1761
|
+
all_params.append('_request_timeout')
|
|
1762
|
+
|
|
1763
|
+
params = locals()
|
|
1764
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1765
|
+
if key not in all_params:
|
|
1766
|
+
raise TypeError(
|
|
1767
|
+
"Got an unexpected keyword argument '%s'"
|
|
1768
|
+
" to method models_store_update_model_visibility" % key
|
|
1769
|
+
)
|
|
1770
|
+
params[key] = val
|
|
1771
|
+
del params['kwargs']
|
|
1772
|
+
# verify the required parameter 'body' is set
|
|
1773
|
+
if ('body' not in params or
|
|
1774
|
+
params['body'] is None):
|
|
1775
|
+
raise ValueError("Missing the required parameter `body` when calling `models_store_update_model_visibility`") # noqa: E501
|
|
1776
|
+
# verify the required parameter 'project_id' is set
|
|
1777
|
+
if ('project_id' not in params or
|
|
1778
|
+
params['project_id'] is None):
|
|
1779
|
+
raise ValueError("Missing the required parameter `project_id` when calling `models_store_update_model_visibility`") # noqa: E501
|
|
1780
|
+
# verify the required parameter 'model_id' is set
|
|
1781
|
+
if ('model_id' not in params or
|
|
1782
|
+
params['model_id'] is None):
|
|
1783
|
+
raise ValueError("Missing the required parameter `model_id` when calling `models_store_update_model_visibility`") # noqa: E501
|
|
1784
|
+
|
|
1785
|
+
collection_formats = {}
|
|
1786
|
+
|
|
1787
|
+
path_params = {}
|
|
1788
|
+
if 'project_id' in params:
|
|
1789
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1790
|
+
if 'model_id' in params:
|
|
1791
|
+
path_params['modelId'] = params['model_id'] # noqa: E501
|
|
1792
|
+
|
|
1793
|
+
query_params = []
|
|
1794
|
+
|
|
1795
|
+
header_params = {}
|
|
1796
|
+
|
|
1797
|
+
form_params = []
|
|
1798
|
+
local_var_files = {}
|
|
1799
|
+
|
|
1800
|
+
body_params = None
|
|
1801
|
+
if 'body' in params:
|
|
1802
|
+
body_params = params['body']
|
|
1803
|
+
# HTTP header `Accept`
|
|
1804
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1805
|
+
['application/json']) # noqa: E501
|
|
1806
|
+
|
|
1807
|
+
# HTTP header `Content-Type`
|
|
1808
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1809
|
+
['application/json']) # noqa: E501
|
|
1810
|
+
|
|
1811
|
+
# Authentication setting
|
|
1812
|
+
auth_settings = [] # noqa: E501
|
|
1813
|
+
|
|
1814
|
+
return self.api_client.call_api(
|
|
1815
|
+
'/v1/projects/{projectId}/models/{modelId}/visibility', 'PUT',
|
|
1816
|
+
path_params,
|
|
1817
|
+
query_params,
|
|
1818
|
+
header_params,
|
|
1819
|
+
body=body_params,
|
|
1820
|
+
post_params=form_params,
|
|
1821
|
+
files=local_var_files,
|
|
1822
|
+
response_type='V1UpdateModelVisibilityResponse', # noqa: E501
|
|
1823
|
+
auth_settings=auth_settings,
|
|
1824
|
+
async_req=params.get('async_req'),
|
|
1825
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1826
|
+
_preload_content=params.get('_preload_content', True),
|
|
1827
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1828
|
+
collection_formats=collection_formats)
|
|
@@ -101,6 +101,7 @@ from lightning_sdk.lightning_cloud.openapi.models.metricsstream_create_body impo
|
|
|
101
101
|
from lightning_sdk.lightning_cloud.openapi.models.metricsstream_delete_body import MetricsstreamDeleteBody
|
|
102
102
|
from lightning_sdk.lightning_cloud.openapi.models.metricsstream_id_body import MetricsstreamIdBody
|
|
103
103
|
from lightning_sdk.lightning_cloud.openapi.models.model_id_versions_body import ModelIdVersionsBody
|
|
104
|
+
from lightning_sdk.lightning_cloud.openapi.models.model_id_visibility_body import ModelIdVisibilityBody
|
|
104
105
|
from lightning_sdk.lightning_cloud.openapi.models.models_model_id_body import ModelsModelIdBody
|
|
105
106
|
from lightning_sdk.lightning_cloud.openapi.models.multimachinejobs_id_body import MultimachinejobsIdBody
|
|
106
107
|
from lightning_sdk.lightning_cloud.openapi.models.multipartuploads_upload_id_body import MultipartuploadsUploadIdBody
|
|
@@ -110,7 +111,6 @@ from lightning_sdk.lightning_cloud.openapi.models.orgs_id_body import OrgsIdBody
|
|
|
110
111
|
from lightning_sdk.lightning_cloud.openapi.models.profiler_captures_body import ProfilerCapturesBody
|
|
111
112
|
from lightning_sdk.lightning_cloud.openapi.models.profiler_enabled_body import ProfilerEnabledBody
|
|
112
113
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_agentmanagedendpoints_body import ProjectIdAgentmanagedendpointsBody
|
|
113
|
-
from lightning_sdk.lightning_cloud.openapi.models.project_id_agentmanagedmodels_body import ProjectIdAgentmanagedmodelsBody
|
|
114
114
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_agents_body import ProjectIdAgentsBody
|
|
115
115
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_cloudspaces_body import ProjectIdCloudspacesBody
|
|
116
116
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_clusters_body import ProjectIdClustersBody
|
|
@@ -186,6 +186,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_billing_feature import V1Bi
|
|
|
186
186
|
from lightning_sdk.lightning_cloud.openapi.models.v1_billing_period import V1BillingPeriod
|
|
187
187
|
from lightning_sdk.lightning_cloud.openapi.models.v1_billing_subscription import V1BillingSubscription
|
|
188
188
|
from lightning_sdk.lightning_cloud.openapi.models.v1_billing_tier import V1BillingTier
|
|
189
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_body import V1Body
|
|
189
190
|
from lightning_sdk.lightning_cloud.openapi.models.v1_build_spec import V1BuildSpec
|
|
190
191
|
from lightning_sdk.lightning_cloud.openapi.models.v1_cpu_system_metrics import V1CPUSystemMetrics
|
|
191
192
|
from lightning_sdk.lightning_cloud.openapi.models.v1_cancel_cloud_space_instance_switch_response import V1CancelCloudSpaceInstanceSwitchResponse
|
|
@@ -303,7 +304,6 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lightningwork_respon
|
|
|
303
304
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lit_page_response import V1DeleteLitPageResponse
|
|
304
305
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_logger_artifact_response import V1DeleteLoggerArtifactResponse
|
|
305
306
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_managed_endpoint_response import V1DeleteManagedEndpointResponse
|
|
306
|
-
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_managed_model_response import V1DeleteManagedModelResponse
|
|
307
307
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_metrics_stream_response import V1DeleteMetricsStreamResponse
|
|
308
308
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_model_response import V1DeleteModelResponse
|
|
309
309
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_model_version_response import V1DeleteModelVersionResponse
|
|
@@ -329,6 +329,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_delete_user_slurm_job_respo
|
|
|
329
329
|
from lightning_sdk.lightning_cloud.openapi.models.v1_dependency_cache_state import V1DependencyCacheState
|
|
330
330
|
from lightning_sdk.lightning_cloud.openapi.models.v1_dependency_file_info import V1DependencyFileInfo
|
|
331
331
|
from lightning_sdk.lightning_cloud.openapi.models.v1_deployment import V1Deployment
|
|
332
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_deployment_api import V1DeploymentAPI
|
|
332
333
|
from lightning_sdk.lightning_cloud.openapi.models.v1_deployment_event import V1DeploymentEvent
|
|
333
334
|
from lightning_sdk.lightning_cloud.openapi.models.v1_deployment_event_type import V1DeploymentEventType
|
|
334
335
|
from lightning_sdk.lightning_cloud.openapi.models.v1_deployment_metrics import V1DeploymentMetrics
|
|
@@ -516,7 +517,6 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_list_lightningwork_response
|
|
|
516
517
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_lit_pages_response import V1ListLitPagesResponse
|
|
517
518
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_logger_artifact_response import V1ListLoggerArtifactResponse
|
|
518
519
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_managed_endpoints_response import V1ListManagedEndpointsResponse
|
|
519
|
-
from lightning_sdk.lightning_cloud.openapi.models.v1_list_managed_models_response import V1ListManagedModelsResponse
|
|
520
520
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_memberships_response import V1ListMembershipsResponse
|
|
521
521
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_metrics_streams_response import V1ListMetricsStreamsResponse
|
|
522
522
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_model_versions_response import V1ListModelVersionsResponse
|
|
@@ -562,6 +562,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_magic_link_login_request im
|
|
|
562
562
|
from lightning_sdk.lightning_cloud.openapi.models.v1_magic_link_login_response import V1MagicLinkLoginResponse
|
|
563
563
|
from lightning_sdk.lightning_cloud.openapi.models.v1_managed_endpoint import V1ManagedEndpoint
|
|
564
564
|
from lightning_sdk.lightning_cloud.openapi.models.v1_managed_model import V1ManagedModel
|
|
565
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_managed_model_abilities import V1ManagedModelAbilities
|
|
565
566
|
from lightning_sdk.lightning_cloud.openapi.models.v1_membership import V1Membership
|
|
566
567
|
from lightning_sdk.lightning_cloud.openapi.models.v1_message import V1Message
|
|
567
568
|
from lightning_sdk.lightning_cloud.openapi.models.v1_message_author import V1MessageAuthor
|
|
@@ -617,6 +618,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_publish_cloud_space_respons
|
|
|
617
618
|
from lightning_sdk.lightning_cloud.openapi.models.v1_published_cloud_space_response import V1PublishedCloudSpaceResponse
|
|
618
619
|
from lightning_sdk.lightning_cloud.openapi.models.v1_purchase_capacity_block_response import V1PurchaseCapacityBlockResponse
|
|
619
620
|
from lightning_sdk.lightning_cloud.openapi.models.v1_python_dependency_info import V1PythonDependencyInfo
|
|
621
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_query_param import V1QueryParam
|
|
620
622
|
from lightning_sdk.lightning_cloud.openapi.models.v1_query_result import V1QueryResult
|
|
621
623
|
from lightning_sdk.lightning_cloud.openapi.models.v1_query_result_row import V1QueryResultRow
|
|
622
624
|
from lightning_sdk.lightning_cloud.openapi.models.v1_quest import V1Quest
|
|
@@ -635,6 +637,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_request_cluster_access_requ
|
|
|
635
637
|
from lightning_sdk.lightning_cloud.openapi.models.v1_request_cluster_access_response import V1RequestClusterAccessResponse
|
|
636
638
|
from lightning_sdk.lightning_cloud.openapi.models.v1_request_verification_code_response import V1RequestVerificationCodeResponse
|
|
637
639
|
from lightning_sdk.lightning_cloud.openapi.models.v1_resource_tag import V1ResourceTag
|
|
640
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_resource_visibility import V1ResourceVisibility
|
|
638
641
|
from lightning_sdk.lightning_cloud.openapi.models.v1_resources import V1Resources
|
|
639
642
|
from lightning_sdk.lightning_cloud.openapi.models.v1_response_choice import V1ResponseChoice
|
|
640
643
|
from lightning_sdk.lightning_cloud.openapi.models.v1_response_choice_delta import V1ResponseChoiceDelta
|
|
@@ -700,6 +703,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_update_cluster_accelerators
|
|
|
700
703
|
from lightning_sdk.lightning_cloud.openapi.models.v1_update_cluster_availability_request import V1UpdateClusterAvailabilityRequest
|
|
701
704
|
from lightning_sdk.lightning_cloud.openapi.models.v1_update_index_response import V1UpdateIndexResponse
|
|
702
705
|
from lightning_sdk.lightning_cloud.openapi.models.v1_update_lit_page_response import V1UpdateLitPageResponse
|
|
706
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_update_model_visibility_response import V1UpdateModelVisibilityResponse
|
|
703
707
|
from lightning_sdk.lightning_cloud.openapi.models.v1_update_project_cluster_accelerators_response import V1UpdateProjectClusterAcceleratorsResponse
|
|
704
708
|
from lightning_sdk.lightning_cloud.openapi.models.v1_update_shared_metrics_stream_response import V1UpdateSharedMetricsStreamResponse
|
|
705
709
|
from lightning_sdk.lightning_cloud.openapi.models.v1_update_snowflake_query_response import V1UpdateSnowflakeQueryResponse
|
|
@@ -41,6 +41,7 @@ class DeploymentsIdBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'apis': 'list[V1DeploymentAPI]',
|
|
44
45
|
'autoscaling': 'V1AutoscalingSpec',
|
|
45
46
|
'cloudspace_id': 'str',
|
|
46
47
|
'created_at': 'datetime',
|
|
@@ -60,6 +61,7 @@ class DeploymentsIdBody(object):
|
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
attribute_map = {
|
|
64
|
+
'apis': 'apis',
|
|
63
65
|
'autoscaling': 'autoscaling',
|
|
64
66
|
'cloudspace_id': 'cloudspaceId',
|
|
65
67
|
'created_at': 'createdAt',
|
|
@@ -78,8 +80,9 @@ class DeploymentsIdBody(object):
|
|
|
78
80
|
'user_id': 'userId'
|
|
79
81
|
}
|
|
80
82
|
|
|
81
|
-
def __init__(self, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =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, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
83
|
+
def __init__(self, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =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, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
|
|
82
84
|
"""DeploymentsIdBody - a model defined in Swagger""" # noqa: E501
|
|
85
|
+
self._apis = None
|
|
83
86
|
self._autoscaling = None
|
|
84
87
|
self._cloudspace_id = None
|
|
85
88
|
self._created_at = None
|
|
@@ -97,6 +100,8 @@ class DeploymentsIdBody(object):
|
|
|
97
100
|
self._updated_at = None
|
|
98
101
|
self._user_id = None
|
|
99
102
|
self.discriminator = None
|
|
103
|
+
if apis is not None:
|
|
104
|
+
self.apis = apis
|
|
100
105
|
if autoscaling is not None:
|
|
101
106
|
self.autoscaling = autoscaling
|
|
102
107
|
if cloudspace_id is not None:
|
|
@@ -130,6 +135,27 @@ class DeploymentsIdBody(object):
|
|
|
130
135
|
if user_id is not None:
|
|
131
136
|
self.user_id = user_id
|
|
132
137
|
|
|
138
|
+
@property
|
|
139
|
+
def apis(self) -> 'list[V1DeploymentAPI]':
|
|
140
|
+
"""Gets the apis of this DeploymentsIdBody. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The apis of this DeploymentsIdBody. # noqa: E501
|
|
144
|
+
:rtype: list[V1DeploymentAPI]
|
|
145
|
+
"""
|
|
146
|
+
return self._apis
|
|
147
|
+
|
|
148
|
+
@apis.setter
|
|
149
|
+
def apis(self, apis: 'list[V1DeploymentAPI]'):
|
|
150
|
+
"""Sets the apis of this DeploymentsIdBody.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param apis: The apis of this DeploymentsIdBody. # noqa: E501
|
|
154
|
+
:type: list[V1DeploymentAPI]
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._apis = apis
|
|
158
|
+
|
|
133
159
|
@property
|
|
134
160
|
def autoscaling(self) -> 'V1AutoscalingSpec':
|
|
135
161
|
"""Gets the autoscaling of this DeploymentsIdBody. # noqa: E501
|
|
@@ -41,19 +41,24 @@ class IdStartBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
-
'compute_config': 'V1UserRequestedComputeConfig'
|
|
44
|
+
'compute_config': 'V1UserRequestedComputeConfig',
|
|
45
|
+
'is_forked': 'bool'
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
attribute_map = {
|
|
48
|
-
'compute_config': 'computeConfig'
|
|
49
|
+
'compute_config': 'computeConfig',
|
|
50
|
+
'is_forked': 'isForked'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, compute_config: 'V1UserRequestedComputeConfig' =None): # noqa: E501
|
|
53
|
+
def __init__(self, compute_config: 'V1UserRequestedComputeConfig' =None, is_forked: 'bool' =None): # noqa: E501
|
|
52
54
|
"""IdStartBody - a model defined in Swagger""" # noqa: E501
|
|
53
55
|
self._compute_config = None
|
|
56
|
+
self._is_forked = None
|
|
54
57
|
self.discriminator = None
|
|
55
58
|
if compute_config is not None:
|
|
56
59
|
self.compute_config = compute_config
|
|
60
|
+
if is_forked is not None:
|
|
61
|
+
self.is_forked = is_forked
|
|
57
62
|
|
|
58
63
|
@property
|
|
59
64
|
def compute_config(self) -> 'V1UserRequestedComputeConfig':
|
|
@@ -76,6 +81,27 @@ class IdStartBody(object):
|
|
|
76
81
|
|
|
77
82
|
self._compute_config = compute_config
|
|
78
83
|
|
|
84
|
+
@property
|
|
85
|
+
def is_forked(self) -> 'bool':
|
|
86
|
+
"""Gets the is_forked of this IdStartBody. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The is_forked of this IdStartBody. # noqa: E501
|
|
90
|
+
:rtype: bool
|
|
91
|
+
"""
|
|
92
|
+
return self._is_forked
|
|
93
|
+
|
|
94
|
+
@is_forked.setter
|
|
95
|
+
def is_forked(self, is_forked: 'bool'):
|
|
96
|
+
"""Sets the is_forked of this IdStartBody.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param is_forked: The is_forked of this IdStartBody. # noqa: E501
|
|
100
|
+
:type: bool
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._is_forked = is_forked
|
|
104
|
+
|
|
79
105
|
def to_dict(self) -> dict:
|
|
80
106
|
"""Returns the model properties as a dict"""
|
|
81
107
|
result = {}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 ModelIdVisibilityBody(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
|
+
'visibility': 'V1ResourceVisibility'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'visibility': 'visibility'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
52
|
+
"""ModelIdVisibilityBody - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
self._visibility = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
if visibility is not None:
|
|
56
|
+
self.visibility = visibility
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def visibility(self) -> 'V1ResourceVisibility':
|
|
60
|
+
"""Gets the visibility of this ModelIdVisibilityBody. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The visibility of this ModelIdVisibilityBody. # noqa: E501
|
|
64
|
+
:rtype: V1ResourceVisibility
|
|
65
|
+
"""
|
|
66
|
+
return self._visibility
|
|
67
|
+
|
|
68
|
+
@visibility.setter
|
|
69
|
+
def visibility(self, visibility: 'V1ResourceVisibility'):
|
|
70
|
+
"""Sets the visibility of this ModelIdVisibilityBody.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param visibility: The visibility of this ModelIdVisibilityBody. # noqa: E501
|
|
74
|
+
:type: V1ResourceVisibility
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
self._visibility = visibility
|
|
78
|
+
|
|
79
|
+
def to_dict(self) -> dict:
|
|
80
|
+
"""Returns the model properties as a dict"""
|
|
81
|
+
result = {}
|
|
82
|
+
|
|
83
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
84
|
+
value = getattr(self, attr)
|
|
85
|
+
if isinstance(value, list):
|
|
86
|
+
result[attr] = list(map(
|
|
87
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
88
|
+
value
|
|
89
|
+
))
|
|
90
|
+
elif hasattr(value, "to_dict"):
|
|
91
|
+
result[attr] = value.to_dict()
|
|
92
|
+
elif isinstance(value, dict):
|
|
93
|
+
result[attr] = dict(map(
|
|
94
|
+
lambda item: (item[0], item[1].to_dict())
|
|
95
|
+
if hasattr(item[1], "to_dict") else item,
|
|
96
|
+
value.items()
|
|
97
|
+
))
|
|
98
|
+
else:
|
|
99
|
+
result[attr] = value
|
|
100
|
+
if issubclass(ModelIdVisibilityBody, dict):
|
|
101
|
+
for key, value in self.items():
|
|
102
|
+
result[key] = value
|
|
103
|
+
|
|
104
|
+
return result
|
|
105
|
+
|
|
106
|
+
def to_str(self) -> str:
|
|
107
|
+
"""Returns the string representation of the model"""
|
|
108
|
+
return pprint.pformat(self.to_dict())
|
|
109
|
+
|
|
110
|
+
def __repr__(self) -> str:
|
|
111
|
+
"""For `print` and `pprint`"""
|
|
112
|
+
return self.to_str()
|
|
113
|
+
|
|
114
|
+
def __eq__(self, other: 'ModelIdVisibilityBody') -> bool:
|
|
115
|
+
"""Returns true if both objects are equal"""
|
|
116
|
+
if not isinstance(other, ModelIdVisibilityBody):
|
|
117
|
+
return False
|
|
118
|
+
|
|
119
|
+
return self.__dict__ == other.__dict__
|
|
120
|
+
|
|
121
|
+
def __ne__(self, other: 'ModelIdVisibilityBody') -> bool:
|
|
122
|
+
"""Returns true if both objects are not equal"""
|
|
123
|
+
return not self == other
|
|
@@ -50,6 +50,7 @@ class ProjectIdCloudspacesBody(object):
|
|
|
50
50
|
'disk_size': 'str',
|
|
51
51
|
'display_name': 'str',
|
|
52
52
|
'name': 'str',
|
|
53
|
+
'plugins': 'list[str]',
|
|
53
54
|
'requested_run_duration_seconds': 'str',
|
|
54
55
|
'seed_files': 'list[V1CloudSpaceSeedFile]',
|
|
55
56
|
'spot': 'bool'
|
|
@@ -65,12 +66,13 @@ class ProjectIdCloudspacesBody(object):
|
|
|
65
66
|
'disk_size': 'diskSize',
|
|
66
67
|
'display_name': 'displayName',
|
|
67
68
|
'name': 'name',
|
|
69
|
+
'plugins': 'plugins',
|
|
68
70
|
'requested_run_duration_seconds': 'requestedRunDurationSeconds',
|
|
69
71
|
'seed_files': 'seedFiles',
|
|
70
72
|
'spot': 'spot'
|
|
71
73
|
}
|
|
72
74
|
|
|
73
|
-
def __init__(self, can_download_source_code: 'bool' =None, cloud_space_instance_cpu_image_override: 'str' =None, cloud_space_instance_gpu_image_override: 'str' =None, cluster_id: 'str' =None, compute_name: 'str' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, disk_size: 'str' =None, display_name: 'str' =None, name: 'str' =None, requested_run_duration_seconds: 'str' =None, seed_files: 'list[V1CloudSpaceSeedFile]' =None, spot: 'bool' =None): # noqa: E501
|
|
75
|
+
def __init__(self, can_download_source_code: 'bool' =None, cloud_space_instance_cpu_image_override: 'str' =None, cloud_space_instance_gpu_image_override: 'str' =None, cluster_id: 'str' =None, compute_name: 'str' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, disk_size: 'str' =None, display_name: 'str' =None, name: 'str' =None, plugins: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, seed_files: 'list[V1CloudSpaceSeedFile]' =None, spot: 'bool' =None): # noqa: E501
|
|
74
76
|
"""ProjectIdCloudspacesBody - a model defined in Swagger""" # noqa: E501
|
|
75
77
|
self._can_download_source_code = None
|
|
76
78
|
self._cloud_space_instance_cpu_image_override = None
|
|
@@ -81,6 +83,7 @@ class ProjectIdCloudspacesBody(object):
|
|
|
81
83
|
self._disk_size = None
|
|
82
84
|
self._display_name = None
|
|
83
85
|
self._name = None
|
|
86
|
+
self._plugins = None
|
|
84
87
|
self._requested_run_duration_seconds = None
|
|
85
88
|
self._seed_files = None
|
|
86
89
|
self._spot = None
|
|
@@ -103,6 +106,8 @@ class ProjectIdCloudspacesBody(object):
|
|
|
103
106
|
self.display_name = display_name
|
|
104
107
|
if name is not None:
|
|
105
108
|
self.name = name
|
|
109
|
+
if plugins is not None:
|
|
110
|
+
self.plugins = plugins
|
|
106
111
|
if requested_run_duration_seconds is not None:
|
|
107
112
|
self.requested_run_duration_seconds = requested_run_duration_seconds
|
|
108
113
|
if seed_files is not None:
|
|
@@ -299,6 +304,27 @@ class ProjectIdCloudspacesBody(object):
|
|
|
299
304
|
|
|
300
305
|
self._name = name
|
|
301
306
|
|
|
307
|
+
@property
|
|
308
|
+
def plugins(self) -> 'list[str]':
|
|
309
|
+
"""Gets the plugins of this ProjectIdCloudspacesBody. # noqa: E501
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
:return: The plugins of this ProjectIdCloudspacesBody. # noqa: E501
|
|
313
|
+
:rtype: list[str]
|
|
314
|
+
"""
|
|
315
|
+
return self._plugins
|
|
316
|
+
|
|
317
|
+
@plugins.setter
|
|
318
|
+
def plugins(self, plugins: 'list[str]'):
|
|
319
|
+
"""Sets the plugins of this ProjectIdCloudspacesBody.
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
:param plugins: The plugins of this ProjectIdCloudspacesBody. # noqa: E501
|
|
323
|
+
:type: list[str]
|
|
324
|
+
"""
|
|
325
|
+
|
|
326
|
+
self._plugins = plugins
|
|
327
|
+
|
|
302
328
|
@property
|
|
303
329
|
def requested_run_duration_seconds(self) -> 'str':
|
|
304
330
|
"""Gets the requested_run_duration_seconds of this ProjectIdCloudspacesBody. # noqa: E501
|