lightning-sdk 0.1.39__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 (48) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/_mmt/__init__.py +3 -0
  3. lightning_sdk/_mmt/base.py +180 -0
  4. lightning_sdk/_mmt/mmt.py +161 -0
  5. lightning_sdk/_mmt/v1.py +69 -0
  6. lightning_sdk/_mmt/v2.py +141 -0
  7. lightning_sdk/api/mmt_api.py +148 -0
  8. lightning_sdk/api/teamspace_api.py +0 -9
  9. lightning_sdk/api/utils.py +2 -1
  10. lightning_sdk/cli/mmt.py +137 -0
  11. lightning_sdk/job/base.py +2 -3
  12. lightning_sdk/job/v1.py +2 -1
  13. lightning_sdk/job/v2.py +6 -9
  14. lightning_sdk/lightning_cloud/openapi/__init__.py +8 -3
  15. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +90 -284
  16. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +118 -1
  17. lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +5 -1
  18. lightning_sdk/lightning_cloud/openapi/models/__init__.py +8 -3
  19. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
  20. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +123 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/{project_id_agentmanagedmodels_body.py → v1_body.py} +21 -47
  24. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +227 -0
  26. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +27 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_header.py +175 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +55 -3
  31. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py +175 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_model.py +29 -3
  33. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +1 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_query_param.py +175 -0
  36. lightning_sdk/lightning_cloud/openapi/models/{v1_list_managed_models_response.py → v1_resource_visibility.py} +23 -23
  37. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +1 -0
  39. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_managed_model_response.py → v1_update_model_visibility_response.py} +6 -6
  40. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +41 -15
  41. lightning_sdk/models.py +29 -8
  42. lightning_sdk/teamspace.py +17 -15
  43. {lightning_sdk-0.1.39.dist-info → lightning_sdk-0.1.41.dist-info}/METADATA +1 -1
  44. {lightning_sdk-0.1.39.dist-info → lightning_sdk-0.1.41.dist-info}/RECORD +48 -36
  45. {lightning_sdk-0.1.39.dist-info → lightning_sdk-0.1.41.dist-info}/entry_points.txt +1 -0
  46. {lightning_sdk-0.1.39.dist-info → lightning_sdk-0.1.41.dist-info}/LICENSE +0 -0
  47. {lightning_sdk-0.1.39.dist-info → lightning_sdk-0.1.41.dist-info}/WHEEL +0 -0
  48. {lightning_sdk-0.1.39.dist-info → lightning_sdk-0.1.41.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
28
28
  from datetime import datetime
29
29
  from lightning_sdk.lightning_cloud.openapi.models import *
30
30
 
31
- class ProjectIdAgentmanagedmodelsBody(object):
31
+ class V1Body(object):
32
32
  """NOTE: This class is auto generated by the swagger code generator program.
33
33
 
34
34
  Do not edit the class manually.
@@ -41,66 +41,40 @@ class ProjectIdAgentmanagedmodelsBody(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'model': 'V1ManagedModel',
45
- 'org_id': 'str'
44
+ 'raw_json': 'str'
46
45
  }
47
46
 
48
47
  attribute_map = {
49
- 'model': 'model',
50
- 'org_id': 'orgId'
48
+ 'raw_json': 'rawJson'
51
49
  }
52
50
 
53
- def __init__(self, model: 'V1ManagedModel' =None, org_id: 'str' =None): # noqa: E501
54
- """ProjectIdAgentmanagedmodelsBody - a model defined in Swagger""" # noqa: E501
55
- self._model = None
56
- self._org_id = None
51
+ def __init__(self, raw_json: 'str' =None): # noqa: E501
52
+ """V1Body - a model defined in Swagger""" # noqa: E501
53
+ self._raw_json = None
57
54
  self.discriminator = None
58
- if model is not None:
59
- self.model = model
60
- if org_id is not None:
61
- self.org_id = org_id
55
+ if raw_json is not None:
56
+ self.raw_json = raw_json
62
57
 
63
58
  @property
64
- def model(self) -> 'V1ManagedModel':
65
- """Gets the model of this ProjectIdAgentmanagedmodelsBody. # noqa: E501
59
+ def raw_json(self) -> 'str':
60
+ """Gets the raw_json of this V1Body. # noqa: E501
66
61
 
67
62
 
68
- :return: The model of this ProjectIdAgentmanagedmodelsBody. # noqa: E501
69
- :rtype: V1ManagedModel
70
- """
71
- return self._model
72
-
73
- @model.setter
74
- def model(self, model: 'V1ManagedModel'):
75
- """Sets the model of this ProjectIdAgentmanagedmodelsBody.
76
-
77
-
78
- :param model: The model of this ProjectIdAgentmanagedmodelsBody. # noqa: E501
79
- :type: V1ManagedModel
80
- """
81
-
82
- self._model = model
83
-
84
- @property
85
- def org_id(self) -> 'str':
86
- """Gets the org_id of this ProjectIdAgentmanagedmodelsBody. # noqa: E501
87
-
88
-
89
- :return: The org_id of this ProjectIdAgentmanagedmodelsBody. # noqa: E501
63
+ :return: The raw_json of this V1Body. # noqa: E501
90
64
  :rtype: str
91
65
  """
92
- return self._org_id
66
+ return self._raw_json
93
67
 
94
- @org_id.setter
95
- def org_id(self, org_id: 'str'):
96
- """Sets the org_id of this ProjectIdAgentmanagedmodelsBody.
68
+ @raw_json.setter
69
+ def raw_json(self, raw_json: 'str'):
70
+ """Sets the raw_json of this V1Body.
97
71
 
98
72
 
99
- :param org_id: The org_id of this ProjectIdAgentmanagedmodelsBody. # noqa: E501
73
+ :param raw_json: The raw_json of this V1Body. # noqa: E501
100
74
  :type: str
101
75
  """
102
76
 
103
- self._org_id = org_id
77
+ self._raw_json = raw_json
104
78
 
105
79
  def to_dict(self) -> dict:
106
80
  """Returns the model properties as a dict"""
@@ -123,7 +97,7 @@ class ProjectIdAgentmanagedmodelsBody(object):
123
97
  ))
124
98
  else:
125
99
  result[attr] = value
126
- if issubclass(ProjectIdAgentmanagedmodelsBody, dict):
100
+ if issubclass(V1Body, dict):
127
101
  for key, value in self.items():
128
102
  result[key] = value
129
103
 
@@ -137,13 +111,13 @@ class ProjectIdAgentmanagedmodelsBody(object):
137
111
  """For `print` and `pprint`"""
138
112
  return self.to_str()
139
113
 
140
- def __eq__(self, other: 'ProjectIdAgentmanagedmodelsBody') -> bool:
114
+ def __eq__(self, other: 'V1Body') -> bool:
141
115
  """Returns true if both objects are equal"""
142
- if not isinstance(other, ProjectIdAgentmanagedmodelsBody):
116
+ if not isinstance(other, V1Body):
143
117
  return False
144
118
 
145
119
  return self.__dict__ == other.__dict__
146
120
 
147
- def __ne__(self, other: 'ProjectIdAgentmanagedmodelsBody') -> bool:
121
+ def __ne__(self, other: 'V1Body') -> bool:
148
122
  """Returns true if both objects are not equal"""
149
123
  return not self == other
@@ -41,6 +41,7 @@ class V1Deployment(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
  'cloudspace_id': 'str',
46
47
  'created_at': 'datetime',
@@ -62,6 +63,7 @@ class V1Deployment(object):
62
63
  }
63
64
 
64
65
  attribute_map = {
66
+ 'apis': 'apis',
65
67
  'autoscaling': 'autoscaling',
66
68
  'cloudspace_id': 'cloudspaceId',
67
69
  'created_at': 'createdAt',
@@ -82,8 +84,9 @@ class V1Deployment(object):
82
84
  'user_id': 'userId'
83
85
  }
84
86
 
85
- def __init__(self, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, is_published: 'bool' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, project_id: 'str' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
87
+ def __init__(self, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, id: 'str' =None, is_published: 'bool' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, project_id: 'str' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
86
88
  """V1Deployment - a model defined in Swagger""" # noqa: E501
89
+ self._apis = None
87
90
  self._autoscaling = None
88
91
  self._cloudspace_id = None
89
92
  self._created_at = None
@@ -103,6 +106,8 @@ class V1Deployment(object):
103
106
  self._updated_at = None
104
107
  self._user_id = None
105
108
  self.discriminator = None
109
+ if apis is not None:
110
+ self.apis = apis
106
111
  if autoscaling is not None:
107
112
  self.autoscaling = autoscaling
108
113
  if cloudspace_id is not None:
@@ -140,6 +145,27 @@ class V1Deployment(object):
140
145
  if user_id is not None:
141
146
  self.user_id = user_id
142
147
 
148
+ @property
149
+ def apis(self) -> 'list[V1DeploymentAPI]':
150
+ """Gets the apis of this V1Deployment. # noqa: E501
151
+
152
+
153
+ :return: The apis of this V1Deployment. # noqa: E501
154
+ :rtype: list[V1DeploymentAPI]
155
+ """
156
+ return self._apis
157
+
158
+ @apis.setter
159
+ def apis(self, apis: 'list[V1DeploymentAPI]'):
160
+ """Sets the apis of this V1Deployment.
161
+
162
+
163
+ :param apis: The apis of this V1Deployment. # noqa: E501
164
+ :type: list[V1DeploymentAPI]
165
+ """
166
+
167
+ self._apis = apis
168
+
143
169
  @property
144
170
  def autoscaling(self) -> 'V1AutoscalingSpec':
145
171
  """Gets the autoscaling of this V1Deployment. # noqa: E501
@@ -0,0 +1,227 @@
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 V1DeploymentAPI(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
+ 'body': 'V1Body',
45
+ 'headers': 'list[V1Header]',
46
+ 'method': 'str',
47
+ 'path': 'str',
48
+ '_query_params': 'list[V1QueryParam]'
49
+ }
50
+
51
+ attribute_map = {
52
+ 'body': 'body',
53
+ 'headers': 'headers',
54
+ 'method': 'method',
55
+ 'path': 'path',
56
+ '_query_params': 'queryParams'
57
+ }
58
+
59
+ def __init__(self, body: 'V1Body' =None, headers: 'list[V1Header]' =None, method: 'str' =None, path: 'str' =None, _query_params: 'list[V1QueryParam]' =None): # noqa: E501
60
+ """V1DeploymentAPI - a model defined in Swagger""" # noqa: E501
61
+ self._body = None
62
+ self._headers = None
63
+ self._method = None
64
+ self._path = None
65
+ self.__query_params = None
66
+ self.discriminator = None
67
+ if body is not None:
68
+ self.body = body
69
+ if headers is not None:
70
+ self.headers = headers
71
+ if method is not None:
72
+ self.method = method
73
+ if path is not None:
74
+ self.path = path
75
+ if _query_params is not None:
76
+ self._query_params = _query_params
77
+
78
+ @property
79
+ def body(self) -> 'V1Body':
80
+ """Gets the body of this V1DeploymentAPI. # noqa: E501
81
+
82
+
83
+ :return: The body of this V1DeploymentAPI. # noqa: E501
84
+ :rtype: V1Body
85
+ """
86
+ return self._body
87
+
88
+ @body.setter
89
+ def body(self, body: 'V1Body'):
90
+ """Sets the body of this V1DeploymentAPI.
91
+
92
+
93
+ :param body: The body of this V1DeploymentAPI. # noqa: E501
94
+ :type: V1Body
95
+ """
96
+
97
+ self._body = body
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
+
120
+ @property
121
+ def method(self) -> 'str':
122
+ """Gets the method of this V1DeploymentAPI. # noqa: E501
123
+
124
+
125
+ :return: The method of this V1DeploymentAPI. # noqa: E501
126
+ :rtype: str
127
+ """
128
+ return self._method
129
+
130
+ @method.setter
131
+ def method(self, method: 'str'):
132
+ """Sets the method of this V1DeploymentAPI.
133
+
134
+
135
+ :param method: The method of this V1DeploymentAPI. # noqa: E501
136
+ :type: str
137
+ """
138
+
139
+ self._method = method
140
+
141
+ @property
142
+ def path(self) -> 'str':
143
+ """Gets the path of this V1DeploymentAPI. # noqa: E501
144
+
145
+
146
+ :return: The path of this V1DeploymentAPI. # noqa: E501
147
+ :rtype: str
148
+ """
149
+ return self._path
150
+
151
+ @path.setter
152
+ def path(self, path: 'str'):
153
+ """Sets the path of this V1DeploymentAPI.
154
+
155
+
156
+ :param path: The path of this V1DeploymentAPI. # noqa: E501
157
+ :type: str
158
+ """
159
+
160
+ self._path = path
161
+
162
+ @property
163
+ def _query_params(self) -> 'list[V1QueryParam]':
164
+ """Gets the _query_params of this V1DeploymentAPI. # noqa: E501
165
+
166
+
167
+ :return: The _query_params of this V1DeploymentAPI. # noqa: E501
168
+ :rtype: list[V1QueryParam]
169
+ """
170
+ return self.__query_params
171
+
172
+ @_query_params.setter
173
+ def _query_params(self, _query_params: 'list[V1QueryParam]'):
174
+ """Sets the _query_params of this V1DeploymentAPI.
175
+
176
+
177
+ :param _query_params: The _query_params of this V1DeploymentAPI. # noqa: E501
178
+ :type: list[V1QueryParam]
179
+ """
180
+
181
+ self.__query_params = _query_params
182
+
183
+ def to_dict(self) -> dict:
184
+ """Returns the model properties as a dict"""
185
+ result = {}
186
+
187
+ for attr, _ in six.iteritems(self.swagger_types):
188
+ value = getattr(self, attr)
189
+ if isinstance(value, list):
190
+ result[attr] = list(map(
191
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
192
+ value
193
+ ))
194
+ elif hasattr(value, "to_dict"):
195
+ result[attr] = value.to_dict()
196
+ elif isinstance(value, dict):
197
+ result[attr] = dict(map(
198
+ lambda item: (item[0], item[1].to_dict())
199
+ if hasattr(item[1], "to_dict") else item,
200
+ value.items()
201
+ ))
202
+ else:
203
+ result[attr] = value
204
+ if issubclass(V1DeploymentAPI, dict):
205
+ for key, value in self.items():
206
+ result[key] = value
207
+
208
+ return result
209
+
210
+ def to_str(self) -> str:
211
+ """Returns the string representation of the model"""
212
+ return pprint.pformat(self.to_dict())
213
+
214
+ def __repr__(self) -> str:
215
+ """For `print` and `pprint`"""
216
+ return self.to_str()
217
+
218
+ def __eq__(self, other: 'V1DeploymentAPI') -> bool:
219
+ """Returns true if both objects are equal"""
220
+ if not isinstance(other, V1DeploymentAPI):
221
+ return False
222
+
223
+ return self.__dict__ == other.__dict__
224
+
225
+ def __ne__(self, other: 'V1DeploymentAPI') -> bool:
226
+ """Returns true if both objects are not equal"""
227
+ return not self == other
@@ -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
@@ -42,6 +42,7 @@ class V1GetModelFilesResponse(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'filepaths': 'list[str]',
45
+ 'filesizes': 'list[str]',
45
46
  'model_id': 'str',
46
47
  'project_id': 'str',
47
48
  'size_bytes': 'str',
@@ -51,6 +52,7 @@ class V1GetModelFilesResponse(object):
51
52
 
52
53
  attribute_map = {
53
54
  'filepaths': 'filepaths',
55
+ 'filesizes': 'filesizes',
54
56
  'model_id': 'modelId',
55
57
  'project_id': 'projectId',
56
58
  'size_bytes': 'sizeBytes',
@@ -58,9 +60,10 @@ class V1GetModelFilesResponse(object):
58
60
  'version': 'version'
59
61
  }
60
62
 
61
- def __init__(self, filepaths: 'list[str]' =None, model_id: 'str' =None, project_id: 'str' =None, size_bytes: 'str' =None, upload_complete: 'bool' =None, version: 'str' =None): # noqa: E501
63
+ def __init__(self, filepaths: 'list[str]' =None, filesizes: 'list[str]' =None, model_id: 'str' =None, project_id: 'str' =None, size_bytes: 'str' =None, upload_complete: 'bool' =None, version: 'str' =None): # noqa: E501
62
64
  """V1GetModelFilesResponse - a model defined in Swagger""" # noqa: E501
63
65
  self._filepaths = None
66
+ self._filesizes = None
64
67
  self._model_id = None
65
68
  self._project_id = None
66
69
  self._size_bytes = None
@@ -69,6 +72,8 @@ class V1GetModelFilesResponse(object):
69
72
  self.discriminator = None
70
73
  if filepaths is not None:
71
74
  self.filepaths = filepaths
75
+ if filesizes is not None:
76
+ self.filesizes = filesizes
72
77
  if model_id is not None:
73
78
  self.model_id = model_id
74
79
  if project_id is not None:
@@ -101,6 +106,27 @@ class V1GetModelFilesResponse(object):
101
106
 
102
107
  self._filepaths = filepaths
103
108
 
109
+ @property
110
+ def filesizes(self) -> 'list[str]':
111
+ """Gets the filesizes of this V1GetModelFilesResponse. # noqa: E501
112
+
113
+
114
+ :return: The filesizes of this V1GetModelFilesResponse. # noqa: E501
115
+ :rtype: list[str]
116
+ """
117
+ return self._filesizes
118
+
119
+ @filesizes.setter
120
+ def filesizes(self, filesizes: 'list[str]'):
121
+ """Sets the filesizes of this V1GetModelFilesResponse.
122
+
123
+
124
+ :param filesizes: The filesizes of this V1GetModelFilesResponse. # noqa: E501
125
+ :type: list[str]
126
+ """
127
+
128
+ self._filesizes = filesizes
129
+
104
130
  @property
105
131
  def model_id(self) -> 'str':
106
132
  """Gets the model_id of this V1GetModelFilesResponse. # noqa: E501