lightning-sdk 0.1.40__py3-none-any.whl → 0.1.41__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.
Files changed (22) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/mmt_api.py +1 -0
  3. lightning_sdk/api/utils.py +2 -1
  4. lightning_sdk/lightning_cloud/openapi/__init__.py +1 -0
  5. lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +5 -1
  6. lightning_sdk/lightning_cloud/openapi/models/__init__.py +1 -0
  7. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
  8. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +27 -1
  9. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py +27 -1
  10. lightning_sdk/lightning_cloud/openapi/models/v1_header.py +175 -0
  11. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  12. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +29 -3
  13. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  14. lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +1 -0
  15. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +15 -15
  16. lightning_sdk/teamspace.py +5 -6
  17. {lightning_sdk-0.1.40.dist-info → lightning_sdk-0.1.41.dist-info}/METADATA +1 -1
  18. {lightning_sdk-0.1.40.dist-info → lightning_sdk-0.1.41.dist-info}/RECORD +22 -21
  19. {lightning_sdk-0.1.40.dist-info → lightning_sdk-0.1.41.dist-info}/LICENSE +0 -0
  20. {lightning_sdk-0.1.40.dist-info → lightning_sdk-0.1.41.dist-info}/WHEEL +0 -0
  21. {lightning_sdk-0.1.40.dist-info → lightning_sdk-0.1.41.dist-info}/entry_points.txt +0 -0
  22. {lightning_sdk-0.1.40.dist-info → lightning_sdk-0.1.41.dist-info}/top_level.txt +0 -0
lightning_sdk/__init__.py CHANGED
@@ -27,5 +27,5 @@ __all__ = [
27
27
  "AIHub",
28
28
  ]
29
29
 
30
- __version__ = "0.1.40"
30
+ __version__ = "0.1.41"
31
31
  _check_version_and_prompt_upgrade(__version__)
@@ -66,6 +66,7 @@ class MMTApi:
66
66
  cloudspace_id=studio_id or "",
67
67
  cluster_id=cluster_id or "",
68
68
  command=command or "",
69
+ entrypoint="sh -c",
69
70
  env=env_vars,
70
71
  image=image or "",
71
72
  instance_name=instance_name,
@@ -569,7 +569,8 @@ def _create_app(
569
569
 
570
570
  # Check if 'interruptible' is in the arguments and convert it to a string
571
571
  if isinstance(other_arguments, dict) and "interruptible" in other_arguments:
572
- other_arguments["interruptible"] = str(other_arguments["interruptible"]).lower()
572
+ other_arguments["spot"] = str(other_arguments["interruptible"]).lower()
573
+ del other_arguments["interruptible"]
573
574
 
574
575
  body = AppsIdBody(
575
576
  cluster_id=cluster_id,
@@ -460,6 +460,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_user_storage_breakdown_
460
460
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_user_storage_response import V1GetUserStorageResponse
461
461
  from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1 import V1GoogleCloudDirectV1
462
462
  from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1_status import V1GoogleCloudDirectV1Status
463
+ from lightning_sdk.lightning_cloud.openapi.models.v1_header import V1Header
463
464
  from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_exec import V1HealthCheckExec
464
465
  from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_http_get import V1HealthCheckHttpGet
465
466
  from lightning_sdk.lightning_cloud.openapi.models.v1_ids_logger_metrics import V1IdsLoggerMetrics
@@ -643,6 +643,7 @@ class SecretServiceApi(object):
643
643
 
644
644
  :param async_req bool
645
645
  :param str project_id: (required)
646
+ :param str type:
646
647
  :return: V1ListSecretsResponse
647
648
  If the method is called asynchronously,
648
649
  returns the request thread.
@@ -664,12 +665,13 @@ class SecretServiceApi(object):
664
665
 
665
666
  :param async_req bool
666
667
  :param str project_id: (required)
668
+ :param str type:
667
669
  :return: V1ListSecretsResponse
668
670
  If the method is called asynchronously,
669
671
  returns the request thread.
670
672
  """
671
673
 
672
- all_params = ['project_id'] # noqa: E501
674
+ all_params = ['project_id', 'type'] # noqa: E501
673
675
  all_params.append('async_req')
674
676
  all_params.append('_return_http_data_only')
675
677
  all_params.append('_preload_content')
@@ -696,6 +698,8 @@ class SecretServiceApi(object):
696
698
  path_params['projectId'] = params['project_id'] # noqa: E501
697
699
 
698
700
  query_params = []
701
+ if 'type' in params:
702
+ query_params.append(('type', params['type'])) # noqa: E501
699
703
 
700
704
  header_params = {}
701
705
 
@@ -424,6 +424,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_user_storage_breakdown_
424
424
  from lightning_sdk.lightning_cloud.openapi.models.v1_get_user_storage_response import V1GetUserStorageResponse
425
425
  from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1 import V1GoogleCloudDirectV1
426
426
  from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1_status import V1GoogleCloudDirectV1Status
427
+ from lightning_sdk.lightning_cloud.openapi.models.v1_header import V1Header
427
428
  from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_exec import V1HealthCheckExec
428
429
  from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_http_get import V1HealthCheckHttpGet
429
430
  from lightning_sdk.lightning_cloud.openapi.models.v1_ids_logger_metrics import V1IdsLoggerMetrics
@@ -41,6 +41,7 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'apis': 'list[V1DeploymentAPI]',
44
45
  'autoscaling': 'V1AutoscalingSpec',
45
46
  'cloudspace_id': 'str',
46
47
  'cluster_id': 'str',
@@ -54,6 +55,7 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
54
55
  }
55
56
 
56
57
  attribute_map = {
58
+ 'apis': 'apis',
57
59
  'autoscaling': 'autoscaling',
58
60
  'cloudspace_id': 'cloudspaceId',
59
61
  'cluster_id': 'clusterId',
@@ -66,8 +68,9 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
66
68
  'strategy': 'strategy'
67
69
  }
68
70
 
69
- def __init__(self, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, endpoint: 'V1Endpoint' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, parent_template_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, strategy: 'V1DeploymentStrategy' =None): # noqa: E501
71
+ def __init__(self, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, endpoint: 'V1Endpoint' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, parent_template_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, strategy: 'V1DeploymentStrategy' =None): # noqa: E501
70
72
  """CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs - a model defined in Swagger""" # noqa: E501
73
+ self._apis = None
71
74
  self._autoscaling = None
72
75
  self._cloudspace_id = None
73
76
  self._cluster_id = None
@@ -79,6 +82,8 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
79
82
  self._spec = None
80
83
  self._strategy = None
81
84
  self.discriminator = None
85
+ if apis is not None:
86
+ self.apis = apis
82
87
  if autoscaling is not None:
83
88
  self.autoscaling = autoscaling
84
89
  if cloudspace_id is not None:
@@ -100,6 +105,27 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
100
105
  if strategy is not None:
101
106
  self.strategy = strategy
102
107
 
108
+ @property
109
+ def apis(self) -> 'list[V1DeploymentAPI]':
110
+ """Gets the apis of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
111
+
112
+
113
+ :return: The apis of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
114
+ :rtype: list[V1DeploymentAPI]
115
+ """
116
+ return self._apis
117
+
118
+ @apis.setter
119
+ def apis(self, apis: 'list[V1DeploymentAPI]'):
120
+ """Sets the apis of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs.
121
+
122
+
123
+ :param apis: The apis of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
124
+ :type: list[V1DeploymentAPI]
125
+ """
126
+
127
+ self._apis = apis
128
+
103
129
  @property
104
130
  def autoscaling(self) -> 'V1AutoscalingSpec':
105
131
  """Gets the autoscaling of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
@@ -42,6 +42,7 @@ class V1DeploymentAPI(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'body': 'V1Body',
45
+ 'headers': 'list[V1Header]',
45
46
  'method': 'str',
46
47
  'path': 'str',
47
48
  '_query_params': 'list[V1QueryParam]'
@@ -49,20 +50,24 @@ class V1DeploymentAPI(object):
49
50
 
50
51
  attribute_map = {
51
52
  'body': 'body',
53
+ 'headers': 'headers',
52
54
  'method': 'method',
53
55
  'path': 'path',
54
56
  '_query_params': 'queryParams'
55
57
  }
56
58
 
57
- def __init__(self, body: 'V1Body' =None, method: 'str' =None, path: 'str' =None, _query_params: 'list[V1QueryParam]' =None): # noqa: E501
59
+ def __init__(self, body: 'V1Body' =None, headers: 'list[V1Header]' =None, method: 'str' =None, path: 'str' =None, _query_params: 'list[V1QueryParam]' =None): # noqa: E501
58
60
  """V1DeploymentAPI - a model defined in Swagger""" # noqa: E501
59
61
  self._body = None
62
+ self._headers = None
60
63
  self._method = None
61
64
  self._path = None
62
65
  self.__query_params = None
63
66
  self.discriminator = None
64
67
  if body is not None:
65
68
  self.body = body
69
+ if headers is not None:
70
+ self.headers = headers
66
71
  if method is not None:
67
72
  self.method = method
68
73
  if path is not None:
@@ -91,6 +96,27 @@ class V1DeploymentAPI(object):
91
96
 
92
97
  self._body = body
93
98
 
99
+ @property
100
+ def headers(self) -> 'list[V1Header]':
101
+ """Gets the headers of this V1DeploymentAPI. # noqa: E501
102
+
103
+
104
+ :return: The headers of this V1DeploymentAPI. # noqa: E501
105
+ :rtype: list[V1Header]
106
+ """
107
+ return self._headers
108
+
109
+ @headers.setter
110
+ def headers(self, headers: 'list[V1Header]'):
111
+ """Sets the headers of this V1DeploymentAPI.
112
+
113
+
114
+ :param headers: The headers of this V1DeploymentAPI. # noqa: E501
115
+ :type: list[V1Header]
116
+ """
117
+
118
+ self._headers = headers
119
+
94
120
  @property
95
121
  def method(self) -> 'str':
96
122
  """Gets the method of this V1DeploymentAPI. # noqa: E501
@@ -41,23 +41,28 @@ class V1DeploymentSpec(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'apis': 'list[V1DeploymentAPI]',
44
45
  'autoscaling': 'V1AutoscalingSpec',
45
46
  'endpoint': 'V1Endpoint',
46
47
  'job': 'V1JobSpec'
47
48
  }
48
49
 
49
50
  attribute_map = {
51
+ 'apis': 'apis',
50
52
  'autoscaling': 'autoscaling',
51
53
  'endpoint': 'endpoint',
52
54
  'job': 'job'
53
55
  }
54
56
 
55
- def __init__(self, autoscaling: 'V1AutoscalingSpec' =None, endpoint: 'V1Endpoint' =None, job: 'V1JobSpec' =None): # noqa: E501
57
+ def __init__(self, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, endpoint: 'V1Endpoint' =None, job: 'V1JobSpec' =None): # noqa: E501
56
58
  """V1DeploymentSpec - a model defined in Swagger""" # noqa: E501
59
+ self._apis = None
57
60
  self._autoscaling = None
58
61
  self._endpoint = None
59
62
  self._job = None
60
63
  self.discriminator = None
64
+ if apis is not None:
65
+ self.apis = apis
61
66
  if autoscaling is not None:
62
67
  self.autoscaling = autoscaling
63
68
  if endpoint is not None:
@@ -65,6 +70,27 @@ class V1DeploymentSpec(object):
65
70
  if job is not None:
66
71
  self.job = job
67
72
 
73
+ @property
74
+ def apis(self) -> 'list[V1DeploymentAPI]':
75
+ """Gets the apis of this V1DeploymentSpec. # noqa: E501
76
+
77
+
78
+ :return: The apis of this V1DeploymentSpec. # noqa: E501
79
+ :rtype: list[V1DeploymentAPI]
80
+ """
81
+ return self._apis
82
+
83
+ @apis.setter
84
+ def apis(self, apis: 'list[V1DeploymentAPI]'):
85
+ """Sets the apis of this V1DeploymentSpec.
86
+
87
+
88
+ :param apis: The apis of this V1DeploymentSpec. # noqa: E501
89
+ :type: list[V1DeploymentAPI]
90
+ """
91
+
92
+ self._apis = apis
93
+
68
94
  @property
69
95
  def autoscaling(self) -> 'V1AutoscalingSpec':
70
96
  """Gets the autoscaling of this V1DeploymentSpec. # noqa: E501
@@ -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 V1Header(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
+ 'description': 'str',
45
+ 'key': 'str',
46
+ 'value': 'str'
47
+ }
48
+
49
+ attribute_map = {
50
+ 'description': 'description',
51
+ 'key': 'key',
52
+ 'value': 'value'
53
+ }
54
+
55
+ def __init__(self, description: 'str' =None, key: 'str' =None, value: 'str' =None): # noqa: E501
56
+ """V1Header - a model defined in Swagger""" # noqa: E501
57
+ self._description = None
58
+ self._key = None
59
+ self._value = None
60
+ self.discriminator = None
61
+ if description is not None:
62
+ self.description = description
63
+ if key is not None:
64
+ self.key = key
65
+ if value is not None:
66
+ self.value = value
67
+
68
+ @property
69
+ def description(self) -> 'str':
70
+ """Gets the description of this V1Header. # noqa: E501
71
+
72
+
73
+ :return: The description of this V1Header. # noqa: E501
74
+ :rtype: str
75
+ """
76
+ return self._description
77
+
78
+ @description.setter
79
+ def description(self, description: 'str'):
80
+ """Sets the description of this V1Header.
81
+
82
+
83
+ :param description: The description of this V1Header. # noqa: E501
84
+ :type: str
85
+ """
86
+
87
+ self._description = description
88
+
89
+ @property
90
+ def key(self) -> 'str':
91
+ """Gets the key of this V1Header. # noqa: E501
92
+
93
+
94
+ :return: The key of this V1Header. # noqa: E501
95
+ :rtype: str
96
+ """
97
+ return self._key
98
+
99
+ @key.setter
100
+ def key(self, key: 'str'):
101
+ """Sets the key of this V1Header.
102
+
103
+
104
+ :param key: The key of this V1Header. # noqa: E501
105
+ :type: str
106
+ """
107
+
108
+ self._key = key
109
+
110
+ @property
111
+ def value(self) -> 'str':
112
+ """Gets the value of this V1Header. # noqa: E501
113
+
114
+
115
+ :return: The value of this V1Header. # noqa: E501
116
+ :rtype: str
117
+ """
118
+ return self._value
119
+
120
+ @value.setter
121
+ def value(self, value: 'str'):
122
+ """Sets the value of this V1Header.
123
+
124
+
125
+ :param value: The value of this V1Header. # noqa: E501
126
+ :type: str
127
+ """
128
+
129
+ self._value = 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(V1Header, 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: 'V1Header') -> bool:
167
+ """Returns true if both objects are equal"""
168
+ if not isinstance(other, V1Header):
169
+ return False
170
+
171
+ return self.__dict__ == other.__dict__
172
+
173
+ def __ne__(self, other: 'V1Header') -> bool:
174
+ """Returns true if both objects are not equal"""
175
+ return not self == other
@@ -57,6 +57,7 @@ class V1JobSpec(object):
57
57
  'instance_type': 'str',
58
58
  'modified_volume': 'bool',
59
59
  'readiness_probe': 'V1JobHealthCheckConfig',
60
+ 'regions': 'list[str]',
60
61
  'resources': 'V1Resources',
61
62
  'restart_policy': 'str',
62
63
  'run_id': 'str',
@@ -81,6 +82,7 @@ class V1JobSpec(object):
81
82
  'instance_type': 'instanceType',
82
83
  'modified_volume': 'modifiedVolume',
83
84
  'readiness_probe': 'readinessProbe',
85
+ 'regions': 'regions',
84
86
  'resources': 'resources',
85
87
  'restart_policy': 'restartPolicy',
86
88
  'run_id': 'runId',
@@ -88,7 +90,7 @@ class V1JobSpec(object):
88
90
  'volumes': 'volumes'
89
91
  }
90
92
 
91
- def __init__(self, artifacts_destination: 'str' =None, artifacts_source: 'str' =None, 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, spot: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
93
+ def __init__(self, artifacts_destination: 'str' =None, artifacts_source: 'str' =None, 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, regions: 'list[str]' =None, resources: 'V1Resources' =None, restart_policy: 'str' =None, run_id: 'str' =None, spot: 'bool' =None, volumes: 'list[V1Volume]' =None): # noqa: E501
92
94
  """V1JobSpec - a model defined in Swagger""" # noqa: E501
93
95
  self._artifacts_destination = None
94
96
  self._artifacts_source = None
@@ -106,6 +108,7 @@ class V1JobSpec(object):
106
108
  self._instance_type = None
107
109
  self._modified_volume = None
108
110
  self._readiness_probe = None
111
+ self._regions = None
109
112
  self._resources = None
110
113
  self._restart_policy = None
111
114
  self._run_id = None
@@ -144,6 +147,8 @@ class V1JobSpec(object):
144
147
  self.modified_volume = modified_volume
145
148
  if readiness_probe is not None:
146
149
  self.readiness_probe = readiness_probe
150
+ if regions is not None:
151
+ self.regions = regions
147
152
  if resources is not None:
148
153
  self.resources = resources
149
154
  if restart_policy is not None:
@@ -491,6 +496,27 @@ class V1JobSpec(object):
491
496
 
492
497
  self._readiness_probe = readiness_probe
493
498
 
499
+ @property
500
+ def regions(self) -> 'list[str]':
501
+ """Gets the regions of this V1JobSpec. # noqa: E501
502
+
503
+
504
+ :return: The regions of this V1JobSpec. # noqa: E501
505
+ :rtype: list[str]
506
+ """
507
+ return self._regions
508
+
509
+ @regions.setter
510
+ def regions(self, regions: 'list[str]'):
511
+ """Sets the regions of this V1JobSpec.
512
+
513
+
514
+ :param regions: The regions of this V1JobSpec. # noqa: E501
515
+ :type: list[str]
516
+ """
517
+
518
+ self._regions = regions
519
+
494
520
  @property
495
521
  def resources(self) -> 'V1Resources':
496
522
  """Gets the resources of this V1JobSpec. # noqa: E501
@@ -47,7 +47,8 @@ class V1ManagedModel(object):
47
47
  'endpoint_id': 'str',
48
48
  'id': 'str',
49
49
  'name': 'str',
50
- 'prompt_token_price': 'float'
50
+ 'prompt_token_price': 'float',
51
+ 'status': 'V1AssistantModelStatus'
51
52
  }
52
53
 
53
54
  attribute_map = {
@@ -57,10 +58,11 @@ class V1ManagedModel(object):
57
58
  'endpoint_id': 'endpointId',
58
59
  'id': 'id',
59
60
  'name': 'name',
60
- 'prompt_token_price': 'promptTokenPrice'
61
+ 'prompt_token_price': 'promptTokenPrice',
62
+ 'status': 'status'
61
63
  }
62
64
 
63
- def __init__(self, abilities: 'V1ManagedModelAbilities' =None, completion_token_price: 'float' =None, description: 'str' =None, endpoint_id: 'str' =None, id: 'str' =None, name: 'str' =None, prompt_token_price: 'float' =None): # noqa: E501
65
+ def __init__(self, abilities: 'V1ManagedModelAbilities' =None, completion_token_price: 'float' =None, description: 'str' =None, endpoint_id: 'str' =None, id: 'str' =None, name: 'str' =None, prompt_token_price: 'float' =None, status: 'V1AssistantModelStatus' =None): # noqa: E501
64
66
  """V1ManagedModel - a model defined in Swagger""" # noqa: E501
65
67
  self._abilities = None
66
68
  self._completion_token_price = None
@@ -69,6 +71,7 @@ class V1ManagedModel(object):
69
71
  self._id = None
70
72
  self._name = None
71
73
  self._prompt_token_price = None
74
+ self._status = None
72
75
  self.discriminator = None
73
76
  if abilities is not None:
74
77
  self.abilities = abilities
@@ -84,6 +87,8 @@ class V1ManagedModel(object):
84
87
  self.name = name
85
88
  if prompt_token_price is not None:
86
89
  self.prompt_token_price = prompt_token_price
90
+ if status is not None:
91
+ self.status = status
87
92
 
88
93
  @property
89
94
  def abilities(self) -> 'V1ManagedModelAbilities':
@@ -232,6 +237,27 @@ class V1ManagedModel(object):
232
237
 
233
238
  self._prompt_token_price = prompt_token_price
234
239
 
240
+ @property
241
+ def status(self) -> 'V1AssistantModelStatus':
242
+ """Gets the status of this V1ManagedModel. # noqa: E501
243
+
244
+
245
+ :return: The status of this V1ManagedModel. # noqa: E501
246
+ :rtype: V1AssistantModelStatus
247
+ """
248
+ return self._status
249
+
250
+ @status.setter
251
+ def status(self, status: 'V1AssistantModelStatus'):
252
+ """Sets the status of this V1ManagedModel.
253
+
254
+
255
+ :param status: The status of this V1ManagedModel. # noqa: E501
256
+ :type: V1AssistantModelStatus
257
+ """
258
+
259
+ self._status = status
260
+
235
261
  def to_dict(self) -> dict:
236
262
  """Returns the model properties as a dict"""
237
263
  result = {}
@@ -72,6 +72,7 @@ class V1RuleResource(object):
72
72
  DEPLOYMENT = "deployment"
73
73
  MODEL = "model"
74
74
  SLURMJOB = "slurmJob"
75
+ MULTIMACHINEJOB = "multiMachineJob"
75
76
  """
76
77
  Attributes:
77
78
  swagger_types (dict): The key is attribute name
@@ -40,6 +40,7 @@ class V1SecretType(object):
40
40
  UNSPECIFIED = "SECRET_TYPE_UNSPECIFIED"
41
41
  DOCKER_REGISTRY = "SECRET_TYPE_DOCKER_REGISTRY"
42
42
  GCP_CREDENTIALS = "SECRET_TYPE_GCP_CREDENTIALS"
43
+ SNOWFLAKE_CREDENTIALS = "SECRET_TYPE_SNOWFLAKE_CREDENTIALS"
43
44
  """
44
45
  Attributes:
45
46
  swagger_types (dict): The key is attribute name
@@ -51,7 +51,7 @@ class V1UserFeatures(object):
51
51
  'b2c_experience': 'bool',
52
52
  'cap_add': 'list[str]',
53
53
  'cap_drop': 'list[str]',
54
- 'capacity_reservation': 'bool',
54
+ 'capacity_reservation_byoc': 'bool',
55
55
  'capacity_reservation_dry_run': 'bool',
56
56
  'cluster_proxy': 'bool',
57
57
  'code_tab': 'bool',
@@ -136,7 +136,7 @@ class V1UserFeatures(object):
136
136
  'b2c_experience': 'b2cExperience',
137
137
  'cap_add': 'capAdd',
138
138
  'cap_drop': 'capDrop',
139
- 'capacity_reservation': 'capacityReservation',
139
+ 'capacity_reservation_byoc': 'capacityReservationByoc',
140
140
  'capacity_reservation_dry_run': 'capacityReservationDryRun',
141
141
  'cluster_proxy': 'clusterProxy',
142
142
  'code_tab': 'codeTab',
@@ -210,7 +210,7 @@ class V1UserFeatures(object):
210
210
  'writable_data_connections': 'writableDataConnections'
211
211
  }
212
212
 
213
- def __init__(self, advanced_deployment_autoscaling: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: '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, deployment_version_visibility: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, dynamic_workload_scheduling: '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, instant_capacity_reservation: 'bool' =None, jobs_init: 'bool' =None, jobs_v2: 'bool' =None, landing_studios: 'bool' =None, lightning_registry: '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, snapshotter_service: 'bool' =None, snowflake_connection: 'bool' =None, spot_v2: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, studio_version_visibility: 'bool' =None, teamspace_storage_tab: 'bool' =None, use_rclone_mounts_only: 'bool' =None, writable_data_connections: 'bool' =None): # noqa: E501
213
+ def __init__(self, advanced_deployment_autoscaling: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: '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_byoc: '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, deployment_version_visibility: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, dynamic_workload_scheduling: '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, instant_capacity_reservation: 'bool' =None, jobs_init: 'bool' =None, jobs_v2: 'bool' =None, landing_studios: 'bool' =None, lightning_registry: '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, snapshotter_service: 'bool' =None, snowflake_connection: 'bool' =None, spot_v2: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, studio_version_visibility: 'bool' =None, teamspace_storage_tab: 'bool' =None, use_rclone_mounts_only: 'bool' =None, writable_data_connections: 'bool' =None): # noqa: E501
214
214
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
215
215
  self._advanced_deployment_autoscaling = None
216
216
  self._affiliate_links = None
@@ -222,7 +222,7 @@ class V1UserFeatures(object):
222
222
  self._b2c_experience = None
223
223
  self._cap_add = None
224
224
  self._cap_drop = None
225
- self._capacity_reservation = None
225
+ self._capacity_reservation_byoc = None
226
226
  self._capacity_reservation_dry_run = None
227
227
  self._cluster_proxy = None
228
228
  self._code_tab = None
@@ -315,8 +315,8 @@ class V1UserFeatures(object):
315
315
  self.cap_add = cap_add
316
316
  if cap_drop is not None:
317
317
  self.cap_drop = cap_drop
318
- if capacity_reservation is not None:
319
- self.capacity_reservation = capacity_reservation
318
+ if capacity_reservation_byoc is not None:
319
+ self.capacity_reservation_byoc = capacity_reservation_byoc
320
320
  if capacity_reservation_dry_run is not None:
321
321
  self.capacity_reservation_dry_run = capacity_reservation_dry_run
322
322
  if cluster_proxy is not None:
@@ -671,25 +671,25 @@ class V1UserFeatures(object):
671
671
  self._cap_drop = cap_drop
672
672
 
673
673
  @property
674
- def capacity_reservation(self) -> 'bool':
675
- """Gets the capacity_reservation of this V1UserFeatures. # noqa: E501
674
+ def capacity_reservation_byoc(self) -> 'bool':
675
+ """Gets the capacity_reservation_byoc of this V1UserFeatures. # noqa: E501
676
676
 
677
677
 
678
- :return: The capacity_reservation of this V1UserFeatures. # noqa: E501
678
+ :return: The capacity_reservation_byoc of this V1UserFeatures. # noqa: E501
679
679
  :rtype: bool
680
680
  """
681
- return self._capacity_reservation
681
+ return self._capacity_reservation_byoc
682
682
 
683
- @capacity_reservation.setter
684
- def capacity_reservation(self, capacity_reservation: 'bool'):
685
- """Sets the capacity_reservation of this V1UserFeatures.
683
+ @capacity_reservation_byoc.setter
684
+ def capacity_reservation_byoc(self, capacity_reservation_byoc: 'bool'):
685
+ """Sets the capacity_reservation_byoc of this V1UserFeatures.
686
686
 
687
687
 
688
- :param capacity_reservation: The capacity_reservation of this V1UserFeatures. # noqa: E501
688
+ :param capacity_reservation_byoc: The capacity_reservation_byoc of this V1UserFeatures. # noqa: E501
689
689
  :type: bool
690
690
  """
691
691
 
692
- self._capacity_reservation = capacity_reservation
692
+ self._capacity_reservation_byoc = capacity_reservation_byoc
693
693
 
694
694
  @property
695
695
  def capacity_reservation_dry_run(self) -> 'bool':
@@ -293,18 +293,17 @@ def _resolve_valueerror_message(error: ValueError, owner: Owner, teamspace_name:
293
293
  organizations = _get_organizations_for_authed_user()
294
294
  message = (
295
295
  f"Teamspace {entire_ts_name} does not exist. "
296
- "Is it maybe an organizational Teamspace? You are a member of the following organizations: "
297
- f"{[o.name for o in organizations]}. Maybe specify one of these instead "
298
- "of your user if the Teamspace belongs to the organization."
296
+ f"Is {teamspace_name} an organizational Teamspace? You are a member of the following organizations: "
297
+ f"{[o.name for o in organizations]}. Try specifying the `org` parameter instead "
298
+ "of `user` if the Teamspace belongs to the organization."
299
299
  )
300
300
  else:
301
301
  # organization teamspace owner
302
302
  user = User()
303
303
  message = (
304
304
  f"Teamspace {entire_ts_name} does not exist. "
305
- f"Is it maybe a user Teamspace. You specified org={owner.name}, "
306
- "but maybe the Teamspace is part of your user? "
307
- f"Consider specifying user={user.name} instead of your org."
305
+ f"Is {teamspace_name} a user Teamspace? "
306
+ f"Consider specifying user={user.name} instead of org={owner.name}."
308
307
  )
309
308
 
310
309
  return ValueError(message, *error.args[1:])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lightning_sdk
3
- Version: 0.1.40
3
+ Version: 0.1.41
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,5 +1,5 @@
1
1
  docs/source/conf.py,sha256=r8yX20eC-4mHhMTd0SbQb5TlSWHhO6wnJ0VJ_FBFpag,13249
2
- lightning_sdk/__init__.py,sha256=T9REFDIgpEwWO_L53w4tXC6WCIYuo3iEZa40ZsBMo7k,925
2
+ lightning_sdk/__init__.py,sha256=kZV-7GsoG1m1X8jgFx1-3YckfRna5g-B7B1vG-h6T1I,925
3
3
  lightning_sdk/agents.py,sha256=ly6Ma1j0ZgGPFyvPvMN28JWiB9dATIstFa5XM8pMi6I,1577
4
4
  lightning_sdk/ai_hub.py,sha256=V651b07qzxZmU6vKOs_GLkYZ_g1FY0iz-GlacPBCgPk,6526
5
5
  lightning_sdk/constants.py,sha256=ztl1PTUBULnqTf3DyKUSJaV_O20hNtUYT6XvAYIrmIk,749
@@ -11,7 +11,7 @@ lightning_sdk/owner.py,sha256=t5svD2it4C9pbSpVuG9WJL46CYi37JXNziwnXxhiU5U,1361
11
11
  lightning_sdk/plugin.py,sha256=2OgP8YtcLo2K1T0pypLGj3dkIaytTw6N11CHHQmRupY,13591
12
12
  lightning_sdk/status.py,sha256=kLDhN4-zdsGuZM577JMl1BbUIoF61bUOadW89ZAATFA,219
13
13
  lightning_sdk/studio.py,sha256=wvZrk07ZuG6Bf6c4XK8gMBumyiz_90JUScczdiWq1rU,16763
14
- lightning_sdk/teamspace.py,sha256=c46uyA0TJuiqeY8sCDQPDJK2KFDH8C7UQ3uFoY6k9XY,11127
14
+ lightning_sdk/teamspace.py,sha256=SY5BGZhQVG_Lp9-wc7yCvYznv_7VS4xio10zLsWs2Rg,11060
15
15
  lightning_sdk/user.py,sha256=vdn8pZqkAZO0-LoRsBdg0TckRKtd_H3QF4gpiZcl4iY,1130
16
16
  lightning_sdk/_mmt/__init__.py,sha256=rOzSMWgpNGUmJNj_BYbOrwYKA2BrafCR6fVxfcx1KTE,58
17
17
  lightning_sdk/_mmt/base.py,sha256=doPGpOPD2igRryXYr_MlON4wvt7Dj8nihnNxQ-qpP3o,6029
@@ -23,12 +23,12 @@ lightning_sdk/api/agents_api.py,sha256=G47TbFo9kYqnBMqdw2RW-lfS1VAUBSXDmzs6fpIEM
23
23
  lightning_sdk/api/ai_hub_api.py,sha256=_7BFcKYS7uYgCi5Q0Yzfz0mcm5LxezeZvgcDVRvsO9M,5571
24
24
  lightning_sdk/api/deployment_api.py,sha256=LJGbpDPM2ZgP71Ja8rCTwsj2m9gruT91jLQ62a1emRc,21427
25
25
  lightning_sdk/api/job_api.py,sha256=jDbnsnIjClE2zQpi-VpzzaRihrkd5jFcks6GcLqIfWA,8840
26
- lightning_sdk/api/mmt_api.py,sha256=3FOOzZcasY5_w9q5kvGciRgzA2T_5L2djDKPzjzC2lA,5332
26
+ lightning_sdk/api/mmt_api.py,sha256=_qJXdFbzWOYnJtjTgDiyEgBm4tsfd3QwKqx8I3E-0hU,5364
27
27
  lightning_sdk/api/org_api.py,sha256=Ze3z_ATVrukobujV5YdC42DKj45Vuwl7X52q_Vr-o3U,803
28
28
  lightning_sdk/api/studio_api.py,sha256=ypgTAUJhwfdsEOJHfog4JsgZiLp9ZQA0KggSjLiI0ZA,26143
29
29
  lightning_sdk/api/teamspace_api.py,sha256=ZIIWMwIvFdfH4PgquikXIoFx98uieNBbhVJn1Ll0H8I,9999
30
30
  lightning_sdk/api/user_api.py,sha256=sL7RIjjtmZmvCZWx7BBZslhj1BeNh4Idn-RVcdmf7M0,2598
31
- lightning_sdk/api/utils.py,sha256=3NLuTRME76xKqcYC1hQGUfWzDnb8YsnIYdg4kxKQC_Q,21659
31
+ lightning_sdk/api/utils.py,sha256=GVFyTOo4PS0qAADGMlX7W76eo_AlMgS3E85BlZSYxB4,21695
32
32
  lightning_sdk/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  lightning_sdk/cli/ai_hub.py,sha256=XcvTgAhm0eX8a5daQyF94pJooNwnygN5WzDTo35iSN0,1613
34
34
  lightning_sdk/cli/download.py,sha256=nyQN3q1vZ0fg4_cfit8cKaokQ9VUd46l_TNcAQWkLwU,5996
@@ -54,7 +54,7 @@ lightning_sdk/lightning_cloud/login.py,sha256=NSC53eJ24g59dySI9zRDl_-antxiflKDkn
54
54
  lightning_sdk/lightning_cloud/rest_client.py,sha256=i4jbW36PrNT3YBEwSsIgKnlldHm8ftkwGWzlYhrz1Aw,6557
55
55
  lightning_sdk/lightning_cloud/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  lightning_sdk/lightning_cloud/cli/__main__.py,sha256=aHrigVV0qIp74MuYTdN6uO8a9Xp6E1aOwdR8w1fG-7c,688
57
- lightning_sdk/lightning_cloud/openapi/__init__.py,sha256=3bEjagPxH0kZr0u5Dl27wTfnp4sufMHemKQHzm_zD4o,83951
57
+ lightning_sdk/lightning_cloud/openapi/__init__.py,sha256=hkkb53sQOUHYyMHieLcwMCqICinfD0iNco3oyIFI30w,84027
58
58
  lightning_sdk/lightning_cloud/openapi/api_client.py,sha256=pUTQMNcZmH4BhpnuAXuT7wnegaxaX26bzdEWjdoLeTo,25630
59
59
  lightning_sdk/lightning_cloud/openapi/configuration.py,sha256=H4PTkRz1QAonxKHbx3LG-gDEtdQPAxMO-bVfMfbUfJg,8306
60
60
  lightning_sdk/lightning_cloud/openapi/rest.py,sha256=ZPPr6ZkBp6LtuAsiUU7D8Pz8Dt9ECbEM_26Ov74tdpw,13322
@@ -83,14 +83,14 @@ lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py,sha256=8x
83
83
  lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py,sha256=hM2vTawBBuOYZrxN1SjZ6mU5ldvB_jUXRcLb0as0F4M,28286
84
84
  lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py,sha256=a0x8UcufASV-CZzmIu-37iJiwhTlzalB07uctELD48Q,85065
85
85
  lightning_sdk/lightning_cloud/openapi/api/quest_service_api.py,sha256=IQppAcHoy8J99xdnZVDfyr-yzmFIkolMN3caF-wm7D0,16318
86
- lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py,sha256=HGdOuGUR4-m41Z82o1tQTIzPoGs009dPrlUiB0g_dBQ,41180
86
+ lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py,sha256=-oTJJ_XbfGAKle82anvK2XKSYE9OxRedCmUfJFjB9O0,41339
87
87
  lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py,sha256=UptEcOYxTbX48zm2PLcYP7f04fvn2yi5h-2k7L2LEP8,36562
88
88
  lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py,sha256=s_6WUU0BQz2qvbeRu27bTia2WRXfrM_tDXH-IXQB2PY,28956
89
89
  lightning_sdk/lightning_cloud/openapi/api/ssh_public_key_service_api.py,sha256=z-CQmVfinxsv8KDfghVokdL8kbeu95EAtX2kBA0apS8,24595
90
90
  lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py,sha256=4SCpucxSLULv26jHjFJWoLXM7bySp2YeJnQayXZLWDU,47660
91
91
  lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py,sha256=VJ7VcSvdmGbPkgmQZhaOSR47olcNPMzRlmT5J5uKsng,27877
92
92
  lightning_sdk/lightning_cloud/openapi/api/user_service_api.py,sha256=wjdWKwf3zPIyaV7RpwB6QSqDHFX_sMh4ZD2DpfSujV8,66572
93
- lightning_sdk/lightning_cloud/openapi/models/__init__.py,sha256=ND6y8XyeYfy7ZPfueyD7rWR0q7VuiupXEGVqSxeVSUA,79094
93
+ lightning_sdk/lightning_cloud/openapi/models/__init__.py,sha256=jb6VFDpR0vD1bjc2NEf93kwS2uAH-NRMDvbkfUSc5cg,79170
94
94
  lightning_sdk/lightning_cloud/openapi/models/affiliatelinks_id_body.py,sha256=X087AkCafKp2g8E2MR5ghU3pxCNNcoehZJttvuVfdC8,4274
95
95
  lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py,sha256=NzKKkTs2PtMSIJJYxeh3aDBj-djBrI_qATGz7n5Oqdk,9234
96
96
  lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py,sha256=iQsLbzMMvWhWMShSCA-pTIqZvfjJkUyb_mVnvVqgcXg,19633
@@ -119,7 +119,7 @@ lightning_sdk/lightning_cloud/openapi/models/command_argument_command_argument_t
119
119
  lightning_sdk/lightning_cloud/openapi/models/conversations_id_body.py,sha256=blW66WBRE-qMCkzLCOrx4EqmM1vI42O3MvP9rIlx_tE,3651
120
120
  lightning_sdk/lightning_cloud/openapi/models/create.py,sha256=rl-7mh9JvLjmw_Hgm739ZHq8pqXroird2sUUw5np-9c,13497
121
121
  lightning_sdk/lightning_cloud/openapi/models/create_checkout_session_request_wallet_type.py,sha256=6mUpEXvoZxyrnOvfT9PfF34E3OGvRMzMfLFndUe-jKU,3217
122
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py,sha256=dlo-eAvwf4OwqGaHZqxdDL2qmoJtHmIrMgFQItDfD24,13263
122
+ lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py,sha256=1ET9_dSRif7KwIL73DpKfq814RuvogRT9fIqq4bgCvg,14212
123
123
  lightning_sdk/lightning_cloud/openapi/models/data_connection_mount_data_connection_mount_copy_status.py,sha256=ytC9VwBzQMvpOSZJ78uekfrMmwGRaTOclX5XC3a-dMs,3343
124
124
  lightning_sdk/lightning_cloud/openapi/models/datasets_id_body.py,sha256=OcNzTWEbLGF36eY-yImNCmTwY4ZMX2P8yPuHAvc6KSk,5533
125
125
  lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py,sha256=mEe9T0HtHANAqoqJNb37zW-RcKBnB1NATVc3BVdmNOw,15964
@@ -399,13 +399,13 @@ lightning_sdk/lightning_cloud/openapi/models/v1_delete_user_slurm_job_response.p
399
399
  lightning_sdk/lightning_cloud/openapi/models/v1_dependency_cache_state.py,sha256=VL2MY_XvHWAd8toG-myqZlhuoEwjAIX1cemNSXxqk-k,3210
400
400
  lightning_sdk/lightning_cloud/openapi/models/v1_dependency_file_info.py,sha256=Fyh7eRcxFJ8Y4LHA3uJe_D5F9RhOxT4ChllHph_ryfQ,4571
401
401
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py,sha256=zhvxgF9wil4GmHU0ySG_PRlwrXrEJnLZP31bAWFOOzA,16875
402
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py,sha256=suNeEKzgCBWHmESl-gcoq27xcsGO0Pah5PLyC--Wfp0,5756
402
+ lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py,sha256=F4VmxQKXAYrRDlHMbDr7Ucj5eUCJ5QC2BXtO2orxIDA,6495
403
403
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py,sha256=XDpq8DM8sN2UKCIlBWGEk-vzjGQGNoc0KjyRcCzDqZ4,9994
404
404
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event_type.py,sha256=uuogrGRymVVSz-OcYoJ7eZyFj3POXY22EAQJkXpTVm4,3197
405
405
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_metrics.py,sha256=WSs5FnpcLQvfsinsn4l5ZCmhX58CjMJUi8d6itB5DBk,4556
406
406
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_performance.py,sha256=N-v8pFBVvJIAt0opbygd33R014Xeef3hoO4-ksT2yn4,10336
407
407
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_release.py,sha256=7sFF4w_XHV-bYPUGNRaADx2JInR8gxzPCmJ45NBRVfU,9430
408
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py,sha256=rraXjCLKPV8MrhVYPNFMf7_A-KrzlaWnDmXEQiULV-k,5197
408
+ lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py,sha256=v1p0ryc6KgwRwXSJYjFLe4jzczpOMSiMws3JLjEoxGY,5922
409
409
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py,sha256=sJAFZffnaz-NPH9hy86z3XH3_EY0-bZzh0ojWPMSAfY,3203
410
410
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py,sha256=7D9Ux2N5LWmNXxrynoXPThExLD8FAVOzIVtIKLqYQfo,8939
411
411
  lightning_sdk/lightning_cloud/openapi/models/v1_deployment_strategy.py,sha256=aewPM7IDeAEEx2HoMySQ2hcIrme2X6UvEENih_kzjl0,4593
@@ -494,6 +494,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py,sha
494
494
  lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py,sha256=HVUNjM1zdc1ukUgAFHkmfQhmjwireAQ_3MzFeoFuj1w,13054
495
495
  lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1_status.py,sha256=Md6rMiUCMY4oDVE2IYaALD_I0o2PQIKF-9628IGmTyY,3791
496
496
  lightning_sdk/lightning_cloud/openapi/models/v1_gpu_system_metrics.py,sha256=io_MkTCTYi6qmYw8KqFZf2zHx8jgBsPKsEwqjr2BG0U,7722
497
+ lightning_sdk/lightning_cloud/openapi/models/v1_header.py,sha256=6GR8AL-UcMa3mH-PLtd7WWDZiG0Zi3AYKFw19AAasZc,4831
497
498
  lightning_sdk/lightning_cloud/openapi/models/v1_health_check_exec.py,sha256=CGhU0XZD-Pbog5aH0rxGzCDwaIvBchRhQPlRTgz8udg,3671
498
499
  lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py,sha256=my_fw01KfQ-Bv7ntekGJ8ts733j8vXbB7_fPTReW4s0,4274
499
500
  lightning_sdk/lightning_cloud/openapi/models/v1_ids_logger_metrics.py,sha256=_IJcdwzA56e9OOwuwQw3FboaOZbQMmghP-xGbopgQTw,3916
@@ -512,7 +513,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py,sha25
512
513
  lightning_sdk/lightning_cloud/openapi/models/v1_job_log_entry.py,sha256=Bhjx6rx3cJy6tarZ1zLXycZwmpZInMROecDo5ODsakg,4971
513
514
  lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_page.py,sha256=uPeDC0SKPuojeSAgV-6Ei43A_nXkgxvQG1qSxd8w8To,6309
514
515
  lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_response.py,sha256=9Ae7cFQTJHhI1XBsnHqNGQLFXEMeAJEw7T53jY4BMZg,4467
515
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py,sha256=4DgXLTe8YkAxE6fhJRAKbeS7kz_pC6MyFo2VWM8Y21U,19031
516
+ lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py,sha256=MwfESuUgK4fkPrsDqFHO67wFhOQc4P0pIKnJG0ehaNM,19716
516
517
  lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py,sha256=qnnGfuKbAU_IEWYZFPaBGTX2DFAvBvgoXllQk7yhMFk,5462
517
518
  lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py,sha256=IkuGZ89NWOMpe8JsxXJvkRKdcDUvV4F3akA_USvl5rs,9586
518
519
  lightning_sdk/lightning_cloud/openapi/models/v1_keep_alive_cloud_space_instance_response.py,sha256=NRrP0aqQbpd8ejQUApJ2L1vUoSx1UhNOlSh4JeQ2_es,3112
@@ -631,7 +632,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_machines_selector.py,sha256=Yi6O
631
632
  lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py,sha256=WGUPDVGkvMnbXynzdVIBqo6uOybi187tneHEOe1hb9U,7970
632
633
  lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py,sha256=YsthtL9OfhfZNmKTIN3eoMrqq-kPjvqLC0Lwm6w2HpQ,3807
633
634
  lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py,sha256=T0IXmXRI5paAN6NxpQQ8873lgTT7bIHYZZmeJEmW4yA,10175
634
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py,sha256=mNYJjcd8uKnFtM-EAWGczjZVTWLmBiq8jdWOdSGrJYk,8354
635
+ lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py,sha256=97KxjHxTsaLWYlTNQeE2yGhF7KbTbmqLb8c39BEy02s,9117
635
636
  lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py,sha256=1of-AEIimGnUd_0fpS5U8apGFYdsIXogRpFGxed67s0,5892
636
637
  lightning_sdk/lightning_cloud/openapi/models/v1_membership.py,sha256=avU-MIUu2qy7tyjfVWmuPfrGOvZXK9GuirIKR1eu-CY,16140
637
638
  lightning_sdk/lightning_cloud/openapi/models/v1_message.py,sha256=6E1FDyfNM8fMkJi6FZ4U9UBk4k5VhfmCYOHGkc5CyzA,10189
@@ -719,13 +720,13 @@ lightning_sdk/lightning_cloud/openapi/models/v1_rule.py,sha256=35UHmQVEVAiE2kF9q
719
720
  lightning_sdk/lightning_cloud/openapi/models/v1_rule_action.py,sha256=yebZDL5MKUiNwPysT6HzB9JrHPSCg3W4kVta8yjAgl4,3221
720
721
  lightning_sdk/lightning_cloud/openapi/models/v1_rule_condition.py,sha256=nE-VbhbyaLswY514acnjljeJRxnVICCTKWVe4cKFQ8w,5320
721
722
  lightning_sdk/lightning_cloud/openapi/models/v1_rule_effect.py,sha256=WqpSW3YL7UPkIXJDIusIk-PfUn6Vo3Jqv3CNFhJ_C48,3085
722
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py,sha256=nmNFkvhTbUbAZ2lZd0WoYanwcRHn4LZIm6f8n6c05HQ,4205
723
+ lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py,sha256=cPI5MM9Rg1eAXlHkhys9zFCcMeU2biKFozl0BvLA1Nc,4245
723
724
  lightning_sdk/lightning_cloud/openapi/models/v1_s3_folder_data_connection.py,sha256=VmokLg1mjerYS4aRU0dAtGel3wT-VwGDyMw6E1Ut2rY,3721
724
725
  lightning_sdk/lightning_cloud/openapi/models/v1_search_job_logs_response.py,sha256=SIoZOP_UDvybzADuo8rCRcAtie7-GIbw-TyKJ00XKWQ,4591
725
726
  lightning_sdk/lightning_cloud/openapi/models/v1_search_user.py,sha256=L2omKao6RHEWdKmLyTWHkJJB-PrichTJ8SqSJE68MAM,11623
726
727
  lightning_sdk/lightning_cloud/openapi/models/v1_search_users_response.py,sha256=55lMWBQYE0ED28pZLVaiZbkW3NrVjLfPnW_UR-fQDRE,6355
727
728
  lightning_sdk/lightning_cloud/openapi/models/v1_secret.py,sha256=RCaNHLqhe7fkXFIPn4GS6fcZGVz5PeccoN2NlYbCcgk,8849
728
- lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py,sha256=A_4k31pBivKFFEoWsFF3eLpBuSh49uHdV7ljmv55mx4,3151
729
+ lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py,sha256=Iktq3g39511VdsIb6-K3VClAjTkVlh54hubAcH38JCc,3215
729
730
  lightning_sdk/lightning_cloud/openapi/models/v1_select.py,sha256=DOIP1LsjRpnheeYlYYsyc-rvCOp3Axekviz6jsOY2II,4222
730
731
  lightning_sdk/lightning_cloud/openapi/models/v1_server_check_in_response.py,sha256=EtdIVtxP_H89tKh6WNdwx0TQenVvwQXHpxGulhyJSZY,3028
731
732
  lightning_sdk/lightning_cloud/openapi/models/v1_service_artifact.py,sha256=Zdn3PqOU0A_MFXuJhKbFwAVTxA4AFTRde0KOE4VnSGA,5598
@@ -795,7 +796,7 @@ lightning_sdk/lightning_cloud/openapi/models/v1_upstream_open_ai.py,sha256=jt1qQ
795
796
  lightning_sdk/lightning_cloud/openapi/models/v1_usage.py,sha256=RhhnH9ygScZyExg06WhvMNPPRLSe8FYkIftqF-D9NIU,13408
796
797
  lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py,sha256=U7qC698Xj5tb3D93ZskG6sDf3lTXE13UTlGeDTvtRU4,14062
797
798
  lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py,sha256=iH67BcONBSLYzcZpGpKWSOzJTCpuqYt7FU4OUs8BJ9k,6076
798
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py,sha256=xXU9P97iKGXsM9x2midPauZiSbPQb133on8uvpAL23k,75713
799
+ lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py,sha256=ghblGjlsWPjrMU1HZ1MCFJOJx6Alzqkhyveb7O3EIXQ,75812
799
800
  lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py,sha256=3jeJfpbBpYY2B2Ao2j2N93CMO2CnvmPqndE4Lw3ZfMA,13056
800
801
  lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py,sha256=3WpZ-lf7xPwuYyQDMdP7Uc6-dh3vf5TaaUlcMfesfMk,5208
801
802
  lightning_sdk/lightning_cloud/openapi/models/v1_user_slurm_job_action_response.py,sha256=BdNzXH8Vsf5PHjl9Rd-TVkpAgx1YC9rf8LD0js-ba20,3058
@@ -833,9 +834,9 @@ lightning_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
833
834
  lightning_sdk/utils/dynamic.py,sha256=glUTO1JC9APtQ6Gr9SO02a3zr56-sPAXM5C3NrTpgyQ,1959
834
835
  lightning_sdk/utils/enum.py,sha256=h2JRzqoBcSlUdanFHmkj_j5DleBHAu1esQYUsdNI-hU,4106
835
836
  lightning_sdk/utils/resolve.py,sha256=gU3MSko9Y7rE4jcnVwstNBaW83OFnSgvM-N44Ibrc_A,5148
836
- lightning_sdk-0.1.40.dist-info/LICENSE,sha256=uFIuZwj5z-4TeF2UuacPZ1o17HkvKObT8fY50qN84sg,1064
837
- lightning_sdk-0.1.40.dist-info/METADATA,sha256=t-xX88olI60j7WTuMuugrggwr6qbeaIU5-eZ6QgCKIM,3920
838
- lightning_sdk-0.1.40.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
839
- lightning_sdk-0.1.40.dist-info/entry_points.txt,sha256=ye4ni8VbtyMXt6e0f5xIL6Liucg4Wrl02DEfLjiMte0,106
840
- lightning_sdk-0.1.40.dist-info/top_level.txt,sha256=ps8doKILFXmN7F1mHncShmnQoTxKBRPIcchC8TpoBw4,19
841
- lightning_sdk-0.1.40.dist-info/RECORD,,
837
+ lightning_sdk-0.1.41.dist-info/LICENSE,sha256=uFIuZwj5z-4TeF2UuacPZ1o17HkvKObT8fY50qN84sg,1064
838
+ lightning_sdk-0.1.41.dist-info/METADATA,sha256=TCh-fxl243X8vh1N7ZfoMZoTsDT9J73I8xiNDdmGWwM,3920
839
+ lightning_sdk-0.1.41.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
840
+ lightning_sdk-0.1.41.dist-info/entry_points.txt,sha256=ye4ni8VbtyMXt6e0f5xIL6Liucg4Wrl02DEfLjiMte0,106
841
+ lightning_sdk-0.1.41.dist-info/top_level.txt,sha256=ps8doKILFXmN7F1mHncShmnQoTxKBRPIcchC8TpoBw4,19
842
+ lightning_sdk-0.1.41.dist-info/RECORD,,