anyscale 0.26.1__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 (44) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +13 -1
  2. anyscale/_private/anyscale_client/common.py +1 -1
  3. anyscale/_private/docgen/models.md +2 -2
  4. anyscale/client/README.md +11 -33
  5. anyscale/client/openapi_client/__init__.py +9 -20
  6. anyscale/client/openapi_client/api/default_api.py +226 -1544
  7. anyscale/client/openapi_client/models/__init__.py +9 -20
  8. anyscale/client/openapi_client/models/{aica_endpoint_scope.py → actor_status.py} +7 -9
  9. anyscale/client/openapi_client/models/baseimagesenum.py +59 -1
  10. anyscale/client/openapi_client/models/{named_entity.py → job_details.py} +60 -35
  11. anyscale/client/openapi_client/models/resource_alert_event_type.py +2 -1
  12. anyscale/client/openapi_client/models/{aica_endpoint_event_level.py → run_attempt_status.py} +10 -10
  13. anyscale/client/openapi_client/models/{aicamodel_response.py → run_status.py} +19 -34
  14. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +59 -1
  15. anyscale/client/openapi_client/models/{aicaendpoint_response.py → train_resources.py} +22 -22
  16. anyscale/client/openapi_client/models/train_run.py +387 -0
  17. anyscale/client/openapi_client/models/train_run_attempt.py +308 -0
  18. anyscale/client/openapi_client/models/train_worker.py +363 -0
  19. anyscale/client/openapi_client/models/{aicamodel_list_response.py → trainrun_list_response.py} +15 -15
  20. anyscale/sdk/anyscale_client/models/baseimagesenum.py +59 -1
  21. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +59 -1
  22. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  23. anyscale/version.py +1 -1
  24. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/METADATA +1 -1
  25. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/RECORD +30 -41
  26. anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
  27. anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
  28. anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
  29. anyscale/client/openapi_client/models/aica_model.py +0 -398
  30. anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
  31. anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
  32. anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
  33. anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
  34. anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
  35. anyscale/client/openapi_client/models/aws_credentials.py +0 -181
  36. anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
  37. anyscale/client/openapi_client/models/import_aica_model.py +0 -241
  38. anyscale/client/openapi_client/models/update_endpoint.py +0 -152
  39. anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
  40. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/LICENSE +0 -0
  41. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/NOTICE +0 -0
  42. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/WHEEL +0 -0
  43. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/entry_points.txt +0 -0
  44. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/top_level.txt +0 -0
@@ -1,152 +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 UpdateEndpoint(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
- 'endpoint_id': 'str',
37
- 'model_deployments': 'list[UpdateModelDeployment]'
38
- }
39
-
40
- attribute_map = {
41
- 'endpoint_id': 'endpoint_id',
42
- 'model_deployments': 'model_deployments'
43
- }
44
-
45
- def __init__(self, endpoint_id=None, model_deployments=None, local_vars_configuration=None): # noqa: E501
46
- """UpdateEndpoint - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._endpoint_id = None
52
- self._model_deployments = None
53
- self.discriminator = None
54
-
55
- self.endpoint_id = endpoint_id
56
- self.model_deployments = model_deployments
57
-
58
- @property
59
- def endpoint_id(self):
60
- """Gets the endpoint_id of this UpdateEndpoint. # noqa: E501
61
-
62
- Id of the endpoint to be updated. # noqa: E501
63
-
64
- :return: The endpoint_id of this UpdateEndpoint. # noqa: E501
65
- :rtype: str
66
- """
67
- return self._endpoint_id
68
-
69
- @endpoint_id.setter
70
- def endpoint_id(self, endpoint_id):
71
- """Sets the endpoint_id of this UpdateEndpoint.
72
-
73
- Id of the endpoint to be updated. # noqa: E501
74
-
75
- :param endpoint_id: The endpoint_id of this UpdateEndpoint. # noqa: E501
76
- :type: str
77
- """
78
- if self.local_vars_configuration.client_side_validation and endpoint_id is None: # noqa: E501
79
- raise ValueError("Invalid value for `endpoint_id`, must not be `None`") # noqa: E501
80
-
81
- self._endpoint_id = endpoint_id
82
-
83
- @property
84
- def model_deployments(self):
85
- """Gets the model_deployments of this UpdateEndpoint. # noqa: E501
86
-
87
- The configuration for the endpoints model. # noqa: E501
88
-
89
- :return: The model_deployments of this UpdateEndpoint. # noqa: E501
90
- :rtype: list[UpdateModelDeployment]
91
- """
92
- return self._model_deployments
93
-
94
- @model_deployments.setter
95
- def model_deployments(self, model_deployments):
96
- """Sets the model_deployments of this UpdateEndpoint.
97
-
98
- The configuration for the endpoints model. # noqa: E501
99
-
100
- :param model_deployments: The model_deployments of this UpdateEndpoint. # noqa: E501
101
- :type: list[UpdateModelDeployment]
102
- """
103
- if self.local_vars_configuration.client_side_validation and model_deployments is None: # noqa: E501
104
- raise ValueError("Invalid value for `model_deployments`, must not be `None`") # noqa: E501
105
-
106
- self._model_deployments = model_deployments
107
-
108
- def to_dict(self):
109
- """Returns the model properties as a dict"""
110
- result = {}
111
-
112
- for attr, _ in six.iteritems(self.openapi_types):
113
- value = getattr(self, attr)
114
- if isinstance(value, list):
115
- result[attr] = list(map(
116
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
117
- value
118
- ))
119
- elif hasattr(value, "to_dict"):
120
- result[attr] = value.to_dict()
121
- elif isinstance(value, dict):
122
- result[attr] = dict(map(
123
- lambda item: (item[0], item[1].to_dict())
124
- if hasattr(item[1], "to_dict") else item,
125
- value.items()
126
- ))
127
- else:
128
- result[attr] = value
129
-
130
- return result
131
-
132
- def to_str(self):
133
- """Returns the string representation of the model"""
134
- return pprint.pformat(self.to_dict())
135
-
136
- def __repr__(self):
137
- """For `print` and `pprint`"""
138
- return self.to_str()
139
-
140
- def __eq__(self, other):
141
- """Returns true if both objects are equal"""
142
- if not isinstance(other, UpdateEndpoint):
143
- return False
144
-
145
- return self.to_dict() == other.to_dict()
146
-
147
- def __ne__(self, other):
148
- """Returns true if both objects are not equal"""
149
- if not isinstance(other, UpdateEndpoint):
150
- return True
151
-
152
- return self.to_dict() != other.to_dict()
@@ -1,152 +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 UpdateModelDeployment(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
- 'model_id': 'str',
37
- 'config': 'object'
38
- }
39
-
40
- attribute_map = {
41
- 'model_id': 'model_id',
42
- 'config': 'config'
43
- }
44
-
45
- def __init__(self, model_id=None, config=None, local_vars_configuration=None): # noqa: E501
46
- """UpdateModelDeployment - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._model_id = None
52
- self._config = None
53
- self.discriminator = None
54
-
55
- self.model_id = model_id
56
- self.config = config
57
-
58
- @property
59
- def model_id(self):
60
- """Gets the model_id of this UpdateModelDeployment. # noqa: E501
61
-
62
- Id of the model to be updated. # noqa: E501
63
-
64
- :return: The model_id of this UpdateModelDeployment. # noqa: E501
65
- :rtype: str
66
- """
67
- return self._model_id
68
-
69
- @model_id.setter
70
- def model_id(self, model_id):
71
- """Sets the model_id of this UpdateModelDeployment.
72
-
73
- Id of the model to be updated. # noqa: E501
74
-
75
- :param model_id: The model_id of this UpdateModelDeployment. # noqa: E501
76
- :type: str
77
- """
78
- if self.local_vars_configuration.client_side_validation and model_id is None: # noqa: E501
79
- raise ValueError("Invalid value for `model_id`, must not be `None`") # noqa: E501
80
-
81
- self._model_id = model_id
82
-
83
- @property
84
- def config(self):
85
- """Gets the config of this UpdateModelDeployment. # noqa: E501
86
-
87
- The configuration for the endpoints model. # noqa: E501
88
-
89
- :return: The config of this UpdateModelDeployment. # noqa: E501
90
- :rtype: object
91
- """
92
- return self._config
93
-
94
- @config.setter
95
- def config(self, config):
96
- """Sets the config of this UpdateModelDeployment.
97
-
98
- The configuration for the endpoints model. # noqa: E501
99
-
100
- :param config: The config of this UpdateModelDeployment. # noqa: E501
101
- :type: object
102
- """
103
- if self.local_vars_configuration.client_side_validation and config is None: # noqa: E501
104
- raise ValueError("Invalid value for `config`, must not be `None`") # noqa: E501
105
-
106
- self._config = config
107
-
108
- def to_dict(self):
109
- """Returns the model properties as a dict"""
110
- result = {}
111
-
112
- for attr, _ in six.iteritems(self.openapi_types):
113
- value = getattr(self, attr)
114
- if isinstance(value, list):
115
- result[attr] = list(map(
116
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
117
- value
118
- ))
119
- elif hasattr(value, "to_dict"):
120
- result[attr] = value.to_dict()
121
- elif isinstance(value, dict):
122
- result[attr] = dict(map(
123
- lambda item: (item[0], item[1].to_dict())
124
- if hasattr(item[1], "to_dict") else item,
125
- value.items()
126
- ))
127
- else:
128
- result[attr] = value
129
-
130
- return result
131
-
132
- def to_str(self):
133
- """Returns the string representation of the model"""
134
- return pprint.pformat(self.to_dict())
135
-
136
- def __repr__(self):
137
- """For `print` and `pprint`"""
138
- return self.to_str()
139
-
140
- def __eq__(self, other):
141
- """Returns true if both objects are equal"""
142
- if not isinstance(other, UpdateModelDeployment):
143
- return False
144
-
145
- return self.to_dict() == other.to_dict()
146
-
147
- def __ne__(self, other):
148
- """Returns true if both objects are not equal"""
149
- if not isinstance(other, UpdateModelDeployment):
150
- return True
151
-
152
- return self.to_dict() != other.to_dict()