lightning-sdk 0.1.30__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/teamspace_api.py +35 -5
- lightning_sdk/api/user_api.py +8 -2
- lightning_sdk/cli/upload.py +10 -6
- lightning_sdk/lightning_cloud/openapi/__init__.py +30 -0
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +105 -4
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +5 -5
- lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +674 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +396 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +118 -1
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +29 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/create.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/deploymenttemplates_id_body.py +121 -17
- lightning_sdk/lightning_cloud/openapi/models/id_engage_body.py +3 -29
- lightning_sdk/lightning_cloud/openapi/models/id_engage_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/litloggermetrics_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_models_body.py +27 -1
- 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 +95 -17
- 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 +95 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_engagement_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +69 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_placement.py +2 -0
- 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 +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_parameterization_spec.py +227 -0
- 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 +76 -24
- 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/teamspace.py +11 -0
- {lightning_sdk-0.1.30.dist-info → lightning_sdk-0.1.32.dist-info}/METADATA +1 -1
- {lightning_sdk-0.1.30.dist-info → lightning_sdk-0.1.32.dist-info}/RECORD +80 -48
- {lightning_sdk-0.1.30.dist-info → lightning_sdk-0.1.32.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.30.dist-info → lightning_sdk-0.1.32.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.1.30.dist-info → lightning_sdk-0.1.32.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.1.30.dist-info → lightning_sdk-0.1.32.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,8 +60,8 @@ 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
|
-
'deployment_parameters': 'bool',
|
|
65
65
|
'deployment_persistent_disk': 'bool',
|
|
66
66
|
'docs_agent': 'bool',
|
|
67
67
|
'drive_v2': 'bool',
|
|
@@ -80,6 +80,7 @@ class V1UserFeatures(object):
|
|
|
80
80
|
'mmt_fault_tolerance': 'bool',
|
|
81
81
|
'mmt_strategy_selector': 'bool',
|
|
82
82
|
'model_store': 'bool',
|
|
83
|
+
'multiple_deployment_versions': 'bool',
|
|
83
84
|
'org_level_member_permissions': 'bool',
|
|
84
85
|
'plugin_biz_chat': 'bool',
|
|
85
86
|
'plugin_distributed': 'bool',
|
|
@@ -102,6 +103,7 @@ class V1UserFeatures(object):
|
|
|
102
103
|
'restart_ide_on_hang': 'bool',
|
|
103
104
|
'restartable_jobs': 'bool',
|
|
104
105
|
'runnable_public_studio_page': 'bool',
|
|
106
|
+
's3_folders': 'bool',
|
|
105
107
|
'show_dev_admin': 'bool',
|
|
106
108
|
'slurm': 'bool',
|
|
107
109
|
'slurm_machine_selector': 'bool',
|
|
@@ -134,8 +136,8 @@ 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
|
-
'deployment_parameters': 'deploymentParameters',
|
|
139
141
|
'deployment_persistent_disk': 'deploymentPersistentDisk',
|
|
140
142
|
'docs_agent': 'docsAgent',
|
|
141
143
|
'drive_v2': 'driveV2',
|
|
@@ -154,6 +156,7 @@ class V1UserFeatures(object):
|
|
|
154
156
|
'mmt_fault_tolerance': 'mmtFaultTolerance',
|
|
155
157
|
'mmt_strategy_selector': 'mmtStrategySelector',
|
|
156
158
|
'model_store': 'modelStore',
|
|
159
|
+
'multiple_deployment_versions': 'multipleDeploymentVersions',
|
|
157
160
|
'org_level_member_permissions': 'orgLevelMemberPermissions',
|
|
158
161
|
'plugin_biz_chat': 'pluginBizChat',
|
|
159
162
|
'plugin_distributed': 'pluginDistributed',
|
|
@@ -176,6 +179,7 @@ class V1UserFeatures(object):
|
|
|
176
179
|
'restart_ide_on_hang': 'restartIdeOnHang',
|
|
177
180
|
'restartable_jobs': 'restartableJobs',
|
|
178
181
|
'runnable_public_studio_page': 'runnablePublicStudioPage',
|
|
182
|
+
's3_folders': 's3Folders',
|
|
179
183
|
'show_dev_admin': 'showDevAdmin',
|
|
180
184
|
'slurm': 'slurm',
|
|
181
185
|
'slurm_machine_selector': 'slurmMachineSelector',
|
|
@@ -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,
|
|
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,8 +213,8 @@ 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
|
-
self._deployment_parameters = None
|
|
214
218
|
self._deployment_persistent_disk = None
|
|
215
219
|
self._docs_agent = None
|
|
216
220
|
self._drive_v2 = None
|
|
@@ -229,6 +233,7 @@ class V1UserFeatures(object):
|
|
|
229
233
|
self._mmt_fault_tolerance = None
|
|
230
234
|
self._mmt_strategy_selector = None
|
|
231
235
|
self._model_store = None
|
|
236
|
+
self._multiple_deployment_versions = None
|
|
232
237
|
self._org_level_member_permissions = None
|
|
233
238
|
self._plugin_biz_chat = None
|
|
234
239
|
self._plugin_distributed = None
|
|
@@ -251,6 +256,7 @@ class V1UserFeatures(object):
|
|
|
251
256
|
self._restart_ide_on_hang = None
|
|
252
257
|
self._restartable_jobs = None
|
|
253
258
|
self._runnable_public_studio_page = None
|
|
259
|
+
self._s3_folders = None
|
|
254
260
|
self._show_dev_admin = None
|
|
255
261
|
self._slurm = None
|
|
256
262
|
self._slurm_machine_selector = None
|
|
@@ -300,10 +306,10 @@ 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
|
-
if deployment_parameters is not None:
|
|
306
|
-
self.deployment_parameters = deployment_parameters
|
|
307
313
|
if deployment_persistent_disk is not None:
|
|
308
314
|
self.deployment_persistent_disk = deployment_persistent_disk
|
|
309
315
|
if docs_agent is not None:
|
|
@@ -340,6 +346,8 @@ class V1UserFeatures(object):
|
|
|
340
346
|
self.mmt_strategy_selector = mmt_strategy_selector
|
|
341
347
|
if model_store is not None:
|
|
342
348
|
self.model_store = model_store
|
|
349
|
+
if multiple_deployment_versions is not None:
|
|
350
|
+
self.multiple_deployment_versions = multiple_deployment_versions
|
|
343
351
|
if org_level_member_permissions is not None:
|
|
344
352
|
self.org_level_member_permissions = org_level_member_permissions
|
|
345
353
|
if plugin_biz_chat is not None:
|
|
@@ -384,6 +392,8 @@ class V1UserFeatures(object):
|
|
|
384
392
|
self.restartable_jobs = restartable_jobs
|
|
385
393
|
if runnable_public_studio_page is not None:
|
|
386
394
|
self.runnable_public_studio_page = runnable_public_studio_page
|
|
395
|
+
if s3_folders is not None:
|
|
396
|
+
self.s3_folders = s3_folders
|
|
387
397
|
if show_dev_admin is not None:
|
|
388
398
|
self.show_dev_admin = show_dev_admin
|
|
389
399
|
if slurm is not None:
|
|
@@ -805,46 +815,46 @@ class V1UserFeatures(object):
|
|
|
805
815
|
self._default_one_cluster = default_one_cluster
|
|
806
816
|
|
|
807
817
|
@property
|
|
808
|
-
def
|
|
809
|
-
"""Gets the
|
|
818
|
+
def deployment_data_path(self) -> 'bool':
|
|
819
|
+
"""Gets the deployment_data_path of this V1UserFeatures. # noqa: E501
|
|
810
820
|
|
|
811
821
|
|
|
812
|
-
:return: The
|
|
822
|
+
:return: The deployment_data_path of this V1UserFeatures. # noqa: E501
|
|
813
823
|
:rtype: bool
|
|
814
824
|
"""
|
|
815
|
-
return self.
|
|
825
|
+
return self._deployment_data_path
|
|
816
826
|
|
|
817
|
-
@
|
|
818
|
-
def
|
|
819
|
-
"""Sets the
|
|
827
|
+
@deployment_data_path.setter
|
|
828
|
+
def deployment_data_path(self, deployment_data_path: 'bool'):
|
|
829
|
+
"""Sets the deployment_data_path of this V1UserFeatures.
|
|
820
830
|
|
|
821
831
|
|
|
822
|
-
:param
|
|
832
|
+
:param deployment_data_path: The deployment_data_path of this V1UserFeatures. # noqa: E501
|
|
823
833
|
:type: bool
|
|
824
834
|
"""
|
|
825
835
|
|
|
826
|
-
self.
|
|
836
|
+
self._deployment_data_path = deployment_data_path
|
|
827
837
|
|
|
828
838
|
@property
|
|
829
|
-
def
|
|
830
|
-
"""Gets the
|
|
839
|
+
def deployment_gallery(self) -> 'bool':
|
|
840
|
+
"""Gets the deployment_gallery of this V1UserFeatures. # noqa: E501
|
|
831
841
|
|
|
832
842
|
|
|
833
|
-
:return: The
|
|
843
|
+
:return: The deployment_gallery of this V1UserFeatures. # noqa: E501
|
|
834
844
|
:rtype: bool
|
|
835
845
|
"""
|
|
836
|
-
return self.
|
|
846
|
+
return self._deployment_gallery
|
|
837
847
|
|
|
838
|
-
@
|
|
839
|
-
def
|
|
840
|
-
"""Sets the
|
|
848
|
+
@deployment_gallery.setter
|
|
849
|
+
def deployment_gallery(self, deployment_gallery: 'bool'):
|
|
850
|
+
"""Sets the deployment_gallery of this V1UserFeatures.
|
|
841
851
|
|
|
842
852
|
|
|
843
|
-
:param
|
|
853
|
+
:param deployment_gallery: The deployment_gallery of this V1UserFeatures. # noqa: E501
|
|
844
854
|
:type: bool
|
|
845
855
|
"""
|
|
846
856
|
|
|
847
|
-
self.
|
|
857
|
+
self._deployment_gallery = deployment_gallery
|
|
848
858
|
|
|
849
859
|
@property
|
|
850
860
|
def deployment_persistent_disk(self) -> 'bool':
|
|
@@ -1224,6 +1234,27 @@ class V1UserFeatures(object):
|
|
|
1224
1234
|
|
|
1225
1235
|
self._model_store = model_store
|
|
1226
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
|
+
|
|
1227
1258
|
@property
|
|
1228
1259
|
def org_level_member_permissions(self) -> 'bool':
|
|
1229
1260
|
"""Gets the org_level_member_permissions of this V1UserFeatures. # noqa: E501
|
|
@@ -1686,6 +1717,27 @@ class V1UserFeatures(object):
|
|
|
1686
1717
|
|
|
1687
1718
|
self._runnable_public_studio_page = runnable_public_studio_page
|
|
1688
1719
|
|
|
1720
|
+
@property
|
|
1721
|
+
def s3_folders(self) -> 'bool':
|
|
1722
|
+
"""Gets the s3_folders of this V1UserFeatures. # noqa: E501
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
:return: The s3_folders of this V1UserFeatures. # noqa: E501
|
|
1726
|
+
:rtype: bool
|
|
1727
|
+
"""
|
|
1728
|
+
return self._s3_folders
|
|
1729
|
+
|
|
1730
|
+
@s3_folders.setter
|
|
1731
|
+
def s3_folders(self, s3_folders: 'bool'):
|
|
1732
|
+
"""Sets the s3_folders of this V1UserFeatures.
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
:param s3_folders: The s3_folders of this V1UserFeatures. # noqa: E501
|
|
1736
|
+
:type: bool
|
|
1737
|
+
"""
|
|
1738
|
+
|
|
1739
|
+
self._s3_folders = s3_folders
|
|
1740
|
+
|
|
1689
1741
|
@property
|
|
1690
1742
|
def show_dev_admin(self) -> 'bool':
|
|
1691
1743
|
"""Gets the show_dev_admin 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 = {}
|