lightning-sdk 2025.8.6rc0__py3-none-any.whl → 2025.8.6rc2__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 (61) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/llm_api.py +48 -0
  3. lightning_sdk/lightning_cloud/login.py +1 -0
  4. lightning_sdk/lightning_cloud/openapi/__init__.py +15 -23
  5. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  6. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +5 -1
  7. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +228 -1
  8. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +126 -2129
  9. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +625 -0
  10. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +5 -1
  11. lightning_sdk/lightning_cloud/openapi/models/__init__.py +14 -23
  12. lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +175 -0
  13. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +53 -1
  14. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +53 -1
  15. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +201 -0
  17. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +29 -3
  18. lightning_sdk/lightning_cloud/openapi/models/{v1_complete_upload_service_execution_artifact_response.py → v1_complete_running_cloud_space_instance_transfer_response.py} +6 -6
  19. lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
  20. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
  21. lightning_sdk/lightning_cloud/openapi/models/{v1_list_file_endpoints_response.py → v1_list_container_metrics_response.py} +23 -23
  22. lightning_sdk/lightning_cloud/openapi/models/{service_artifact_artifact_kind.py → v1_list_node_file_system_metrics_response.py} +6 -13
  23. lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_parts_response.py → v1_list_node_metrics_response.py} +23 -23
  24. lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
  25. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +79 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +357 -0
  27. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +435 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +53 -1
  30. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_service_execution_response.py → v1_report_k8s_cluster_metrics_response.py} +6 -6
  31. lightning_sdk/lightning_cloud/openapi/models/{command_argument_command_argument_type.py → v1_request_cloud_space_access_response.py} +6 -12
  32. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +331 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -53
  34. lightning_sdk/lightning_cloud/utils/data_connection.py +56 -1
  35. lightning_sdk/llm/llm.py +5 -15
  36. lightning_sdk/llm/public_assistants.py +17 -0
  37. lightning_sdk/services/file_endpoint.py +3 -4
  38. {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/METADATA +1 -1
  39. {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/RECORD +43 -51
  40. lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +0 -409
  41. lightning_sdk/lightning_cloud/openapi/models/id_complete_body.py +0 -175
  42. lightning_sdk/lightning_cloud/openapi/models/id_storage_body.py +0 -175
  43. lightning_sdk/lightning_cloud/openapi/models/id_uploads_body1.py +0 -175
  44. lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +0 -357
  45. lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +0 -175
  46. lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +0 -331
  47. lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +0 -305
  48. lightning_sdk/lightning_cloud/openapi/models/v1_delete_file_endpoint_response.py +0 -149
  49. lightning_sdk/lightning_cloud/openapi/models/v1_download_service_execution_artifact_response.py +0 -175
  50. lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +0 -461
  51. lightning_sdk/lightning_cloud/openapi/models/v1_get_service_execution_status_response.py +0 -175
  52. lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +0 -175
  53. lightning_sdk/lightning_cloud/openapi/models/v1_list_service_executions_response.py +0 -123
  54. lightning_sdk/lightning_cloud/openapi/models/v1_service_artifact.py +0 -201
  55. lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +0 -383
  56. lightning_sdk/lightning_cloud/openapi/models/v1_upload_service_execution_artifact_response.py +0 -149
  57. lightning_sdk/llm/public_assistants.json +0 -34
  58. {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/LICENSE +0 -0
  59. {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/WHEEL +0 -0
  60. {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/entry_points.txt +0 -0
  61. {lightning_sdk-2025.8.6rc0.dist-info → lightning_sdk-2025.8.6rc2.dist-info}/top_level.txt +0 -0
@@ -1,383 +0,0 @@
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 V1ServiceExecution(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
- 'arguments': 'list[V1CommandArgument]',
45
- 'artifacts': 'list[V1ServiceArtifact]',
46
- 'cloudspace_id': 'str',
47
- 'cluster_id': 'str',
48
- 'file_endpoint_cluster_id': 'str',
49
- 'file_endpoint_id': 'str',
50
- 'file_endpoint_project_id': 'str',
51
- 'id': 'str',
52
- 'pipeline_id': 'str',
53
- 'project_id': 'str',
54
- 'user_id': 'str'
55
- }
56
-
57
- attribute_map = {
58
- 'arguments': 'arguments',
59
- 'artifacts': 'artifacts',
60
- 'cloudspace_id': 'cloudspaceId',
61
- 'cluster_id': 'clusterId',
62
- 'file_endpoint_cluster_id': 'fileEndpointClusterId',
63
- 'file_endpoint_id': 'fileEndpointId',
64
- 'file_endpoint_project_id': 'fileEndpointProjectId',
65
- 'id': 'id',
66
- 'pipeline_id': 'pipelineId',
67
- 'project_id': 'projectId',
68
- 'user_id': 'userId'
69
- }
70
-
71
- def __init__(self, arguments: 'list[V1CommandArgument]' =None, artifacts: 'list[V1ServiceArtifact]' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, file_endpoint_cluster_id: 'str' =None, file_endpoint_id: 'str' =None, file_endpoint_project_id: 'str' =None, id: 'str' =None, pipeline_id: 'str' =None, project_id: 'str' =None, user_id: 'str' =None): # noqa: E501
72
- """V1ServiceExecution - a model defined in Swagger""" # noqa: E501
73
- self._arguments = None
74
- self._artifacts = None
75
- self._cloudspace_id = None
76
- self._cluster_id = None
77
- self._file_endpoint_cluster_id = None
78
- self._file_endpoint_id = None
79
- self._file_endpoint_project_id = None
80
- self._id = None
81
- self._pipeline_id = None
82
- self._project_id = None
83
- self._user_id = None
84
- self.discriminator = None
85
- if arguments is not None:
86
- self.arguments = arguments
87
- if artifacts is not None:
88
- self.artifacts = artifacts
89
- if cloudspace_id is not None:
90
- self.cloudspace_id = cloudspace_id
91
- if cluster_id is not None:
92
- self.cluster_id = cluster_id
93
- if file_endpoint_cluster_id is not None:
94
- self.file_endpoint_cluster_id = file_endpoint_cluster_id
95
- if file_endpoint_id is not None:
96
- self.file_endpoint_id = file_endpoint_id
97
- if file_endpoint_project_id is not None:
98
- self.file_endpoint_project_id = file_endpoint_project_id
99
- if id is not None:
100
- self.id = id
101
- if pipeline_id is not None:
102
- self.pipeline_id = pipeline_id
103
- if project_id is not None:
104
- self.project_id = project_id
105
- if user_id is not None:
106
- self.user_id = user_id
107
-
108
- @property
109
- def arguments(self) -> 'list[V1CommandArgument]':
110
- """Gets the arguments of this V1ServiceExecution. # noqa: E501
111
-
112
-
113
- :return: The arguments of this V1ServiceExecution. # noqa: E501
114
- :rtype: list[V1CommandArgument]
115
- """
116
- return self._arguments
117
-
118
- @arguments.setter
119
- def arguments(self, arguments: 'list[V1CommandArgument]'):
120
- """Sets the arguments of this V1ServiceExecution.
121
-
122
-
123
- :param arguments: The arguments of this V1ServiceExecution. # noqa: E501
124
- :type: list[V1CommandArgument]
125
- """
126
-
127
- self._arguments = arguments
128
-
129
- @property
130
- def artifacts(self) -> 'list[V1ServiceArtifact]':
131
- """Gets the artifacts of this V1ServiceExecution. # noqa: E501
132
-
133
-
134
- :return: The artifacts of this V1ServiceExecution. # noqa: E501
135
- :rtype: list[V1ServiceArtifact]
136
- """
137
- return self._artifacts
138
-
139
- @artifacts.setter
140
- def artifacts(self, artifacts: 'list[V1ServiceArtifact]'):
141
- """Sets the artifacts of this V1ServiceExecution.
142
-
143
-
144
- :param artifacts: The artifacts of this V1ServiceExecution. # noqa: E501
145
- :type: list[V1ServiceArtifact]
146
- """
147
-
148
- self._artifacts = artifacts
149
-
150
- @property
151
- def cloudspace_id(self) -> 'str':
152
- """Gets the cloudspace_id of this V1ServiceExecution. # noqa: E501
153
-
154
-
155
- :return: The cloudspace_id of this V1ServiceExecution. # noqa: E501
156
- :rtype: str
157
- """
158
- return self._cloudspace_id
159
-
160
- @cloudspace_id.setter
161
- def cloudspace_id(self, cloudspace_id: 'str'):
162
- """Sets the cloudspace_id of this V1ServiceExecution.
163
-
164
-
165
- :param cloudspace_id: The cloudspace_id of this V1ServiceExecution. # noqa: E501
166
- :type: str
167
- """
168
-
169
- self._cloudspace_id = cloudspace_id
170
-
171
- @property
172
- def cluster_id(self) -> 'str':
173
- """Gets the cluster_id of this V1ServiceExecution. # noqa: E501
174
-
175
-
176
- :return: The cluster_id of this V1ServiceExecution. # noqa: E501
177
- :rtype: str
178
- """
179
- return self._cluster_id
180
-
181
- @cluster_id.setter
182
- def cluster_id(self, cluster_id: 'str'):
183
- """Sets the cluster_id of this V1ServiceExecution.
184
-
185
-
186
- :param cluster_id: The cluster_id of this V1ServiceExecution. # noqa: E501
187
- :type: str
188
- """
189
-
190
- self._cluster_id = cluster_id
191
-
192
- @property
193
- def file_endpoint_cluster_id(self) -> 'str':
194
- """Gets the file_endpoint_cluster_id of this V1ServiceExecution. # noqa: E501
195
-
196
-
197
- :return: The file_endpoint_cluster_id of this V1ServiceExecution. # noqa: E501
198
- :rtype: str
199
- """
200
- return self._file_endpoint_cluster_id
201
-
202
- @file_endpoint_cluster_id.setter
203
- def file_endpoint_cluster_id(self, file_endpoint_cluster_id: 'str'):
204
- """Sets the file_endpoint_cluster_id of this V1ServiceExecution.
205
-
206
-
207
- :param file_endpoint_cluster_id: The file_endpoint_cluster_id of this V1ServiceExecution. # noqa: E501
208
- :type: str
209
- """
210
-
211
- self._file_endpoint_cluster_id = file_endpoint_cluster_id
212
-
213
- @property
214
- def file_endpoint_id(self) -> 'str':
215
- """Gets the file_endpoint_id of this V1ServiceExecution. # noqa: E501
216
-
217
-
218
- :return: The file_endpoint_id of this V1ServiceExecution. # noqa: E501
219
- :rtype: str
220
- """
221
- return self._file_endpoint_id
222
-
223
- @file_endpoint_id.setter
224
- def file_endpoint_id(self, file_endpoint_id: 'str'):
225
- """Sets the file_endpoint_id of this V1ServiceExecution.
226
-
227
-
228
- :param file_endpoint_id: The file_endpoint_id of this V1ServiceExecution. # noqa: E501
229
- :type: str
230
- """
231
-
232
- self._file_endpoint_id = file_endpoint_id
233
-
234
- @property
235
- def file_endpoint_project_id(self) -> 'str':
236
- """Gets the file_endpoint_project_id of this V1ServiceExecution. # noqa: E501
237
-
238
-
239
- :return: The file_endpoint_project_id of this V1ServiceExecution. # noqa: E501
240
- :rtype: str
241
- """
242
- return self._file_endpoint_project_id
243
-
244
- @file_endpoint_project_id.setter
245
- def file_endpoint_project_id(self, file_endpoint_project_id: 'str'):
246
- """Sets the file_endpoint_project_id of this V1ServiceExecution.
247
-
248
-
249
- :param file_endpoint_project_id: The file_endpoint_project_id of this V1ServiceExecution. # noqa: E501
250
- :type: str
251
- """
252
-
253
- self._file_endpoint_project_id = file_endpoint_project_id
254
-
255
- @property
256
- def id(self) -> 'str':
257
- """Gets the id of this V1ServiceExecution. # noqa: E501
258
-
259
-
260
- :return: The id of this V1ServiceExecution. # noqa: E501
261
- :rtype: str
262
- """
263
- return self._id
264
-
265
- @id.setter
266
- def id(self, id: 'str'):
267
- """Sets the id of this V1ServiceExecution.
268
-
269
-
270
- :param id: The id of this V1ServiceExecution. # noqa: E501
271
- :type: str
272
- """
273
-
274
- self._id = id
275
-
276
- @property
277
- def pipeline_id(self) -> 'str':
278
- """Gets the pipeline_id of this V1ServiceExecution. # noqa: E501
279
-
280
-
281
- :return: The pipeline_id of this V1ServiceExecution. # noqa: E501
282
- :rtype: str
283
- """
284
- return self._pipeline_id
285
-
286
- @pipeline_id.setter
287
- def pipeline_id(self, pipeline_id: 'str'):
288
- """Sets the pipeline_id of this V1ServiceExecution.
289
-
290
-
291
- :param pipeline_id: The pipeline_id of this V1ServiceExecution. # noqa: E501
292
- :type: str
293
- """
294
-
295
- self._pipeline_id = pipeline_id
296
-
297
- @property
298
- def project_id(self) -> 'str':
299
- """Gets the project_id of this V1ServiceExecution. # noqa: E501
300
-
301
-
302
- :return: The project_id of this V1ServiceExecution. # noqa: E501
303
- :rtype: str
304
- """
305
- return self._project_id
306
-
307
- @project_id.setter
308
- def project_id(self, project_id: 'str'):
309
- """Sets the project_id of this V1ServiceExecution.
310
-
311
-
312
- :param project_id: The project_id of this V1ServiceExecution. # noqa: E501
313
- :type: str
314
- """
315
-
316
- self._project_id = project_id
317
-
318
- @property
319
- def user_id(self) -> 'str':
320
- """Gets the user_id of this V1ServiceExecution. # noqa: E501
321
-
322
-
323
- :return: The user_id of this V1ServiceExecution. # noqa: E501
324
- :rtype: str
325
- """
326
- return self._user_id
327
-
328
- @user_id.setter
329
- def user_id(self, user_id: 'str'):
330
- """Sets the user_id of this V1ServiceExecution.
331
-
332
-
333
- :param user_id: The user_id of this V1ServiceExecution. # noqa: E501
334
- :type: str
335
- """
336
-
337
- self._user_id = user_id
338
-
339
- def to_dict(self) -> dict:
340
- """Returns the model properties as a dict"""
341
- result = {}
342
-
343
- for attr, _ in six.iteritems(self.swagger_types):
344
- value = getattr(self, attr)
345
- if isinstance(value, list):
346
- result[attr] = list(map(
347
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
348
- value
349
- ))
350
- elif hasattr(value, "to_dict"):
351
- result[attr] = value.to_dict()
352
- elif isinstance(value, dict):
353
- result[attr] = dict(map(
354
- lambda item: (item[0], item[1].to_dict())
355
- if hasattr(item[1], "to_dict") else item,
356
- value.items()
357
- ))
358
- else:
359
- result[attr] = value
360
- if issubclass(V1ServiceExecution, dict):
361
- for key, value in self.items():
362
- result[key] = value
363
-
364
- return result
365
-
366
- def to_str(self) -> str:
367
- """Returns the string representation of the model"""
368
- return pprint.pformat(self.to_dict())
369
-
370
- def __repr__(self) -> str:
371
- """For `print` and `pprint`"""
372
- return self.to_str()
373
-
374
- def __eq__(self, other: 'V1ServiceExecution') -> bool:
375
- """Returns true if both objects are equal"""
376
- if not isinstance(other, V1ServiceExecution):
377
- return False
378
-
379
- return self.__dict__ == other.__dict__
380
-
381
- def __ne__(self, other: 'V1ServiceExecution') -> bool:
382
- """Returns true if both objects are not equal"""
383
- return not self == other
@@ -1,149 +0,0 @@
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 V1UploadServiceExecutionArtifactResponse(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
- 'upload_id': 'str',
45
- 'urls': 'list[V1PresignedUrl]'
46
- }
47
-
48
- attribute_map = {
49
- 'upload_id': 'uploadId',
50
- 'urls': 'urls'
51
- }
52
-
53
- def __init__(self, upload_id: 'str' =None, urls: 'list[V1PresignedUrl]' =None): # noqa: E501
54
- """V1UploadServiceExecutionArtifactResponse - a model defined in Swagger""" # noqa: E501
55
- self._upload_id = None
56
- self._urls = None
57
- self.discriminator = None
58
- if upload_id is not None:
59
- self.upload_id = upload_id
60
- if urls is not None:
61
- self.urls = urls
62
-
63
- @property
64
- def upload_id(self) -> 'str':
65
- """Gets the upload_id of this V1UploadServiceExecutionArtifactResponse. # noqa: E501
66
-
67
-
68
- :return: The upload_id of this V1UploadServiceExecutionArtifactResponse. # noqa: E501
69
- :rtype: str
70
- """
71
- return self._upload_id
72
-
73
- @upload_id.setter
74
- def upload_id(self, upload_id: 'str'):
75
- """Sets the upload_id of this V1UploadServiceExecutionArtifactResponse.
76
-
77
-
78
- :param upload_id: The upload_id of this V1UploadServiceExecutionArtifactResponse. # noqa: E501
79
- :type: str
80
- """
81
-
82
- self._upload_id = upload_id
83
-
84
- @property
85
- def urls(self) -> 'list[V1PresignedUrl]':
86
- """Gets the urls of this V1UploadServiceExecutionArtifactResponse. # noqa: E501
87
-
88
-
89
- :return: The urls of this V1UploadServiceExecutionArtifactResponse. # noqa: E501
90
- :rtype: list[V1PresignedUrl]
91
- """
92
- return self._urls
93
-
94
- @urls.setter
95
- def urls(self, urls: 'list[V1PresignedUrl]'):
96
- """Sets the urls of this V1UploadServiceExecutionArtifactResponse.
97
-
98
-
99
- :param urls: The urls of this V1UploadServiceExecutionArtifactResponse. # noqa: E501
100
- :type: list[V1PresignedUrl]
101
- """
102
-
103
- self._urls = urls
104
-
105
- def to_dict(self) -> dict:
106
- """Returns the model properties as a dict"""
107
- result = {}
108
-
109
- for attr, _ in six.iteritems(self.swagger_types):
110
- value = getattr(self, attr)
111
- if isinstance(value, list):
112
- result[attr] = list(map(
113
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
114
- value
115
- ))
116
- elif hasattr(value, "to_dict"):
117
- result[attr] = value.to_dict()
118
- elif isinstance(value, dict):
119
- result[attr] = dict(map(
120
- lambda item: (item[0], item[1].to_dict())
121
- if hasattr(item[1], "to_dict") else item,
122
- value.items()
123
- ))
124
- else:
125
- result[attr] = value
126
- if issubclass(V1UploadServiceExecutionArtifactResponse, dict):
127
- for key, value in self.items():
128
- result[key] = value
129
-
130
- return result
131
-
132
- def to_str(self) -> str:
133
- """Returns the string representation of the model"""
134
- return pprint.pformat(self.to_dict())
135
-
136
- def __repr__(self) -> str:
137
- """For `print` and `pprint`"""
138
- return self.to_str()
139
-
140
- def __eq__(self, other: 'V1UploadServiceExecutionArtifactResponse') -> bool:
141
- """Returns true if both objects are equal"""
142
- if not isinstance(other, V1UploadServiceExecutionArtifactResponse):
143
- return False
144
-
145
- return self.__dict__ == other.__dict__
146
-
147
- def __ne__(self, other: 'V1UploadServiceExecutionArtifactResponse') -> bool:
148
- """Returns true if both objects are not equal"""
149
- return not self == other
@@ -1,34 +0,0 @@
1
- {
2
- "openai/gpt-4o": {
3
- "id": "ast_01jdjds71fs8gt47jexzed4czs",
4
- "context_length": 128000
5
- },
6
- "openai/gpt-4": {
7
- "id": "ast_01jd38ze6tjbrcd4942nhz41zn",
8
- "context_length": 8192
9
- },
10
- "openai/o3-mini": {
11
- "id": "ast_01jz3t13fhnjhh11t1k8b5gyp1",
12
- "context_length": 128000
13
- },
14
- "anthropic/claude-3-5-sonnet-20240620": {
15
- "id": "ast_01jd3923a6p98rqwh3dpj686pq",
16
- "context_length": 200000
17
- },
18
- "google/gemini-2.5-pro": {
19
- "id": "ast_01jz3tdb1fhey798k95pv61v57",
20
- "context_length": 1048576
21
- },
22
- "google/gemini-2.5-flash": {
23
- "id": "ast_01jz3thxskg4fcdk4xhkjkym5a",
24
- "context_length": 8000
25
- },
26
- "google/gemini-2.5-flash-lite-preview-06-17": {
27
- "id": "ast_01jz3thxskg4fcdk4xhkjkym5b",
28
- "context_length": 8000
29
- },
30
- "lightning-ai/llama4-maverick": {
31
- "id": "ast_01k0wgg56tm8mv9n12aq2mnxas",
32
- "context_length": 100000
33
- }
34
- }