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.
- anyscale/client/README.md +1 -33
- anyscale/client/openapi_client/__init__.py +0 -20
- anyscale/client/openapi_client/api/default_api.py +114 -1544
- anyscale/client/openapi_client/models/__init__.py +0 -20
- anyscale/version.py +1 -1
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/METADATA +1 -1
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/RECORD +12 -32
- anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
- anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
- anyscale/client/openapi_client/models/aica_endpoint_event_level.py +0 -103
- anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
- anyscale/client/openapi_client/models/aica_endpoint_scope.py +0 -102
- anyscale/client/openapi_client/models/aica_model.py +0 -398
- anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
- anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
- anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
- anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicaendpoint_response.py +0 -121
- anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicamodel_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicamodel_response.py +0 -121
- anyscale/client/openapi_client/models/aws_credentials.py +0 -181
- anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
- anyscale/client/openapi_client/models/import_aica_model.py +0 -241
- anyscale/client/openapi_client/models/named_entity.py +0 -148
- anyscale/client/openapi_client/models/update_endpoint.py +0 -152
- anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/LICENSE +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/NOTICE +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/WHEEL +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.2.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()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|