anyscale 0.25.6__py3-none-any.whl → 0.25.7__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/_private/docgen/models.md +2 -39
- anyscale/client/openapi_client/api/default_api.py +21 -1
- anyscale/client/openapi_client/models/baseimagesenum.py +51 -1
- anyscale/client/openapi_client/models/cluster_event.py +32 -3
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +51 -1
- anyscale/connect_utils/prepare_cluster.py +13 -12
- anyscale/sdk/anyscale_client/__init__.py +0 -4
- anyscale/sdk/anyscale_client/api/default_api.py +0 -607
- anyscale/sdk/anyscale_client/models/__init__.py +0 -4
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +51 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +51 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +2 -1
- anyscale/version.py +1 -1
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/METADATA +1 -1
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/RECORD +20 -24
- anyscale/sdk/anyscale_client/models/appconfig_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/appconfig_response.py +0 -121
- anyscale/sdk/anyscale_client/models/create_app_config.py +0 -235
- anyscale/sdk/anyscale_client/models/update_app_config.py +0 -122
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/LICENSE +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/NOTICE +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/WHEEL +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/entry_points.txt +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/top_level.txt +0 -0
@@ -1,121 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Anyscale 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 anyscale_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class AppconfigResponse(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
|
-
'result': 'AppConfig'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""AppconfigResponse - 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._result = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
self.result = result
|
53
|
-
|
54
|
-
@property
|
55
|
-
def result(self):
|
56
|
-
"""Gets the result of this AppconfigResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this AppconfigResponse. # noqa: E501
|
60
|
-
:rtype: AppConfig
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this AppconfigResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this AppconfigResponse. # noqa: E501
|
70
|
-
:type: AppConfig
|
71
|
-
"""
|
72
|
-
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
|
-
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
74
|
-
|
75
|
-
self._result = result
|
76
|
-
|
77
|
-
def to_dict(self):
|
78
|
-
"""Returns the model properties as a dict"""
|
79
|
-
result = {}
|
80
|
-
|
81
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
82
|
-
value = getattr(self, attr)
|
83
|
-
if isinstance(value, list):
|
84
|
-
result[attr] = list(map(
|
85
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
86
|
-
value
|
87
|
-
))
|
88
|
-
elif hasattr(value, "to_dict"):
|
89
|
-
result[attr] = value.to_dict()
|
90
|
-
elif isinstance(value, dict):
|
91
|
-
result[attr] = dict(map(
|
92
|
-
lambda item: (item[0], item[1].to_dict())
|
93
|
-
if hasattr(item[1], "to_dict") else item,
|
94
|
-
value.items()
|
95
|
-
))
|
96
|
-
else:
|
97
|
-
result[attr] = value
|
98
|
-
|
99
|
-
return result
|
100
|
-
|
101
|
-
def to_str(self):
|
102
|
-
"""Returns the string representation of the model"""
|
103
|
-
return pprint.pformat(self.to_dict())
|
104
|
-
|
105
|
-
def __repr__(self):
|
106
|
-
"""For `print` and `pprint`"""
|
107
|
-
return self.to_str()
|
108
|
-
|
109
|
-
def __eq__(self, other):
|
110
|
-
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other, AppconfigResponse):
|
112
|
-
return False
|
113
|
-
|
114
|
-
return self.to_dict() == other.to_dict()
|
115
|
-
|
116
|
-
def __ne__(self, other):
|
117
|
-
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other, AppconfigResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,235 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Anyscale 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 anyscale_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class CreateAppConfig(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
|
-
'name': 'str',
|
37
|
-
'project_id': 'str',
|
38
|
-
'config_json': 'CreateAppConfigConfigurationSchema',
|
39
|
-
'containerfile': 'str',
|
40
|
-
'anonymous': 'bool'
|
41
|
-
}
|
42
|
-
|
43
|
-
attribute_map = {
|
44
|
-
'name': 'name',
|
45
|
-
'project_id': 'project_id',
|
46
|
-
'config_json': 'config_json',
|
47
|
-
'containerfile': 'containerfile',
|
48
|
-
'anonymous': 'anonymous'
|
49
|
-
}
|
50
|
-
|
51
|
-
def __init__(self, name=None, project_id=None, config_json=None, containerfile=None, anonymous=False, local_vars_configuration=None): # noqa: E501
|
52
|
-
"""CreateAppConfig - 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
|
-
|
57
|
-
self._name = None
|
58
|
-
self._project_id = None
|
59
|
-
self._config_json = None
|
60
|
-
self._containerfile = None
|
61
|
-
self._anonymous = None
|
62
|
-
self.discriminator = None
|
63
|
-
|
64
|
-
self.name = name
|
65
|
-
if project_id is not None:
|
66
|
-
self.project_id = project_id
|
67
|
-
if config_json is not None:
|
68
|
-
self.config_json = config_json
|
69
|
-
if containerfile is not None:
|
70
|
-
self.containerfile = containerfile
|
71
|
-
if anonymous is not None:
|
72
|
-
self.anonymous = anonymous
|
73
|
-
|
74
|
-
@property
|
75
|
-
def name(self):
|
76
|
-
"""Gets the name of this CreateAppConfig. # noqa: E501
|
77
|
-
|
78
|
-
Name of the App Template. # noqa: E501
|
79
|
-
|
80
|
-
:return: The name of this CreateAppConfig. # noqa: E501
|
81
|
-
:rtype: str
|
82
|
-
"""
|
83
|
-
return self._name
|
84
|
-
|
85
|
-
@name.setter
|
86
|
-
def name(self, name):
|
87
|
-
"""Sets the name of this CreateAppConfig.
|
88
|
-
|
89
|
-
Name of the App Template. # noqa: E501
|
90
|
-
|
91
|
-
:param name: The name of this CreateAppConfig. # noqa: E501
|
92
|
-
:type: str
|
93
|
-
"""
|
94
|
-
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
95
|
-
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
96
|
-
|
97
|
-
self._name = name
|
98
|
-
|
99
|
-
@property
|
100
|
-
def project_id(self):
|
101
|
-
"""Gets the project_id of this CreateAppConfig. # noqa: E501
|
102
|
-
|
103
|
-
ID of the Project this App Config is for. # noqa: E501
|
104
|
-
|
105
|
-
:return: The project_id of this CreateAppConfig. # noqa: E501
|
106
|
-
:rtype: str
|
107
|
-
"""
|
108
|
-
return self._project_id
|
109
|
-
|
110
|
-
@project_id.setter
|
111
|
-
def project_id(self, project_id):
|
112
|
-
"""Sets the project_id of this CreateAppConfig.
|
113
|
-
|
114
|
-
ID of the Project this App Config is for. # noqa: E501
|
115
|
-
|
116
|
-
:param project_id: The project_id of this CreateAppConfig. # noqa: E501
|
117
|
-
:type: str
|
118
|
-
"""
|
119
|
-
|
120
|
-
self._project_id = project_id
|
121
|
-
|
122
|
-
@property
|
123
|
-
def config_json(self):
|
124
|
-
"""Gets the config_json of this CreateAppConfig. # noqa: E501
|
125
|
-
|
126
|
-
Config JSON to use to create a new App Config. # noqa: E501
|
127
|
-
|
128
|
-
:return: The config_json of this CreateAppConfig. # noqa: E501
|
129
|
-
:rtype: CreateAppConfigConfigurationSchema
|
130
|
-
"""
|
131
|
-
return self._config_json
|
132
|
-
|
133
|
-
@config_json.setter
|
134
|
-
def config_json(self, config_json):
|
135
|
-
"""Sets the config_json of this CreateAppConfig.
|
136
|
-
|
137
|
-
Config JSON to use to create a new App Config. # noqa: E501
|
138
|
-
|
139
|
-
:param config_json: The config_json of this CreateAppConfig. # noqa: E501
|
140
|
-
:type: CreateAppConfigConfigurationSchema
|
141
|
-
"""
|
142
|
-
|
143
|
-
self._config_json = config_json
|
144
|
-
|
145
|
-
@property
|
146
|
-
def containerfile(self):
|
147
|
-
"""Gets the containerfile of this CreateAppConfig. # noqa: E501
|
148
|
-
|
149
|
-
Containerfile to use to create a new App Config. # noqa: E501
|
150
|
-
|
151
|
-
:return: The containerfile of this CreateAppConfig. # noqa: E501
|
152
|
-
:rtype: str
|
153
|
-
"""
|
154
|
-
return self._containerfile
|
155
|
-
|
156
|
-
@containerfile.setter
|
157
|
-
def containerfile(self, containerfile):
|
158
|
-
"""Sets the containerfile of this CreateAppConfig.
|
159
|
-
|
160
|
-
Containerfile to use to create a new App Config. # noqa: E501
|
161
|
-
|
162
|
-
:param containerfile: The containerfile of this CreateAppConfig. # noqa: E501
|
163
|
-
:type: str
|
164
|
-
"""
|
165
|
-
|
166
|
-
self._containerfile = containerfile
|
167
|
-
|
168
|
-
@property
|
169
|
-
def anonymous(self):
|
170
|
-
"""Gets the anonymous of this CreateAppConfig. # noqa: E501
|
171
|
-
|
172
|
-
True if this is an anonymous app config. # noqa: E501
|
173
|
-
|
174
|
-
:return: The anonymous of this CreateAppConfig. # noqa: E501
|
175
|
-
:rtype: bool
|
176
|
-
"""
|
177
|
-
return self._anonymous
|
178
|
-
|
179
|
-
@anonymous.setter
|
180
|
-
def anonymous(self, anonymous):
|
181
|
-
"""Sets the anonymous of this CreateAppConfig.
|
182
|
-
|
183
|
-
True if this is an anonymous app config. # noqa: E501
|
184
|
-
|
185
|
-
:param anonymous: The anonymous of this CreateAppConfig. # noqa: E501
|
186
|
-
:type: bool
|
187
|
-
"""
|
188
|
-
|
189
|
-
self._anonymous = anonymous
|
190
|
-
|
191
|
-
def to_dict(self):
|
192
|
-
"""Returns the model properties as a dict"""
|
193
|
-
result = {}
|
194
|
-
|
195
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
196
|
-
value = getattr(self, attr)
|
197
|
-
if isinstance(value, list):
|
198
|
-
result[attr] = list(map(
|
199
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
200
|
-
value
|
201
|
-
))
|
202
|
-
elif hasattr(value, "to_dict"):
|
203
|
-
result[attr] = value.to_dict()
|
204
|
-
elif isinstance(value, dict):
|
205
|
-
result[attr] = dict(map(
|
206
|
-
lambda item: (item[0], item[1].to_dict())
|
207
|
-
if hasattr(item[1], "to_dict") else item,
|
208
|
-
value.items()
|
209
|
-
))
|
210
|
-
else:
|
211
|
-
result[attr] = value
|
212
|
-
|
213
|
-
return result
|
214
|
-
|
215
|
-
def to_str(self):
|
216
|
-
"""Returns the string representation of the model"""
|
217
|
-
return pprint.pformat(self.to_dict())
|
218
|
-
|
219
|
-
def __repr__(self):
|
220
|
-
"""For `print` and `pprint`"""
|
221
|
-
return self.to_str()
|
222
|
-
|
223
|
-
def __eq__(self, other):
|
224
|
-
"""Returns true if both objects are equal"""
|
225
|
-
if not isinstance(other, CreateAppConfig):
|
226
|
-
return False
|
227
|
-
|
228
|
-
return self.to_dict() == other.to_dict()
|
229
|
-
|
230
|
-
def __ne__(self, other):
|
231
|
-
"""Returns true if both objects are not equal"""
|
232
|
-
if not isinstance(other, CreateAppConfig):
|
233
|
-
return True
|
234
|
-
|
235
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,122 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Anyscale 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 anyscale_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class UpdateAppConfig(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
|
-
'name': 'str'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'name': 'name'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, name=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""UpdateAppConfig - 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._name = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
if name is not None:
|
53
|
-
self.name = name
|
54
|
-
|
55
|
-
@property
|
56
|
-
def name(self):
|
57
|
-
"""Gets the name of this UpdateAppConfig. # noqa: E501
|
58
|
-
|
59
|
-
Name of the App Config. # noqa: E501
|
60
|
-
|
61
|
-
:return: The name of this UpdateAppConfig. # noqa: E501
|
62
|
-
:rtype: str
|
63
|
-
"""
|
64
|
-
return self._name
|
65
|
-
|
66
|
-
@name.setter
|
67
|
-
def name(self, name):
|
68
|
-
"""Sets the name of this UpdateAppConfig.
|
69
|
-
|
70
|
-
Name of the App Config. # noqa: E501
|
71
|
-
|
72
|
-
:param name: The name of this UpdateAppConfig. # noqa: E501
|
73
|
-
:type: str
|
74
|
-
"""
|
75
|
-
|
76
|
-
self._name = name
|
77
|
-
|
78
|
-
def to_dict(self):
|
79
|
-
"""Returns the model properties as a dict"""
|
80
|
-
result = {}
|
81
|
-
|
82
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
83
|
-
value = getattr(self, attr)
|
84
|
-
if isinstance(value, list):
|
85
|
-
result[attr] = list(map(
|
86
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
87
|
-
value
|
88
|
-
))
|
89
|
-
elif hasattr(value, "to_dict"):
|
90
|
-
result[attr] = value.to_dict()
|
91
|
-
elif isinstance(value, dict):
|
92
|
-
result[attr] = dict(map(
|
93
|
-
lambda item: (item[0], item[1].to_dict())
|
94
|
-
if hasattr(item[1], "to_dict") else item,
|
95
|
-
value.items()
|
96
|
-
))
|
97
|
-
else:
|
98
|
-
result[attr] = value
|
99
|
-
|
100
|
-
return result
|
101
|
-
|
102
|
-
def to_str(self):
|
103
|
-
"""Returns the string representation of the model"""
|
104
|
-
return pprint.pformat(self.to_dict())
|
105
|
-
|
106
|
-
def __repr__(self):
|
107
|
-
"""For `print` and `pprint`"""
|
108
|
-
return self.to_str()
|
109
|
-
|
110
|
-
def __eq__(self, other):
|
111
|
-
"""Returns true if both objects are equal"""
|
112
|
-
if not isinstance(other, UpdateAppConfig):
|
113
|
-
return False
|
114
|
-
|
115
|
-
return self.to_dict() == other.to_dict()
|
116
|
-
|
117
|
-
def __ne__(self, other):
|
118
|
-
"""Returns true if both objects are not equal"""
|
119
|
-
if not isinstance(other, UpdateAppConfig):
|
120
|
-
return True
|
121
|
-
|
122
|
-
return self.to_dict() != other.to_dict()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|