lightning-sdk 0.1.33__py3-none-any.whl → 0.1.34__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 CHANGED
@@ -27,5 +27,5 @@ __all__ = [
27
27
  "AIHub",
28
28
  ]
29
29
 
30
- __version__ = "0.1.33"
30
+ __version__ = "0.1.34"
31
31
  _check_version_and_prompt_upgrade(__version__)
lightning_sdk/ai_hub.py CHANGED
@@ -1,7 +1,9 @@
1
1
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
2
+ from urllib.parse import quote
2
3
 
3
4
  from lightning_sdk.api import AIHubApi, UserApi
4
5
  from lightning_sdk.lightning_cloud import login
6
+ from lightning_sdk.lightning_cloud.env import LIGHTNING_CLOUD_URL
5
7
  from lightning_sdk.user import User
6
8
  from lightning_sdk.utils.resolve import _resolve_org, _resolve_teamspace
7
9
 
@@ -102,6 +104,8 @@ class AIHub:
102
104
  deployment = self._api.deploy_api(
103
105
  template_id=api_id, cluster_id=cluster, project_id=teamspace_id, name=name, **kwargs
104
106
  )
107
+ url = quote(f"{LIGHTNING_CLOUD_URL}/{teamspace._org.name}/{teamspace.name}/jobs/{deployment.name}", safe=":/()")
108
+ print("Deployment available at:", url)
105
109
  return {
106
110
  "id": deployment.id,
107
111
  "name": deployment.name,
@@ -1,6 +1,8 @@
1
1
  import re
2
2
  from typing import List, Optional
3
3
 
4
+ import backoff
5
+
4
6
  from lightning_sdk.lightning_cloud.openapi.models import (
5
7
  CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs,
6
8
  V1Deployment,
@@ -16,6 +18,7 @@ class AIHubApi:
16
18
  def __init__(self) -> None:
17
19
  self._client = LightningClient(max_tries=3)
18
20
 
21
+ @backoff.on_predicate(backoff.expo, lambda x: not x, max_tries=5)
19
22
  def list_apis(self, search_query: str) -> List[V1DeploymentTemplateGalleryResponse]:
20
23
  kwargs = {"show_globally_visible": True}
21
24
  return self._client.deployment_templates_service_list_published_deployment_templates(
@@ -0,0 +1,38 @@
1
+ from typing import List, Optional
2
+
3
+ from lightning_sdk.ai_hub import AIHub
4
+ from lightning_sdk.cli.studios_menu import _StudiosMenu
5
+
6
+
7
+ class _AIHub(_StudiosMenu):
8
+ """Interact with Lightning Studio - AI Hub."""
9
+
10
+ def __init__(self) -> None:
11
+ self._hub = AIHub()
12
+
13
+ def list_apis(self, search: Optional[str] = None) -> List[dict]:
14
+ """List API templates available in the AI Hub.
15
+
16
+ Args:
17
+ search: Search for API templates by name.
18
+ """
19
+ return self._hub.list_apis(search=search)
20
+
21
+ def deploy(
22
+ self,
23
+ api_id: str,
24
+ cluster: Optional[str] = None,
25
+ name: Optional[str] = None,
26
+ teamspace: Optional[str] = None,
27
+ org: Optional[str] = None,
28
+ ) -> dict:
29
+ """Deploy an API template from the AI Hub.
30
+
31
+ Args:
32
+ api_id: API template ID.
33
+ cluster: Cluster to deploy the API to. Defaults to user's default cluster.
34
+ name: Name of the deployed API. Defaults to the name of the API template.
35
+ teamspace: Teamspace to deploy the API to. Defaults to user's default teamspace.
36
+ org: Organization to deploy the API to. Defaults to user's default organization.
37
+ """
38
+ return self._hub.deploy(api_id, cluster=cluster, name=name, teamspace=teamspace, org=org)
@@ -2,6 +2,7 @@ from fire import Fire
2
2
  from lightning_utilities.core.imports import RequirementCache
3
3
 
4
4
  from lightning_sdk.api.studio_api import _cloud_url
5
+ from lightning_sdk.cli.ai_hub import _AIHub
5
6
  from lightning_sdk.cli.download import _Downloads
6
7
  from lightning_sdk.cli.legacy import _LegacyLightningCLI
7
8
  from lightning_sdk.cli.upload import _Uploads
@@ -16,6 +17,7 @@ class StudioCLI:
16
17
  def __init__(self) -> None:
17
18
  self.download = _Downloads()
18
19
  self.upload = _Uploads()
20
+ self.aihub = _AIHub()
19
21
 
20
22
  if _LIGHTNING_AVAILABLE:
21
23
  self.run = _LegacyLightningCLI()
@@ -226,6 +226,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_cancellation_metadata impor
226
226
  from lightning_sdk.lightning_cloud.openapi.models.v1_capacity_block_offering import V1CapacityBlockOffering
227
227
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_external_service_status_response import V1CheckExternalServiceStatusResponse
228
228
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_snowflake_connection_response import V1CheckSnowflakeConnectionResponse
229
+ from lightning_sdk.lightning_cloud.openapi.models.v1_checkbox import V1Checkbox
229
230
  from lightning_sdk.lightning_cloud.openapi.models.v1_cloud_space import V1CloudSpace
230
231
  from lightning_sdk.lightning_cloud.openapi.models.v1_cloud_space_app import V1CloudSpaceApp
231
232
  from lightning_sdk.lightning_cloud.openapi.models.v1_cloud_space_app_action import V1CloudSpaceAppAction
@@ -190,6 +190,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_cancellation_metadata impor
190
190
  from lightning_sdk.lightning_cloud.openapi.models.v1_capacity_block_offering import V1CapacityBlockOffering
191
191
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_external_service_status_response import V1CheckExternalServiceStatusResponse
192
192
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_snowflake_connection_response import V1CheckSnowflakeConnectionResponse
193
+ from lightning_sdk.lightning_cloud.openapi.models.v1_checkbox import V1Checkbox
193
194
  from lightning_sdk.lightning_cloud.openapi.models.v1_cloud_space import V1CloudSpace
194
195
  from lightning_sdk.lightning_cloud.openapi.models.v1_cloud_space_app import V1CloudSpaceApp
195
196
  from lightning_sdk.lightning_cloud.openapi.models.v1_cloud_space_app_action import V1CloudSpaceAppAction
@@ -0,0 +1,175 @@
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 V1Checkbox(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
+ 'false_value': 'str',
45
+ 'is_checked': 'bool',
46
+ 'true_value': 'str'
47
+ }
48
+
49
+ attribute_map = {
50
+ 'false_value': 'falseValue',
51
+ 'is_checked': 'isChecked',
52
+ 'true_value': 'trueValue'
53
+ }
54
+
55
+ def __init__(self, false_value: 'str' =None, is_checked: 'bool' =None, true_value: 'str' =None): # noqa: E501
56
+ """V1Checkbox - a model defined in Swagger""" # noqa: E501
57
+ self._false_value = None
58
+ self._is_checked = None
59
+ self._true_value = None
60
+ self.discriminator = None
61
+ if false_value is not None:
62
+ self.false_value = false_value
63
+ if is_checked is not None:
64
+ self.is_checked = is_checked
65
+ if true_value is not None:
66
+ self.true_value = true_value
67
+
68
+ @property
69
+ def false_value(self) -> 'str':
70
+ """Gets the false_value of this V1Checkbox. # noqa: E501
71
+
72
+
73
+ :return: The false_value of this V1Checkbox. # noqa: E501
74
+ :rtype: str
75
+ """
76
+ return self._false_value
77
+
78
+ @false_value.setter
79
+ def false_value(self, false_value: 'str'):
80
+ """Sets the false_value of this V1Checkbox.
81
+
82
+
83
+ :param false_value: The false_value of this V1Checkbox. # noqa: E501
84
+ :type: str
85
+ """
86
+
87
+ self._false_value = false_value
88
+
89
+ @property
90
+ def is_checked(self) -> 'bool':
91
+ """Gets the is_checked of this V1Checkbox. # noqa: E501
92
+
93
+
94
+ :return: The is_checked of this V1Checkbox. # noqa: E501
95
+ :rtype: bool
96
+ """
97
+ return self._is_checked
98
+
99
+ @is_checked.setter
100
+ def is_checked(self, is_checked: 'bool'):
101
+ """Sets the is_checked of this V1Checkbox.
102
+
103
+
104
+ :param is_checked: The is_checked of this V1Checkbox. # noqa: E501
105
+ :type: bool
106
+ """
107
+
108
+ self._is_checked = is_checked
109
+
110
+ @property
111
+ def true_value(self) -> 'str':
112
+ """Gets the true_value of this V1Checkbox. # noqa: E501
113
+
114
+
115
+ :return: The true_value of this V1Checkbox. # noqa: E501
116
+ :rtype: str
117
+ """
118
+ return self._true_value
119
+
120
+ @true_value.setter
121
+ def true_value(self, true_value: 'str'):
122
+ """Sets the true_value of this V1Checkbox.
123
+
124
+
125
+ :param true_value: The true_value of this V1Checkbox. # noqa: E501
126
+ :type: str
127
+ """
128
+
129
+ self._true_value = true_value
130
+
131
+ def to_dict(self) -> dict:
132
+ """Returns the model properties as a dict"""
133
+ result = {}
134
+
135
+ for attr, _ in six.iteritems(self.swagger_types):
136
+ value = getattr(self, attr)
137
+ if isinstance(value, list):
138
+ result[attr] = list(map(
139
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
140
+ value
141
+ ))
142
+ elif hasattr(value, "to_dict"):
143
+ result[attr] = value.to_dict()
144
+ elif isinstance(value, dict):
145
+ result[attr] = dict(map(
146
+ lambda item: (item[0], item[1].to_dict())
147
+ if hasattr(item[1], "to_dict") else item,
148
+ value.items()
149
+ ))
150
+ else:
151
+ result[attr] = value
152
+ if issubclass(V1Checkbox, dict):
153
+ for key, value in self.items():
154
+ result[key] = value
155
+
156
+ return result
157
+
158
+ def to_str(self) -> str:
159
+ """Returns the string representation of the model"""
160
+ return pprint.pformat(self.to_dict())
161
+
162
+ def __repr__(self) -> str:
163
+ """For `print` and `pprint`"""
164
+ return self.to_str()
165
+
166
+ def __eq__(self, other: 'V1Checkbox') -> bool:
167
+ """Returns true if both objects are equal"""
168
+ if not isinstance(other, V1Checkbox):
169
+ return False
170
+
171
+ return self.__dict__ == other.__dict__
172
+
173
+ def __ne__(self, other: 'V1Checkbox') -> bool:
174
+ """Returns true if both objects are not equal"""
175
+ return not self == other
@@ -41,6 +41,7 @@ class V1DeploymentTemplateParameter(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'checkbox': 'V1Checkbox',
44
45
  'data_path': 'V1DataPath',
45
46
  'display_name': 'str',
46
47
  'input': 'V1Input',
@@ -55,6 +56,7 @@ class V1DeploymentTemplateParameter(object):
55
56
  }
56
57
 
57
58
  attribute_map = {
59
+ 'checkbox': 'checkbox',
58
60
  'data_path': 'dataPath',
59
61
  'display_name': 'displayName',
60
62
  'input': 'input',
@@ -68,8 +70,9 @@ class V1DeploymentTemplateParameter(object):
68
70
  'type': 'type'
69
71
  }
70
72
 
71
- def __init__(self, data_path: 'V1DataPath' =None, display_name: 'str' =None, input: 'V1Input' =None, long_description: 'str' =None, name: 'str' =None, placements: 'list[V1DeploymentTemplateParameterPlacement]' =None, readonly: 'bool' =None, required: 'bool' =None, select: 'V1Select' =None, short_description: 'str' =None, type: 'V1DeploymentTemplateParameterType' =None): # noqa: E501
73
+ def __init__(self, checkbox: 'V1Checkbox' =None, data_path: 'V1DataPath' =None, display_name: 'str' =None, input: 'V1Input' =None, long_description: 'str' =None, name: 'str' =None, placements: 'list[V1DeploymentTemplateParameterPlacement]' =None, readonly: 'bool' =None, required: 'bool' =None, select: 'V1Select' =None, short_description: 'str' =None, type: 'V1DeploymentTemplateParameterType' =None): # noqa: E501
72
74
  """V1DeploymentTemplateParameter - a model defined in Swagger""" # noqa: E501
75
+ self._checkbox = None
73
76
  self._data_path = None
74
77
  self._display_name = None
75
78
  self._input = None
@@ -82,6 +85,8 @@ class V1DeploymentTemplateParameter(object):
82
85
  self._short_description = None
83
86
  self._type = None
84
87
  self.discriminator = None
88
+ if checkbox is not None:
89
+ self.checkbox = checkbox
85
90
  if data_path is not None:
86
91
  self.data_path = data_path
87
92
  if display_name is not None:
@@ -105,6 +110,27 @@ class V1DeploymentTemplateParameter(object):
105
110
  if type is not None:
106
111
  self.type = type
107
112
 
113
+ @property
114
+ def checkbox(self) -> 'V1Checkbox':
115
+ """Gets the checkbox of this V1DeploymentTemplateParameter. # noqa: E501
116
+
117
+
118
+ :return: The checkbox of this V1DeploymentTemplateParameter. # noqa: E501
119
+ :rtype: V1Checkbox
120
+ """
121
+ return self._checkbox
122
+
123
+ @checkbox.setter
124
+ def checkbox(self, checkbox: 'V1Checkbox'):
125
+ """Sets the checkbox of this V1DeploymentTemplateParameter.
126
+
127
+
128
+ :param checkbox: The checkbox of this V1DeploymentTemplateParameter. # noqa: E501
129
+ :type: V1Checkbox
130
+ """
131
+
132
+ self._checkbox = checkbox
133
+
108
134
  @property
109
135
  def data_path(self) -> 'V1DataPath':
110
136
  """Gets the data_path of this V1DeploymentTemplateParameter. # noqa: E501
@@ -40,6 +40,7 @@ class V1DeploymentTemplateParameterType(object):
40
40
  SELECT = "DEPLOYMENT_TEMPLATE_SELECT"
41
41
  INPUT = "DEPLOYMENT_TEMPLATE_INPUT"
42
42
  DATA_PATH = "DEPLOYMENT_TEMPLATE_DATA_PATH"
43
+ CHECKBOX = "DEPLOYMENT_TEMPLATE_CHECKBOX"
43
44
  """
44
45
  Attributes:
45
46
  swagger_types (dict): The key is attribute name
@@ -44,7 +44,6 @@ class V1JobSpec(object):
44
44
  'cloudspace_id': 'str',
45
45
  'cluster_id': 'str',
46
46
  'command': 'str',
47
- 'created_symlinks': 'bool',
48
47
  'data_paths': 'list[V1DataPath]',
49
48
  'entrypoint': 'str',
50
49
  'env': 'list[V1EnvVar]',
@@ -69,7 +68,6 @@ class V1JobSpec(object):
69
68
  'cloudspace_id': 'cloudspaceId',
70
69
  'cluster_id': 'clusterId',
71
70
  'command': 'command',
72
- 'created_symlinks': 'createdSymlinks',
73
71
  'data_paths': 'dataPaths',
74
72
  'entrypoint': 'entrypoint',
75
73
  'env': 'env',
@@ -90,12 +88,11 @@ class V1JobSpec(object):
90
88
  'volumes': 'volumes'
91
89
  }
92
90
 
93
- def __init__(self, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, created_symlinks: 'bool' =None, data_paths: 'list[V1DataPath]' =None, entrypoint: 'str' =None, env: 'list[V1EnvVar]' =None, image: 'str' =None, image_cluster_credentials: 'bool' =None, image_secret_ref: 'str' =None, include_credentials: 'bool' =None, instance_name: 'str' =None, instance_type: 'str' =None, modified_volume: 'bool' =None, readiness_probe: 'V1JobHealthCheckConfig' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, skip_data_connections_setup: 'bool' =None, skip_filesystem_setup: 'bool' =None, spot: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
91
+ def __init__(self, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, data_paths: 'list[V1DataPath]' =None, entrypoint: 'str' =None, env: 'list[V1EnvVar]' =None, image: 'str' =None, image_cluster_credentials: 'bool' =None, image_secret_ref: 'str' =None, include_credentials: 'bool' =None, instance_name: 'str' =None, instance_type: 'str' =None, modified_volume: 'bool' =None, readiness_probe: 'V1JobHealthCheckConfig' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, skip_data_connections_setup: 'bool' =None, skip_filesystem_setup: 'bool' =None, spot: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
94
92
  """V1JobSpec - a model defined in Swagger""" # noqa: E501
95
93
  self._cloudspace_id = None
96
94
  self._cluster_id = None
97
95
  self._command = None
98
- self._created_symlinks = None
99
96
  self._data_paths = None
100
97
  self._entrypoint = None
101
98
  self._env = None
@@ -121,8 +118,6 @@ class V1JobSpec(object):
121
118
  self.cluster_id = cluster_id
122
119
  if command is not None:
123
120
  self.command = command
124
- if created_symlinks is not None:
125
- self.created_symlinks = created_symlinks
126
121
  if data_paths is not None:
127
122
  self.data_paths = data_paths
128
123
  if entrypoint is not None:
@@ -223,27 +218,6 @@ class V1JobSpec(object):
223
218
 
224
219
  self._command = command
225
220
 
226
- @property
227
- def created_symlinks(self) -> 'bool':
228
- """Gets the created_symlinks of this V1JobSpec. # noqa: E501
229
-
230
-
231
- :return: The created_symlinks of this V1JobSpec. # noqa: E501
232
- :rtype: bool
233
- """
234
- return self._created_symlinks
235
-
236
- @created_symlinks.setter
237
- def created_symlinks(self, created_symlinks: 'bool'):
238
- """Sets the created_symlinks of this V1JobSpec.
239
-
240
-
241
- :param created_symlinks: The created_symlinks of this V1JobSpec. # noqa: E501
242
- :type: bool
243
- """
244
-
245
- self._created_symlinks = created_symlinks
246
-
247
221
  @property
248
222
  def data_paths(self) -> 'list[V1DataPath]':
249
223
  """Gets the data_paths of this V1JobSpec. # noqa: E501
@@ -52,7 +52,6 @@ class V1LightningworkStatus(object):
52
52
  'server_instance_id': 'str',
53
53
  'start_timestamp': 'datetime',
54
54
  'stop_timestamp': 'datetime',
55
- 'symlinks_created': 'bool',
56
55
  'total_cost': 'float',
57
56
  'total_size_bytes': 'str'
58
57
  }
@@ -69,12 +68,11 @@ class V1LightningworkStatus(object):
69
68
  'server_instance_id': 'serverInstanceId',
70
69
  'start_timestamp': 'startTimestamp',
71
70
  'stop_timestamp': 'stopTimestamp',
72
- 'symlinks_created': 'symlinksCreated',
73
71
  'total_cost': 'totalCost',
74
72
  'total_size_bytes': 'totalSizeBytes'
75
73
  }
76
74
 
77
- def __init__(self, ip_address: 'str' =None, last_state_status_transition_timestamp: 'datetime' =None, message: 'str' =None, modified_volume: 'bool' =None, number_of_files: 'str' =None, phase: 'V1LightningworkState' =None, reason: 'V1LightningworkStatusReason' =None, server_id: 'str' =None, server_instance_id: 'str' =None, start_timestamp: 'datetime' =None, stop_timestamp: 'datetime' =None, symlinks_created: 'bool' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None): # noqa: E501
75
+ def __init__(self, ip_address: 'str' =None, last_state_status_transition_timestamp: 'datetime' =None, message: 'str' =None, modified_volume: 'bool' =None, number_of_files: 'str' =None, phase: 'V1LightningworkState' =None, reason: 'V1LightningworkStatusReason' =None, server_id: 'str' =None, server_instance_id: 'str' =None, start_timestamp: 'datetime' =None, stop_timestamp: 'datetime' =None, total_cost: 'float' =None, total_size_bytes: 'str' =None): # noqa: E501
78
76
  """V1LightningworkStatus - a model defined in Swagger""" # noqa: E501
79
77
  self._ip_address = None
80
78
  self._last_state_status_transition_timestamp = None
@@ -87,7 +85,6 @@ class V1LightningworkStatus(object):
87
85
  self._server_instance_id = None
88
86
  self._start_timestamp = None
89
87
  self._stop_timestamp = None
90
- self._symlinks_created = None
91
88
  self._total_cost = None
92
89
  self._total_size_bytes = None
93
90
  self.discriminator = None
@@ -113,8 +110,6 @@ class V1LightningworkStatus(object):
113
110
  self.start_timestamp = start_timestamp
114
111
  if stop_timestamp is not None:
115
112
  self.stop_timestamp = stop_timestamp
116
- if symlinks_created is not None:
117
- self.symlinks_created = symlinks_created
118
113
  if total_cost is not None:
119
114
  self.total_cost = total_cost
120
115
  if total_size_bytes is not None:
@@ -351,27 +346,6 @@ class V1LightningworkStatus(object):
351
346
 
352
347
  self._stop_timestamp = stop_timestamp
353
348
 
354
- @property
355
- def symlinks_created(self) -> 'bool':
356
- """Gets the symlinks_created of this V1LightningworkStatus. # noqa: E501
357
-
358
-
359
- :return: The symlinks_created of this V1LightningworkStatus. # noqa: E501
360
- :rtype: bool
361
- """
362
- return self._symlinks_created
363
-
364
- @symlinks_created.setter
365
- def symlinks_created(self, symlinks_created: 'bool'):
366
- """Sets the symlinks_created of this V1LightningworkStatus.
367
-
368
-
369
- :param symlinks_created: The symlinks_created of this V1LightningworkStatus. # noqa: E501
370
- :type: bool
371
- """
372
-
373
- self._symlinks_created = symlinks_created
374
-
375
349
  @property
376
350
  def total_cost(self) -> 'float':
377
351
  """Gets the total_cost of this V1LightningworkStatus. # noqa: E501
@@ -42,24 +42,29 @@ class V1MetricValue(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'created_at': 'datetime',
45
+ 'internal_step': 'str',
45
46
  'step': 'str',
46
47
  'value': 'float'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'created_at': 'createdAt',
52
+ 'internal_step': 'internalStep',
51
53
  'step': 'step',
52
54
  'value': 'value'
53
55
  }
54
56
 
55
- def __init__(self, created_at: 'datetime' =None, step: 'str' =None, value: 'float' =None): # noqa: E501
57
+ def __init__(self, created_at: 'datetime' =None, internal_step: 'str' =None, step: 'str' =None, value: 'float' =None): # noqa: E501
56
58
  """V1MetricValue - a model defined in Swagger""" # noqa: E501
57
59
  self._created_at = None
60
+ self._internal_step = None
58
61
  self._step = None
59
62
  self._value = None
60
63
  self.discriminator = None
61
64
  if created_at is not None:
62
65
  self.created_at = created_at
66
+ if internal_step is not None:
67
+ self.internal_step = internal_step
63
68
  if step is not None:
64
69
  self.step = step
65
70
  if value is not None:
@@ -86,6 +91,27 @@ class V1MetricValue(object):
86
91
 
87
92
  self._created_at = created_at
88
93
 
94
+ @property
95
+ def internal_step(self) -> 'str':
96
+ """Gets the internal_step of this V1MetricValue. # noqa: E501
97
+
98
+
99
+ :return: The internal_step of this V1MetricValue. # noqa: E501
100
+ :rtype: str
101
+ """
102
+ return self._internal_step
103
+
104
+ @internal_step.setter
105
+ def internal_step(self, internal_step: 'str'):
106
+ """Sets the internal_step of this V1MetricValue.
107
+
108
+
109
+ :param internal_step: The internal_step of this V1MetricValue. # noqa: E501
110
+ :type: str
111
+ """
112
+
113
+ self._internal_step = internal_step
114
+
89
115
  @property
90
116
  def step(self) -> 'str':
91
117
  """Gets the step of this V1MetricValue. # noqa: E501
@@ -49,11 +49,13 @@ class V1UsageDetails(object):
49
49
  'hourly_price': 'float',
50
50
  'instance_count': 'str',
51
51
  'instance_type': 'str',
52
+ 'read_bytes': 'str',
52
53
  'resource_name': 'str',
53
54
  'saved_cost': 'float',
54
55
  'spot': 'bool',
55
56
  'started_at': 'datetime',
56
- 'user_id': 'str'
57
+ 'user_id': 'str',
58
+ 'written_bytes': 'str'
57
59
  }
58
60
 
59
61
  attribute_map = {
@@ -65,14 +67,16 @@ class V1UsageDetails(object):
65
67
  'hourly_price': 'hourlyPrice',
66
68
  'instance_count': 'instanceCount',
67
69
  'instance_type': 'instanceType',
70
+ 'read_bytes': 'readBytes',
68
71
  'resource_name': 'resourceName',
69
72
  'saved_cost': 'savedCost',
70
73
  'spot': 'spot',
71
74
  'started_at': 'startedAt',
72
- 'user_id': 'userId'
75
+ 'user_id': 'userId',
76
+ 'written_bytes': 'writtenBytes'
73
77
  }
74
78
 
75
- def __init__(self, billed_bytes: 'str' =None, billed_time_seconds: 'str' =None, cost: 'float' =None, ended_at: 'datetime' =None, free: 'bool' =None, hourly_price: 'float' =None, instance_count: 'str' =None, instance_type: 'str' =None, resource_name: 'str' =None, saved_cost: 'float' =None, spot: 'bool' =None, started_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
79
+ def __init__(self, billed_bytes: 'str' =None, billed_time_seconds: 'str' =None, cost: 'float' =None, ended_at: 'datetime' =None, free: 'bool' =None, hourly_price: 'float' =None, instance_count: 'str' =None, instance_type: 'str' =None, read_bytes: 'str' =None, resource_name: 'str' =None, saved_cost: 'float' =None, spot: 'bool' =None, started_at: 'datetime' =None, user_id: 'str' =None, written_bytes: 'str' =None): # noqa: E501
76
80
  """V1UsageDetails - a model defined in Swagger""" # noqa: E501
77
81
  self._billed_bytes = None
78
82
  self._billed_time_seconds = None
@@ -82,11 +86,13 @@ class V1UsageDetails(object):
82
86
  self._hourly_price = None
83
87
  self._instance_count = None
84
88
  self._instance_type = None
89
+ self._read_bytes = None
85
90
  self._resource_name = None
86
91
  self._saved_cost = None
87
92
  self._spot = None
88
93
  self._started_at = None
89
94
  self._user_id = None
95
+ self._written_bytes = None
90
96
  self.discriminator = None
91
97
  if billed_bytes is not None:
92
98
  self.billed_bytes = billed_bytes
@@ -104,6 +110,8 @@ class V1UsageDetails(object):
104
110
  self.instance_count = instance_count
105
111
  if instance_type is not None:
106
112
  self.instance_type = instance_type
113
+ if read_bytes is not None:
114
+ self.read_bytes = read_bytes
107
115
  if resource_name is not None:
108
116
  self.resource_name = resource_name
109
117
  if saved_cost is not None:
@@ -114,6 +122,8 @@ class V1UsageDetails(object):
114
122
  self.started_at = started_at
115
123
  if user_id is not None:
116
124
  self.user_id = user_id
125
+ if written_bytes is not None:
126
+ self.written_bytes = written_bytes
117
127
 
118
128
  @property
119
129
  def billed_bytes(self) -> 'str':
@@ -283,6 +293,27 @@ class V1UsageDetails(object):
283
293
 
284
294
  self._instance_type = instance_type
285
295
 
296
+ @property
297
+ def read_bytes(self) -> 'str':
298
+ """Gets the read_bytes of this V1UsageDetails. # noqa: E501
299
+
300
+
301
+ :return: The read_bytes of this V1UsageDetails. # noqa: E501
302
+ :rtype: str
303
+ """
304
+ return self._read_bytes
305
+
306
+ @read_bytes.setter
307
+ def read_bytes(self, read_bytes: 'str'):
308
+ """Sets the read_bytes of this V1UsageDetails.
309
+
310
+
311
+ :param read_bytes: The read_bytes of this V1UsageDetails. # noqa: E501
312
+ :type: str
313
+ """
314
+
315
+ self._read_bytes = read_bytes
316
+
286
317
  @property
287
318
  def resource_name(self) -> 'str':
288
319
  """Gets the resource_name of this V1UsageDetails. # noqa: E501
@@ -388,6 +419,27 @@ class V1UsageDetails(object):
388
419
 
389
420
  self._user_id = user_id
390
421
 
422
+ @property
423
+ def written_bytes(self) -> 'str':
424
+ """Gets the written_bytes of this V1UsageDetails. # noqa: E501
425
+
426
+
427
+ :return: The written_bytes of this V1UsageDetails. # noqa: E501
428
+ :rtype: str
429
+ """
430
+ return self._written_bytes
431
+
432
+ @written_bytes.setter
433
+ def written_bytes(self, written_bytes: 'str'):
434
+ """Sets the written_bytes of this V1UsageDetails.
435
+
436
+
437
+ :param written_bytes: The written_bytes of this V1UsageDetails. # noqa: E501
438
+ :type: str
439
+ """
440
+
441
+ self._written_bytes = written_bytes
442
+
391
443
  def to_dict(self) -> dict:
392
444
  """Returns the model properties as a dict"""
393
445
  result = {}
@@ -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_customize_api': 'bool',
63
64
  'deployment_data_path': 'bool',
64
65
  'deployment_gallery': 'bool',
65
66
  'deployment_persistent_disk': 'bool',
@@ -81,6 +82,7 @@ class V1UserFeatures(object):
81
82
  'mmt_strategy_selector': 'bool',
82
83
  'model_store': 'bool',
83
84
  'multiple_deployment_versions': 'bool',
85
+ 'multiple_studio_versions': 'bool',
84
86
  'org_level_member_permissions': 'bool',
85
87
  'plugin_biz_chat': 'bool',
86
88
  'plugin_distributed': 'bool',
@@ -136,6 +138,7 @@ class V1UserFeatures(object):
136
138
  'custom_app_domain': 'customAppDomain',
137
139
  'custom_instance_types': 'customInstanceTypes',
138
140
  'default_one_cluster': 'defaultOneCluster',
141
+ 'deployment_customize_api': 'deploymentCustomizeApi',
139
142
  'deployment_data_path': 'deploymentDataPath',
140
143
  'deployment_gallery': 'deploymentGallery',
141
144
  'deployment_persistent_disk': 'deploymentPersistentDisk',
@@ -157,6 +160,7 @@ class V1UserFeatures(object):
157
160
  'mmt_strategy_selector': 'mmtStrategySelector',
158
161
  'model_store': 'modelStore',
159
162
  'multiple_deployment_versions': 'multipleDeploymentVersions',
163
+ 'multiple_studio_versions': 'multipleStudioVersions',
160
164
  'org_level_member_permissions': 'orgLevelMemberPermissions',
161
165
  'plugin_biz_chat': 'pluginBizChat',
162
166
  'plugin_distributed': 'pluginDistributed',
@@ -192,7 +196,7 @@ class V1UserFeatures(object):
192
196
  'writable_data_connections': 'writableDataConnections'
193
197
  }
194
198
 
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
199
+ 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_customize_api: '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, multiple_studio_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
196
200
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
197
201
  self._advanced_deployment_autoscaling = None
198
202
  self._affiliate_links = None
@@ -213,6 +217,7 @@ class V1UserFeatures(object):
213
217
  self._custom_app_domain = None
214
218
  self._custom_instance_types = None
215
219
  self._default_one_cluster = None
220
+ self._deployment_customize_api = None
216
221
  self._deployment_data_path = None
217
222
  self._deployment_gallery = None
218
223
  self._deployment_persistent_disk = None
@@ -234,6 +239,7 @@ class V1UserFeatures(object):
234
239
  self._mmt_strategy_selector = None
235
240
  self._model_store = None
236
241
  self._multiple_deployment_versions = None
242
+ self._multiple_studio_versions = None
237
243
  self._org_level_member_permissions = None
238
244
  self._plugin_biz_chat = None
239
245
  self._plugin_distributed = None
@@ -306,6 +312,8 @@ class V1UserFeatures(object):
306
312
  self.custom_instance_types = custom_instance_types
307
313
  if default_one_cluster is not None:
308
314
  self.default_one_cluster = default_one_cluster
315
+ if deployment_customize_api is not None:
316
+ self.deployment_customize_api = deployment_customize_api
309
317
  if deployment_data_path is not None:
310
318
  self.deployment_data_path = deployment_data_path
311
319
  if deployment_gallery is not None:
@@ -348,6 +356,8 @@ class V1UserFeatures(object):
348
356
  self.model_store = model_store
349
357
  if multiple_deployment_versions is not None:
350
358
  self.multiple_deployment_versions = multiple_deployment_versions
359
+ if multiple_studio_versions is not None:
360
+ self.multiple_studio_versions = multiple_studio_versions
351
361
  if org_level_member_permissions is not None:
352
362
  self.org_level_member_permissions = org_level_member_permissions
353
363
  if plugin_biz_chat is not None:
@@ -814,6 +824,27 @@ class V1UserFeatures(object):
814
824
 
815
825
  self._default_one_cluster = default_one_cluster
816
826
 
827
+ @property
828
+ def deployment_customize_api(self) -> 'bool':
829
+ """Gets the deployment_customize_api of this V1UserFeatures. # noqa: E501
830
+
831
+
832
+ :return: The deployment_customize_api of this V1UserFeatures. # noqa: E501
833
+ :rtype: bool
834
+ """
835
+ return self._deployment_customize_api
836
+
837
+ @deployment_customize_api.setter
838
+ def deployment_customize_api(self, deployment_customize_api: 'bool'):
839
+ """Sets the deployment_customize_api of this V1UserFeatures.
840
+
841
+
842
+ :param deployment_customize_api: The deployment_customize_api of this V1UserFeatures. # noqa: E501
843
+ :type: bool
844
+ """
845
+
846
+ self._deployment_customize_api = deployment_customize_api
847
+
817
848
  @property
818
849
  def deployment_data_path(self) -> 'bool':
819
850
  """Gets the deployment_data_path of this V1UserFeatures. # noqa: E501
@@ -1255,6 +1286,27 @@ class V1UserFeatures(object):
1255
1286
 
1256
1287
  self._multiple_deployment_versions = multiple_deployment_versions
1257
1288
 
1289
+ @property
1290
+ def multiple_studio_versions(self) -> 'bool':
1291
+ """Gets the multiple_studio_versions of this V1UserFeatures. # noqa: E501
1292
+
1293
+
1294
+ :return: The multiple_studio_versions of this V1UserFeatures. # noqa: E501
1295
+ :rtype: bool
1296
+ """
1297
+ return self._multiple_studio_versions
1298
+
1299
+ @multiple_studio_versions.setter
1300
+ def multiple_studio_versions(self, multiple_studio_versions: 'bool'):
1301
+ """Sets the multiple_studio_versions of this V1UserFeatures.
1302
+
1303
+
1304
+ :param multiple_studio_versions: The multiple_studio_versions of this V1UserFeatures. # noqa: E501
1305
+ :type: bool
1306
+ """
1307
+
1308
+ self._multiple_studio_versions = multiple_studio_versions
1309
+
1258
1310
  @property
1259
1311
  def org_level_member_permissions(self) -> 'bool':
1260
1312
  """Gets the org_level_member_permissions of this V1UserFeatures. # noqa: E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lightning_sdk
3
- Version: 0.1.33
3
+ Version: 0.1.34
4
4
  Summary: SDK to develop using Lightning AI Studios
5
5
  Author-email: Lightning-AI <justus@lightning.ai>
6
6
  License: MIT License
@@ -1,7 +1,7 @@
1
1
  docs/source/conf.py,sha256=r8yX20eC-4mHhMTd0SbQb5TlSWHhO6wnJ0VJ_FBFpag,13249
2
- lightning_sdk/__init__.py,sha256=rB9uPGPKZ4KsCOSgqGSglzmuOvrxBtIp_o_kdXHqlZM,925
2
+ lightning_sdk/__init__.py,sha256=-9FknEmfW5Gc3b-j-SsKaj-QELmPoGpXvD4aNFPqp0E,925
3
3
  lightning_sdk/agents.py,sha256=ly6Ma1j0ZgGPFyvPvMN28JWiB9dATIstFa5XM8pMi6I,1577
4
- lightning_sdk/ai_hub.py,sha256=yjCkfmJRKI9zpIn3qUZ7J5C1lccTt6UnKD6iv0xXsX0,3966
4
+ lightning_sdk/ai_hub.py,sha256=iNlRFzTPTuzRdDIT7WhEw1Lp5Srn8g2SMKs-xE4QHDA,4231
5
5
  lightning_sdk/constants.py,sha256=ztl1PTUBULnqTf3DyKUSJaV_O20hNtUYT6XvAYIrmIk,749
6
6
  lightning_sdk/helpers.py,sha256=RnQwUquc_YPotjh6YXOoJvZs8krX_QFhd7kGv4U_spQ,1844
7
7
  lightning_sdk/machine.py,sha256=VdFXStR6ilYBEYuxgGWzcAw2TtW-nEQVsh6hz-2aaEw,750
@@ -14,7 +14,7 @@ lightning_sdk/teamspace.py,sha256=T3nxbZG1HtKu40F8gtpapqn-GVqSL6nBv7d32vmB_DY,10
14
14
  lightning_sdk/user.py,sha256=vdn8pZqkAZO0-LoRsBdg0TckRKtd_H3QF4gpiZcl4iY,1130
15
15
  lightning_sdk/api/__init__.py,sha256=Qn2VVRvir_gO7w4yxGLkZY-R3T7kdiTPKgQ57BhIA9k,413
16
16
  lightning_sdk/api/agents_api.py,sha256=G47TbFo9kYqnBMqdw2RW-lfS1VAUBSXDmzs6fpIEMUs,4059
17
- lightning_sdk/api/ai_hub_api.py,sha256=Gf4-0FXQROpIXiuQipp-pjLFGNuU-0hft7V_rpxg3Hc,2479
17
+ lightning_sdk/api/ai_hub_api.py,sha256=8mDWQpXi0Sud3cRmjPvhlDRghYyJJpCDX8SvK-yY9ek,2565
18
18
  lightning_sdk/api/deployment_api.py,sha256=9HhOHz7ElmjgX88YkPUtETPgz_jMFkK1nTO18-jUniI,21505
19
19
  lightning_sdk/api/job_api.py,sha256=pdQ3R5x04fyC49UqggWCIuPDLCmLYrnq791Ij-3vMr0,8457
20
20
  lightning_sdk/api/org_api.py,sha256=Ze3z_ATVrukobujV5YdC42DKj45Vuwl7X52q_Vr-o3U,803
@@ -23,8 +23,9 @@ lightning_sdk/api/teamspace_api.py,sha256=o-GBR3KLo298kDxO0myx-qlcCzSZnbR2OhZ73t
23
23
  lightning_sdk/api/user_api.py,sha256=sL7RIjjtmZmvCZWx7BBZslhj1BeNh4Idn-RVcdmf7M0,2598
24
24
  lightning_sdk/api/utils.py,sha256=eHxq0dU_e9Pq5XjPlp7sNJ5_N3d44EtHKpbEiPPMkOQ,20562
25
25
  lightning_sdk/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ lightning_sdk/cli/ai_hub.py,sha256=AiwA-nhtP4arWqdezPRo6CNItTXOw756JmjEk2wTBXM,1306
26
27
  lightning_sdk/cli/download.py,sha256=b6dpUMLhro6p0y6CleCHxggQnZlZMxCq0bjuf8B6_eA,6191
27
- lightning_sdk/cli/entrypoint.py,sha256=DD9rbmNqH6uE0IKMzfOenVymyrvfTMYi_zDPHr4Pk5E,1258
28
+ lightning_sdk/cli/entrypoint.py,sha256=ypNZ13FJlmlX-Osnp5eiZPmABt0xc8Rw2Yi9oDqrXGo,1332
28
29
  lightning_sdk/cli/exceptions.py,sha256=QUF3OMAMZwBikvlusimSHSBjb6ywvHpfAumJBEaodSw,169
29
30
  lightning_sdk/cli/legacy.py,sha256=ocTVNwlsLRS5aMjbMkwFPjT3uEYvS8C40CJ0PeRRv8g,4707
30
31
  lightning_sdk/cli/models.py,sha256=_OT5sqk8lC40fKyutfx9XKvVhoj7QSrU7PhPJhBCSCQ,1647
@@ -45,7 +46,7 @@ lightning_sdk/lightning_cloud/login.py,sha256=8SVZ-RGszjjbJt4cEoeMhFG7RqBZ4xIlT2
45
46
  lightning_sdk/lightning_cloud/rest_client.py,sha256=oJG8xYf-QIIH4D21s6sq5uIVbc6SGwHtgB9eNGWIgVY,6622
46
47
  lightning_sdk/lightning_cloud/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
48
  lightning_sdk/lightning_cloud/cli/__main__.py,sha256=YqR_GdQTDcA9DEQ1w6mRlX1cd_MrlpdEwzsBV2cZzJc,599
48
- lightning_sdk/lightning_cloud/openapi/__init__.py,sha256=8FsblyyzAQnO5MvogKzeQ19UuFk0BoTEu8hbGvBMnUc,82385
49
+ lightning_sdk/lightning_cloud/openapi/__init__.py,sha256=6KFHc-7Ozgva4na7UuNmMqIfSdg3uldRqWAR4MM4cGg,82465
49
50
  lightning_sdk/lightning_cloud/openapi/api_client.py,sha256=pUTQMNcZmH4BhpnuAXuT7wnegaxaX26bzdEWjdoLeTo,25630
50
51
  lightning_sdk/lightning_cloud/openapi/configuration.py,sha256=H4PTkRz1QAonxKHbx3LG-gDEtdQPAxMO-bVfMfbUfJg,8306
51
52
  lightning_sdk/lightning_cloud/openapi/rest.py,sha256=ZPPr6ZkBp6LtuAsiUU7D8Pz8Dt9ECbEM_26Ov74tdpw,13322
@@ -81,7 +82,7 @@ lightning_sdk/lightning_cloud/openapi/api/ssh_public_key_service_api.py,sha256=z
81
82
  lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py,sha256=4SCpucxSLULv26jHjFJWoLXM7bySp2YeJnQayXZLWDU,47660
82
83
  lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py,sha256=VJ7VcSvdmGbPkgmQZhaOSR47olcNPMzRlmT5J5uKsng,27877
83
84
  lightning_sdk/lightning_cloud/openapi/api/user_service_api.py,sha256=wjdWKwf3zPIyaV7RpwB6QSqDHFX_sMh4ZD2DpfSujV8,66572
84
- lightning_sdk/lightning_cloud/openapi/models/__init__.py,sha256=NxRYJ-vwxAWmRXXNvm4_4_AyffooUbYLhSb8hk0I3Nw,77528
85
+ lightning_sdk/lightning_cloud/openapi/models/__init__.py,sha256=LB_ZrY00cCKz8Y3liljr4buUfpEl9_5agkeIGz8JlJk,77608
85
86
  lightning_sdk/lightning_cloud/openapi/models/affiliatelinks_id_body.py,sha256=X087AkCafKp2g8E2MR5ghU3pxCNNcoehZJttvuVfdC8,4274
86
87
  lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py,sha256=NzKKkTs2PtMSIJJYxeh3aDBj-djBrI_qATGz7n5Oqdk,9234
87
88
  lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py,sha256=-bWnsSU96tLMMjXfojUKu14JrD1RCnW6RjXOYh-pY9E,18833
@@ -250,6 +251,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_cancellation_metadata.py,sha256=
250
251
  lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py,sha256=QO9vjLcu5NMTPyXHGEyWmb3sDXV02LLgKPhfwm3iih4,11408
251
252
  lightning_sdk/lightning_cloud/openapi/models/v1_check_external_service_status_response.py,sha256=k1cRcRhrmqavxVtAX7w1ZCU4AtkngJJin65JjBhEHHk,4026
252
253
  lightning_sdk/lightning_cloud/openapi/models/v1_check_snowflake_connection_response.py,sha256=ZwjPdhw9O8bja24on7zgUGOltKKzp6hP3Ym0j_aJ_yU,3887
254
+ lightning_sdk/lightning_cloud/openapi/models/v1_checkbox.py,sha256=YcD2bdGu_5_9X3pqoSskvOzaVx1_xn8Zkg46vGQV56g,5110
253
255
  lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py,sha256=8HJnYWiL0syUvzL8eEqNRA22staZTU3iuirrHsRPTxo,39810
254
256
  lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app.py,sha256=cRaPmY6XQvUI2NFsgaiUI9yUqOeQZq02DtlW-VpEbgo,18915
255
257
  lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_action.py,sha256=WFnLkjQqHDmEAE1-ndd-6TxwuI5gCI57AJex4iD8W30,4480
@@ -396,9 +398,9 @@ lightning_sdk/lightning_cloud/openapi/models/v1_deployment_strategy.py,sha256=ae
396
398
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py,sha256=H6aCXbIhMEx0ZduFUM8IzlIjMlk5wR9NloS4dBiijb0,20850
397
399
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_engagement_response.py,sha256=O_FvQGBJIxG-8_EceKi9X26osXTUxYHvMCnC3p23G04,3118
398
400
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_gallery_response.py,sha256=PShzdywJq3wZkvbROjNg6xCQTyokuz6qmBcB8_c8_9Q,19751
399
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py,sha256=0A-c3viLjKl6cWV07HtleloVnFG-lYGDlwLEkqExnZk,12051
401
+ lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py,sha256=6cxmKjqOUN8VAxBLWoOxBjwUfuMPxxMl2WxWgsV6eY8,12842
400
402
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_placement.py,sha256=QBm5LBYwjNbSFLg1Z4i5v1IU2KonxEpSqWk9_tkWPzI,3381
401
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py,sha256=mm--X-BEfIrW1iFzxhf875EJhLNYcZOEkES2LSbWNgg,3259
403
+ lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py,sha256=z8kuUnFtiwURcvgAsMS4F0JVDwLyWso2deU_pnoR31Y,3305
402
404
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_summary.py,sha256=6_7RvMsko49QOWHJa5lTKYtYBIbJiQk6zslYTfLchW4,17169
403
405
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_type.py,sha256=5wqEUFpHyjgwxaLbrtecrFTJkGr_8xyTjMA2UhQFC7c,3265
404
406
  lightning_sdk/lightning_cloud/openapi/models/v1_download_job_logs_response.py,sha256=HTO3iz34D-z3kRutz9ovwG5IdT9X78DPvtE6seMkln0,3671
@@ -497,7 +499,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py,sha25
497
499
  lightning_sdk/lightning_cloud/openapi/models/v1_job_log_entry.py,sha256=Bhjx6rx3cJy6tarZ1zLXycZwmpZInMROecDo5ODsakg,4971
498
500
  lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_page.py,sha256=uPeDC0SKPuojeSAgV-6Ei43A_nXkgxvQG1qSxd8w8To,6309
499
501
  lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_response.py,sha256=9Ae7cFQTJHhI1XBsnHqNGQLFXEMeAJEw7T53jY4BMZg,4467
500
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py,sha256=Kgujhrhy5-8OOWwzB_FOTfc9Yi7rbA0Be8A4KQNOTp0,20094
502
+ lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py,sha256=N4fWyVPRH4ZZHSIIEwTr9a_phQlpnkq2I_qFi8CutA8,19260
501
503
  lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py,sha256=qnnGfuKbAU_IEWYZFPaBGTX2DFAvBvgoXllQk7yhMFk,5462
502
504
  lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py,sha256=IkuGZ89NWOMpe8JsxXJvkRKdcDUvV4F3akA_USvl5rs,9586
503
505
  lightning_sdk/lightning_cloud/openapi/models/v1_keep_alive_cloud_space_instance_response.py,sha256=NRrP0aqQbpd8ejQUApJ2L1vUoSx1UhNOlSh4JeQ2_es,3112
@@ -518,7 +520,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_drives.py,sha256=v
518
520
  lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_event.py,sha256=csjlqL7xZBTv-A6C3s76kNhyr2KBb2iBN9mlcn-OSVY,7490
519
521
  lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_spec.py,sha256=5YPvQ2SbYbmEuqLchZZbunAPG4Ba5lC_GPYpY_BL6sc,17365
520
522
  lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_state.py,sha256=rhE-WVVIDsrNl639D5o2K6eA4vxpz0UN4ss059FZKRw,3431
521
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py,sha256=qFllmVRt09rktbhUGi3MKAhXRp4z4Yh48OGA7kz_oFI,15035
523
+ lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py,sha256=p2_tfwworAaIr-wdwPxbAfG-aEBzbOSeB0o-ey4EuZ8,14153
522
524
  lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status_reason.py,sha256=uQETG72asM1WQnUQc4cNE0h4zmaLq-q3hPGOMeEEcak,3521
523
525
  lightning_sdk/lightning_cloud/openapi/models/v1_list_affiliate_links_response.py,sha256=5TgibtzUcNlVTJ6jr6CI8KzBsya0t5XmIvnyb2Pz13g,3849
524
526
  lightning_sdk/lightning_cloud/openapi/models/v1_list_agent_job_artifacts_response.py,sha256=SUeGQPh69QORv0EWoUYEeRSMVZ-0G_kni3SpYn9lUxk,5847
@@ -620,7 +622,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_message.py,sha256=fp42UDm2IoTVay
620
622
  lightning_sdk/lightning_cloud/openapi/models/v1_message_author.py,sha256=QRC1HofufQOPROrxwtLeaEfE8f1h_ehZ0tdqlYfkgyM,3591
621
623
  lightning_sdk/lightning_cloud/openapi/models/v1_message_content.py,sha256=bQkJSTdOZKQX711hlWIUjJ4k1iI_kQNc6s8golZQIkQ,4433
622
624
  lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py,sha256=j7q08UriG1bIxg8e-hURab5Fd83rF1HIVR5423kGrm0,16136
623
- lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py,sha256=CI8X9UrCK42CXGhAzx2VNvJuIcQzZGMtyw0miwQ3qMM,4962
625
+ lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py,sha256=zGZsP7E-i9qDY2ie6FHbaNn-TlGsLRgxED5k-pJSjZE,5746
624
626
  lightning_sdk/lightning_cloud/openapi/models/v1_metrics.py,sha256=kdyXKxRdrvyX1YA_bK8PT9KLfdXNnb-eidx8zcX7SDY,4256
625
627
  lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py,sha256=uemIvCQ7oluwqoVQDu1bvk2AxlIZHue7gVLUd6lpF0g,20402
626
628
  lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tags.py,sha256=pqSxM8PtvGzL8YShurjbOaSVSr45XuhrpINWom40i5Y,5557
@@ -768,9 +770,9 @@ lightning_sdk/lightning_cloud/openapi/models/v1_upstream_job.py,sha256=1-JtLFWY_
768
770
  lightning_sdk/lightning_cloud/openapi/models/v1_upstream_managed.py,sha256=yI6faucIfa1pDebCkA1vFpAeUyE3T01oPmk7VFVw7Tw,3571
769
771
  lightning_sdk/lightning_cloud/openapi/models/v1_upstream_open_ai.py,sha256=jt1qQtfaU95eYAFQQT3ozK0Opxhn0kuqleECv_KmCiM,4356
770
772
  lightning_sdk/lightning_cloud/openapi/models/v1_usage.py,sha256=RhhnH9ygScZyExg06WhvMNPPRLSe8FYkIftqF-D9NIU,13408
771
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py,sha256=SQqqjrQVw1no_1UmTWAypepSgcAIKC7fl5-hENRraYc,12546
773
+ lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py,sha256=U7qC698Xj5tb3D93ZskG6sDf3lTXE13UTlGeDTvtRU4,14062
772
774
  lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py,sha256=iH67BcONBSLYzcZpGpKWSOzJTCpuqYt7FU4OUs8BJ9k,6076
773
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py,sha256=kHdjvdIi8M-9js6DzH1TZ6O0ityMhRtGaBlxSBguob8,66654
775
+ lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py,sha256=iOcmONT0Qcow4uIvR_PeOrIVhZIcoSW2OW82V3idUYw,68680
774
776
  lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py,sha256=2wAusNZSjhDuE0SO9cnpV48oLO0Frp_3LA5Y6SgJcI8,11874
775
777
  lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py,sha256=3WpZ-lf7xPwuYyQDMdP7Uc6-dh3vf5TaaUlcMfesfMk,5208
776
778
  lightning_sdk/lightning_cloud/openapi/models/v1_user_slurm_job_action_response.py,sha256=BdNzXH8Vsf5PHjl9Rd-TVkpAgx1YC9rf8LD0js-ba20,3058
@@ -808,9 +810,9 @@ lightning_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
808
810
  lightning_sdk/utils/dynamic.py,sha256=glUTO1JC9APtQ6Gr9SO02a3zr56-sPAXM5C3NrTpgyQ,1959
809
811
  lightning_sdk/utils/enum.py,sha256=h2JRzqoBcSlUdanFHmkj_j5DleBHAu1esQYUsdNI-hU,4106
810
812
  lightning_sdk/utils/resolve.py,sha256=gU3MSko9Y7rE4jcnVwstNBaW83OFnSgvM-N44Ibrc_A,5148
811
- lightning_sdk-0.1.33.dist-info/LICENSE,sha256=uFIuZwj5z-4TeF2UuacPZ1o17HkvKObT8fY50qN84sg,1064
812
- lightning_sdk-0.1.33.dist-info/METADATA,sha256=Q20ldoup46qvs8rCqTg3mCuO0e4si6qBOiXyWMwrbvs,3941
813
- lightning_sdk-0.1.33.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
814
- lightning_sdk-0.1.33.dist-info/entry_points.txt,sha256=msB9PJWIJ784dX-OP8by51d4IbKYH3Fj1vCuA9oXjHY,68
815
- lightning_sdk-0.1.33.dist-info/top_level.txt,sha256=ps8doKILFXmN7F1mHncShmnQoTxKBRPIcchC8TpoBw4,19
816
- lightning_sdk-0.1.33.dist-info/RECORD,,
813
+ lightning_sdk-0.1.34.dist-info/LICENSE,sha256=uFIuZwj5z-4TeF2UuacPZ1o17HkvKObT8fY50qN84sg,1064
814
+ lightning_sdk-0.1.34.dist-info/METADATA,sha256=y8KZbcLuafKkE6InZWOws9-jJnrSdonywvPdy8qtuts,3941
815
+ lightning_sdk-0.1.34.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
816
+ lightning_sdk-0.1.34.dist-info/entry_points.txt,sha256=msB9PJWIJ784dX-OP8by51d4IbKYH3Fj1vCuA9oXjHY,68
817
+ lightning_sdk-0.1.34.dist-info/top_level.txt,sha256=ps8doKILFXmN7F1mHncShmnQoTxKBRPIcchC8TpoBw4,19
818
+ lightning_sdk-0.1.34.dist-info/RECORD,,