lightning-sdk 0.1.31__py3-none-any.whl → 0.1.33__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 +110 -0
- lightning_sdk/api/__init__.py +2 -0
- lightning_sdk/api/ai_hub_api.py +61 -0
- lightning_sdk/api/studio_api.py +15 -8
- lightning_sdk/api/user_api.py +8 -2
- lightning_sdk/api/utils.py +8 -1
- 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/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -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.py +27 -1
- 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/studio.py +6 -5
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.33.dist-info}/METADATA +1 -1
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.33.dist-info}/RECORD +71 -43
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.33.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.33.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.33.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.1.31.dist-info → lightning_sdk-0.1.33.dist-info}/top_level.txt +0 -0
|
@@ -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 V1S3FolderDataConnection(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
|
+
'source': 'str'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'source': 'source'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, source: 'str' =None): # noqa: E501
|
|
52
|
+
"""V1S3FolderDataConnection - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
self._source = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
if source is not None:
|
|
56
|
+
self.source = source
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def source(self) -> 'str':
|
|
60
|
+
"""Gets the source of this V1S3FolderDataConnection. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The source of this V1S3FolderDataConnection. # noqa: E501
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._source
|
|
67
|
+
|
|
68
|
+
@source.setter
|
|
69
|
+
def source(self, source: 'str'):
|
|
70
|
+
"""Sets the source of this V1S3FolderDataConnection.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param source: The source of this V1S3FolderDataConnection. # noqa: E501
|
|
74
|
+
:type: str
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
self._source = source
|
|
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(V1S3FolderDataConnection, 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: 'V1S3FolderDataConnection') -> bool:
|
|
115
|
+
"""Returns true if both objects are equal"""
|
|
116
|
+
if not isinstance(other, V1S3FolderDataConnection):
|
|
117
|
+
return False
|
|
118
|
+
|
|
119
|
+
return self.__dict__ == other.__dict__
|
|
120
|
+
|
|
121
|
+
def __ne__(self, other: 'V1S3FolderDataConnection') -> bool:
|
|
122
|
+
"""Returns true if both objects are not equal"""
|
|
123
|
+
return not self == other
|
|
@@ -43,25 +43,30 @@ class V1Transaction(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'amount': 'float',
|
|
45
45
|
'created_at': 'datetime',
|
|
46
|
+
'display_name': 'str',
|
|
46
47
|
'type': 'str'
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
attribute_map = {
|
|
50
51
|
'amount': 'amount',
|
|
51
52
|
'created_at': 'createdAt',
|
|
53
|
+
'display_name': 'displayName',
|
|
52
54
|
'type': 'type'
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
def __init__(self, amount: 'float' =None, created_at: 'datetime' =None, type: 'str' =None): # noqa: E501
|
|
57
|
+
def __init__(self, amount: 'float' =None, created_at: 'datetime' =None, display_name: 'str' =None, type: 'str' =None): # noqa: E501
|
|
56
58
|
"""V1Transaction - a model defined in Swagger""" # noqa: E501
|
|
57
59
|
self._amount = None
|
|
58
60
|
self._created_at = None
|
|
61
|
+
self._display_name = None
|
|
59
62
|
self._type = None
|
|
60
63
|
self.discriminator = None
|
|
61
64
|
if amount is not None:
|
|
62
65
|
self.amount = amount
|
|
63
66
|
if created_at is not None:
|
|
64
67
|
self.created_at = created_at
|
|
68
|
+
if display_name is not None:
|
|
69
|
+
self.display_name = display_name
|
|
65
70
|
if type is not None:
|
|
66
71
|
self.type = type
|
|
67
72
|
|
|
@@ -107,6 +112,27 @@ class V1Transaction(object):
|
|
|
107
112
|
|
|
108
113
|
self._created_at = created_at
|
|
109
114
|
|
|
115
|
+
@property
|
|
116
|
+
def display_name(self) -> 'str':
|
|
117
|
+
"""Gets the display_name of this V1Transaction. # noqa: E501
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:return: The display_name of this V1Transaction. # noqa: E501
|
|
121
|
+
:rtype: str
|
|
122
|
+
"""
|
|
123
|
+
return self._display_name
|
|
124
|
+
|
|
125
|
+
@display_name.setter
|
|
126
|
+
def display_name(self, display_name: 'str'):
|
|
127
|
+
"""Sets the display_name of this V1Transaction.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:param display_name: The display_name of this V1Transaction. # noqa: E501
|
|
131
|
+
:type: str
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
self._display_name = display_name
|
|
135
|
+
|
|
110
136
|
@property
|
|
111
137
|
def type(self) -> 'str':
|
|
112
138
|
"""Gets the type of this V1Transaction. # noqa: E501
|
|
@@ -0,0 +1,97 @@
|
|
|
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 V1UpdateSharedMetricsStreamResponse(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
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self): # noqa: E501
|
|
50
|
+
"""V1UpdateSharedMetricsStreamResponse - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
self.discriminator = None
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> dict:
|
|
54
|
+
"""Returns the model properties as a dict"""
|
|
55
|
+
result = {}
|
|
56
|
+
|
|
57
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
58
|
+
value = getattr(self, attr)
|
|
59
|
+
if isinstance(value, list):
|
|
60
|
+
result[attr] = list(map(
|
|
61
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
62
|
+
value
|
|
63
|
+
))
|
|
64
|
+
elif hasattr(value, "to_dict"):
|
|
65
|
+
result[attr] = value.to_dict()
|
|
66
|
+
elif isinstance(value, dict):
|
|
67
|
+
result[attr] = dict(map(
|
|
68
|
+
lambda item: (item[0], item[1].to_dict())
|
|
69
|
+
if hasattr(item[1], "to_dict") else item,
|
|
70
|
+
value.items()
|
|
71
|
+
))
|
|
72
|
+
else:
|
|
73
|
+
result[attr] = value
|
|
74
|
+
if issubclass(V1UpdateSharedMetricsStreamResponse, dict):
|
|
75
|
+
for key, value in self.items():
|
|
76
|
+
result[key] = value
|
|
77
|
+
|
|
78
|
+
return result
|
|
79
|
+
|
|
80
|
+
def to_str(self) -> str:
|
|
81
|
+
"""Returns the string representation of the model"""
|
|
82
|
+
return pprint.pformat(self.to_dict())
|
|
83
|
+
|
|
84
|
+
def __repr__(self) -> str:
|
|
85
|
+
"""For `print` and `pprint`"""
|
|
86
|
+
return self.to_str()
|
|
87
|
+
|
|
88
|
+
def __eq__(self, other: 'V1UpdateSharedMetricsStreamResponse') -> bool:
|
|
89
|
+
"""Returns true if both objects are equal"""
|
|
90
|
+
if not isinstance(other, V1UpdateSharedMetricsStreamResponse):
|
|
91
|
+
return False
|
|
92
|
+
|
|
93
|
+
return self.__dict__ == other.__dict__
|
|
94
|
+
|
|
95
|
+
def __ne__(self, other: 'V1UpdateSharedMetricsStreamResponse') -> bool:
|
|
96
|
+
"""Returns true if both objects are not equal"""
|
|
97
|
+
return not self == other
|
|
@@ -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):
|