anyscale 0.26.2__py3-none-any.whl → 0.26.3__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 (32) hide show
  1. anyscale/client/README.md +1 -33
  2. anyscale/client/openapi_client/__init__.py +0 -20
  3. anyscale/client/openapi_client/api/default_api.py +114 -1544
  4. anyscale/client/openapi_client/models/__init__.py +0 -20
  5. anyscale/version.py +1 -1
  6. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/METADATA +1 -1
  7. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/RECORD +12 -32
  8. anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
  9. anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
  10. anyscale/client/openapi_client/models/aica_endpoint_event_level.py +0 -103
  11. anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
  12. anyscale/client/openapi_client/models/aica_endpoint_scope.py +0 -102
  13. anyscale/client/openapi_client/models/aica_model.py +0 -398
  14. anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
  15. anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
  16. anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
  17. anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
  18. anyscale/client/openapi_client/models/aicaendpoint_response.py +0 -121
  19. anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
  20. anyscale/client/openapi_client/models/aicamodel_list_response.py +0 -147
  21. anyscale/client/openapi_client/models/aicamodel_response.py +0 -121
  22. anyscale/client/openapi_client/models/aws_credentials.py +0 -181
  23. anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
  24. anyscale/client/openapi_client/models/import_aica_model.py +0 -241
  25. anyscale/client/openapi_client/models/named_entity.py +0 -148
  26. anyscale/client/openapi_client/models/update_endpoint.py +0 -152
  27. anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
  28. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/LICENSE +0 -0
  29. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/NOTICE +0 -0
  30. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/WHEEL +0 -0
  31. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/entry_points.txt +0 -0
  32. {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/top_level.txt +0 -0
@@ -1,102 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Managed Ray API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: 0.1.0
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from openapi_client.configuration import Configuration
19
-
20
-
21
- class AicaEndpointScope(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- allowed enum values
30
- """
31
- ENDPOINTS = "ENDPOINTS"
32
- AUTOSCALER = "AUTOSCALER"
33
- CLUSTER = "CLUSTER"
34
- MODEL = "MODEL"
35
-
36
- allowable_values = [ENDPOINTS, AUTOSCALER, CLUSTER, MODEL] # noqa: E501
37
-
38
- """
39
- Attributes:
40
- openapi_types (dict): The key is attribute name
41
- and the value is attribute type.
42
- attribute_map (dict): The key is attribute name
43
- and the value is json key in definition.
44
- """
45
- openapi_types = {
46
- }
47
-
48
- attribute_map = {
49
- }
50
-
51
- def __init__(self, local_vars_configuration=None): # noqa: E501
52
- """AicaEndpointScope - a model defined in OpenAPI""" # noqa: E501
53
- if local_vars_configuration is None:
54
- local_vars_configuration = Configuration()
55
- self.local_vars_configuration = local_vars_configuration
56
- self.discriminator = None
57
-
58
- def to_dict(self):
59
- """Returns the model properties as a dict"""
60
- result = {}
61
-
62
- for attr, _ in six.iteritems(self.openapi_types):
63
- value = getattr(self, attr)
64
- if isinstance(value, list):
65
- result[attr] = list(map(
66
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
67
- value
68
- ))
69
- elif hasattr(value, "to_dict"):
70
- result[attr] = value.to_dict()
71
- elif isinstance(value, dict):
72
- result[attr] = dict(map(
73
- lambda item: (item[0], item[1].to_dict())
74
- if hasattr(item[1], "to_dict") else item,
75
- value.items()
76
- ))
77
- else:
78
- result[attr] = value
79
-
80
- return result
81
-
82
- def to_str(self):
83
- """Returns the string representation of the model"""
84
- return pprint.pformat(self.to_dict())
85
-
86
- def __repr__(self):
87
- """For `print` and `pprint`"""
88
- return self.to_str()
89
-
90
- def __eq__(self, other):
91
- """Returns true if both objects are equal"""
92
- if not isinstance(other, AicaEndpointScope):
93
- return False
94
-
95
- return self.to_dict() == other.to_dict()
96
-
97
- def __ne__(self, other):
98
- """Returns true if both objects are not equal"""
99
- if not isinstance(other, AicaEndpointScope):
100
- return True
101
-
102
- return self.to_dict() != other.to_dict()
@@ -1,398 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Managed Ray API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: 0.1.0
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from openapi_client.configuration import Configuration
19
-
20
-
21
- class AicaModel(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'id': 'str',
37
- 'emoji': 'str',
38
- 'description': 'str',
39
- 'base_canonical_model_id': 'str',
40
- 'min_aviary_version': 'str',
41
- 'max_aviary_version': 'str',
42
- 'model_object_storage_uri': 'str',
43
- 'is_model_stored_in_anyscale_account': 'bool',
44
- 'generation_configuration_json': 'object',
45
- 'created_at': 'datetime',
46
- 'cloud': 'NamedEntity'
47
- }
48
-
49
- attribute_map = {
50
- 'id': 'id',
51
- 'emoji': 'emoji',
52
- 'description': 'description',
53
- 'base_canonical_model_id': 'base_canonical_model_id',
54
- 'min_aviary_version': 'min_aviary_version',
55
- 'max_aviary_version': 'max_aviary_version',
56
- 'model_object_storage_uri': 'model_object_storage_uri',
57
- 'is_model_stored_in_anyscale_account': 'is_model_stored_in_anyscale_account',
58
- 'generation_configuration_json': 'generation_configuration_json',
59
- 'created_at': 'created_at',
60
- 'cloud': 'cloud'
61
- }
62
-
63
- def __init__(self, id=None, emoji=None, description=None, base_canonical_model_id=None, min_aviary_version=None, max_aviary_version=None, model_object_storage_uri=None, is_model_stored_in_anyscale_account=None, generation_configuration_json=None, created_at=None, cloud=None, local_vars_configuration=None): # noqa: E501
64
- """AicaModel - a model defined in OpenAPI""" # noqa: E501
65
- if local_vars_configuration is None:
66
- local_vars_configuration = Configuration()
67
- self.local_vars_configuration = local_vars_configuration
68
-
69
- self._id = None
70
- self._emoji = None
71
- self._description = None
72
- self._base_canonical_model_id = None
73
- self._min_aviary_version = None
74
- self._max_aviary_version = None
75
- self._model_object_storage_uri = None
76
- self._is_model_stored_in_anyscale_account = None
77
- self._generation_configuration_json = None
78
- self._created_at = None
79
- self._cloud = None
80
- self.discriminator = None
81
-
82
- self.id = id
83
- if emoji is not None:
84
- self.emoji = emoji
85
- if description is not None:
86
- self.description = description
87
- if base_canonical_model_id is not None:
88
- self.base_canonical_model_id = base_canonical_model_id
89
- if min_aviary_version is not None:
90
- self.min_aviary_version = min_aviary_version
91
- if max_aviary_version is not None:
92
- self.max_aviary_version = max_aviary_version
93
- if model_object_storage_uri is not None:
94
- self.model_object_storage_uri = model_object_storage_uri
95
- if is_model_stored_in_anyscale_account is not None:
96
- self.is_model_stored_in_anyscale_account = is_model_stored_in_anyscale_account
97
- if generation_configuration_json is not None:
98
- self.generation_configuration_json = generation_configuration_json
99
- self.created_at = created_at
100
- if cloud is not None:
101
- self.cloud = cloud
102
-
103
- @property
104
- def id(self):
105
- """Gets the id of this AicaModel. # noqa: E501
106
-
107
- Name of the model to be created. # noqa: E501
108
-
109
- :return: The id of this AicaModel. # noqa: E501
110
- :rtype: str
111
- """
112
- return self._id
113
-
114
- @id.setter
115
- def id(self, id):
116
- """Sets the id of this AicaModel.
117
-
118
- Name of the model to be created. # noqa: E501
119
-
120
- :param id: The id of this AicaModel. # noqa: E501
121
- :type: str
122
- """
123
- if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
124
- raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
125
-
126
- self._id = id
127
-
128
- @property
129
- def emoji(self):
130
- """Gets the emoji of this AicaModel. # noqa: E501
131
-
132
- The emoji of the model # noqa: E501
133
-
134
- :return: The emoji of this AicaModel. # noqa: E501
135
- :rtype: str
136
- """
137
- return self._emoji
138
-
139
- @emoji.setter
140
- def emoji(self, emoji):
141
- """Sets the emoji of this AicaModel.
142
-
143
- The emoji of the model # noqa: E501
144
-
145
- :param emoji: The emoji of this AicaModel. # noqa: E501
146
- :type: str
147
- """
148
-
149
- self._emoji = emoji
150
-
151
- @property
152
- def description(self):
153
- """Gets the description of this AicaModel. # noqa: E501
154
-
155
- The description of the model # noqa: E501
156
-
157
- :return: The description of this AicaModel. # noqa: E501
158
- :rtype: str
159
- """
160
- return self._description
161
-
162
- @description.setter
163
- def description(self, description):
164
- """Sets the description of this AicaModel.
165
-
166
- The description of the model # noqa: E501
167
-
168
- :param description: The description of this AicaModel. # noqa: E501
169
- :type: str
170
- """
171
-
172
- self._description = description
173
-
174
- @property
175
- def base_canonical_model_id(self):
176
- """Gets the base_canonical_model_id of this AicaModel. # noqa: E501
177
-
178
- The name of the base model. This field is present only if the model is finetuned. # noqa: E501
179
-
180
- :return: The base_canonical_model_id of this AicaModel. # noqa: E501
181
- :rtype: str
182
- """
183
- return self._base_canonical_model_id
184
-
185
- @base_canonical_model_id.setter
186
- def base_canonical_model_id(self, base_canonical_model_id):
187
- """Sets the base_canonical_model_id of this AicaModel.
188
-
189
- The name of the base model. This field is present only if the model is finetuned. # noqa: E501
190
-
191
- :param base_canonical_model_id: The base_canonical_model_id of this AicaModel. # noqa: E501
192
- :type: str
193
- """
194
-
195
- self._base_canonical_model_id = base_canonical_model_id
196
-
197
- @property
198
- def min_aviary_version(self):
199
- """Gets the min_aviary_version of this AicaModel. # noqa: E501
200
-
201
-
202
- :return: The min_aviary_version of this AicaModel. # noqa: E501
203
- :rtype: str
204
- """
205
- return self._min_aviary_version
206
-
207
- @min_aviary_version.setter
208
- def min_aviary_version(self, min_aviary_version):
209
- """Sets the min_aviary_version of this AicaModel.
210
-
211
-
212
- :param min_aviary_version: The min_aviary_version of this AicaModel. # noqa: E501
213
- :type: str
214
- """
215
-
216
- self._min_aviary_version = min_aviary_version
217
-
218
- @property
219
- def max_aviary_version(self):
220
- """Gets the max_aviary_version of this AicaModel. # noqa: E501
221
-
222
-
223
- :return: The max_aviary_version of this AicaModel. # noqa: E501
224
- :rtype: str
225
- """
226
- return self._max_aviary_version
227
-
228
- @max_aviary_version.setter
229
- def max_aviary_version(self, max_aviary_version):
230
- """Sets the max_aviary_version of this AicaModel.
231
-
232
-
233
- :param max_aviary_version: The max_aviary_version of this AicaModel. # noqa: E501
234
- :type: str
235
- """
236
-
237
- self._max_aviary_version = max_aviary_version
238
-
239
- @property
240
- def model_object_storage_uri(self):
241
- """Gets the model_object_storage_uri of this AicaModel. # noqa: E501
242
-
243
- The URI of the model object in the object storage. # noqa: E501
244
-
245
- :return: The model_object_storage_uri of this AicaModel. # noqa: E501
246
- :rtype: str
247
- """
248
- return self._model_object_storage_uri
249
-
250
- @model_object_storage_uri.setter
251
- def model_object_storage_uri(self, model_object_storage_uri):
252
- """Sets the model_object_storage_uri of this AicaModel.
253
-
254
- The URI of the model object in the object storage. # noqa: E501
255
-
256
- :param model_object_storage_uri: The model_object_storage_uri of this AicaModel. # noqa: E501
257
- :type: str
258
- """
259
-
260
- self._model_object_storage_uri = model_object_storage_uri
261
-
262
- @property
263
- def is_model_stored_in_anyscale_account(self):
264
- """Gets the is_model_stored_in_anyscale_account of this AicaModel. # noqa: E501
265
-
266
- Whether the model is stored in the anyscale account or in the customer's account. # noqa: E501
267
-
268
- :return: The is_model_stored_in_anyscale_account of this AicaModel. # noqa: E501
269
- :rtype: bool
270
- """
271
- return self._is_model_stored_in_anyscale_account
272
-
273
- @is_model_stored_in_anyscale_account.setter
274
- def is_model_stored_in_anyscale_account(self, is_model_stored_in_anyscale_account):
275
- """Sets the is_model_stored_in_anyscale_account of this AicaModel.
276
-
277
- Whether the model is stored in the anyscale account or in the customer's account. # noqa: E501
278
-
279
- :param is_model_stored_in_anyscale_account: The is_model_stored_in_anyscale_account of this AicaModel. # noqa: E501
280
- :type: bool
281
- """
282
-
283
- self._is_model_stored_in_anyscale_account = is_model_stored_in_anyscale_account
284
-
285
- @property
286
- def generation_configuration_json(self):
287
- """Gets the generation_configuration_json of this AicaModel. # noqa: E501
288
-
289
- The configuration for the generation section. This field is present only if the model is finetuned. # noqa: E501
290
-
291
- :return: The generation_configuration_json of this AicaModel. # noqa: E501
292
- :rtype: object
293
- """
294
- return self._generation_configuration_json
295
-
296
- @generation_configuration_json.setter
297
- def generation_configuration_json(self, generation_configuration_json):
298
- """Sets the generation_configuration_json of this AicaModel.
299
-
300
- The configuration for the generation section. This field is present only if the model is finetuned. # noqa: E501
301
-
302
- :param generation_configuration_json: The generation_configuration_json of this AicaModel. # noqa: E501
303
- :type: object
304
- """
305
-
306
- self._generation_configuration_json = generation_configuration_json
307
-
308
- @property
309
- def created_at(self):
310
- """Gets the created_at of this AicaModel. # noqa: E501
311
-
312
- Time at which the model was created. # noqa: E501
313
-
314
- :return: The created_at of this AicaModel. # noqa: E501
315
- :rtype: datetime
316
- """
317
- return self._created_at
318
-
319
- @created_at.setter
320
- def created_at(self, created_at):
321
- """Sets the created_at of this AicaModel.
322
-
323
- Time at which the model was created. # noqa: E501
324
-
325
- :param created_at: The created_at of this AicaModel. # noqa: E501
326
- :type: datetime
327
- """
328
- if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
329
- raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
330
-
331
- self._created_at = created_at
332
-
333
- @property
334
- def cloud(self):
335
- """Gets the cloud of this AicaModel. # noqa: E501
336
-
337
-
338
- :return: The cloud of this AicaModel. # noqa: E501
339
- :rtype: NamedEntity
340
- """
341
- return self._cloud
342
-
343
- @cloud.setter
344
- def cloud(self, cloud):
345
- """Sets the cloud of this AicaModel.
346
-
347
-
348
- :param cloud: The cloud of this AicaModel. # noqa: E501
349
- :type: NamedEntity
350
- """
351
-
352
- self._cloud = cloud
353
-
354
- def to_dict(self):
355
- """Returns the model properties as a dict"""
356
- result = {}
357
-
358
- for attr, _ in six.iteritems(self.openapi_types):
359
- value = getattr(self, attr)
360
- if isinstance(value, list):
361
- result[attr] = list(map(
362
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
363
- value
364
- ))
365
- elif hasattr(value, "to_dict"):
366
- result[attr] = value.to_dict()
367
- elif isinstance(value, dict):
368
- result[attr] = dict(map(
369
- lambda item: (item[0], item[1].to_dict())
370
- if hasattr(item[1], "to_dict") else item,
371
- value.items()
372
- ))
373
- else:
374
- result[attr] = value
375
-
376
- return result
377
-
378
- def to_str(self):
379
- """Returns the string representation of the model"""
380
- return pprint.pformat(self.to_dict())
381
-
382
- def __repr__(self):
383
- """For `print` and `pprint`"""
384
- return self.to_str()
385
-
386
- def __eq__(self, other):
387
- """Returns true if both objects are equal"""
388
- if not isinstance(other, AicaModel):
389
- return False
390
-
391
- return self.to_dict() == other.to_dict()
392
-
393
- def __ne__(self, other):
394
- """Returns true if both objects are not equal"""
395
- if not isinstance(other, AicaModel):
396
- return True
397
-
398
- return self.to_dict() != other.to_dict()
@@ -1,123 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Managed Ray API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: 0.1.0
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- import pprint
14
- import re # noqa: F401
15
-
16
- import six
17
-
18
- from openapi_client.configuration import Configuration
19
-
20
-
21
- class AicaModelAcceleratorMap(object):
22
- """NOTE: This class is auto generated by OpenAPI Generator.
23
- Ref: https://openapi-generator.tech
24
-
25
- Do not edit the class manually.
26
- """
27
-
28
- """
29
- Attributes:
30
- openapi_types (dict): The key is attribute name
31
- and the value is attribute type.
32
- attribute_map (dict): The key is attribute name
33
- and the value is json key in definition.
34
- """
35
- openapi_types = {
36
- 'accelerator_map': 'dict(str, AicaModelConfiguration)'
37
- }
38
-
39
- attribute_map = {
40
- 'accelerator_map': 'accelerator_map'
41
- }
42
-
43
- def __init__(self, accelerator_map=None, local_vars_configuration=None): # noqa: E501
44
- """AicaModelAcceleratorMap - a model defined in OpenAPI""" # noqa: E501
45
- if local_vars_configuration is None:
46
- local_vars_configuration = Configuration()
47
- self.local_vars_configuration = local_vars_configuration
48
-
49
- self._accelerator_map = None
50
- self.discriminator = None
51
-
52
- self.accelerator_map = accelerator_map
53
-
54
- @property
55
- def accelerator_map(self):
56
- """Gets the accelerator_map of this AicaModelAcceleratorMap. # noqa: E501
57
-
58
- Map of accelerator type to model configuration # noqa: E501
59
-
60
- :return: The accelerator_map of this AicaModelAcceleratorMap. # noqa: E501
61
- :rtype: dict(str, AicaModelConfiguration)
62
- """
63
- return self._accelerator_map
64
-
65
- @accelerator_map.setter
66
- def accelerator_map(self, accelerator_map):
67
- """Sets the accelerator_map of this AicaModelAcceleratorMap.
68
-
69
- Map of accelerator type to model configuration # noqa: E501
70
-
71
- :param accelerator_map: The accelerator_map of this AicaModelAcceleratorMap. # noqa: E501
72
- :type: dict(str, AicaModelConfiguration)
73
- """
74
- if self.local_vars_configuration.client_side_validation and accelerator_map is None: # noqa: E501
75
- raise ValueError("Invalid value for `accelerator_map`, must not be `None`") # noqa: E501
76
-
77
- self._accelerator_map = accelerator_map
78
-
79
- def to_dict(self):
80
- """Returns the model properties as a dict"""
81
- result = {}
82
-
83
- for attr, _ in six.iteritems(self.openapi_types):
84
- value = getattr(self, attr)
85
- if isinstance(value, list):
86
- result[attr] = list(map(
87
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
88
- value
89
- ))
90
- elif hasattr(value, "to_dict"):
91
- result[attr] = value.to_dict()
92
- elif isinstance(value, dict):
93
- result[attr] = dict(map(
94
- lambda item: (item[0], item[1].to_dict())
95
- if hasattr(item[1], "to_dict") else item,
96
- value.items()
97
- ))
98
- else:
99
- result[attr] = value
100
-
101
- return result
102
-
103
- def to_str(self):
104
- """Returns the string representation of the model"""
105
- return pprint.pformat(self.to_dict())
106
-
107
- def __repr__(self):
108
- """For `print` and `pprint`"""
109
- return self.to_str()
110
-
111
- def __eq__(self, other):
112
- """Returns true if both objects are equal"""
113
- if not isinstance(other, AicaModelAcceleratorMap):
114
- return False
115
-
116
- return self.to_dict() == other.to_dict()
117
-
118
- def __ne__(self, other):
119
- """Returns true if both objects are not equal"""
120
- if not isinstance(other, AicaModelAcceleratorMap):
121
- return True
122
-
123
- return self.to_dict() != other.to_dict()