anyscale 0.26.61__py3-none-any.whl → 0.26.62__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 -0
- anyscale/client/README.md +16 -3
- anyscale/client/openapi_client/__init__.py +9 -3
- anyscale/client/openapi_client/api/default_api.py +3215 -2399
- anyscale/client/openapi_client/models/__init__.py +9 -3
- anyscale/client/openapi_client/models/api_key_info.py +280 -0
- anyscale/client/openapi_client/models/api_key_parameters.py +29 -3
- anyscale/client/openapi_client/models/{aggregatedinstanceusagecsv_list_response.py → apikeyinfo_list_response.py} +15 -15
- anyscale/client/openapi_client/models/compute_node_type.py +29 -1
- anyscale/client/openapi_client/models/gpu_usage.py +236 -0
- anyscale/client/openapi_client/models/node_metrics.py +404 -0
- anyscale/client/openapi_client/models/node_metrics_response.py +123 -0
- anyscale/client/openapi_client/models/{cloud_hosting_type.py → nodemetricsresponse_response.py} +34 -13
- anyscale/client/openapi_client/models/revoke_api_keys_request.py +123 -0
- anyscale/client/openapi_client/models/revoke_api_keys_response.py +202 -0
- anyscale/client/openapi_client/models/revokeapikeysresponse_response.py +121 -0
- anyscale/client/openapi_client/models/worker_node_type.py +29 -1
- anyscale/compute_config/_private/compute_config_sdk.py +4 -0
- anyscale/compute_config/models.py +24 -0
- anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
- anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
- anyscale/version.py +1 -1
- anyscale/workspace/commands.py +23 -114
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/METADATA +1 -1
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/RECORD +30 -24
- anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +0 -889
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/WHEEL +0 -0
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/top_level.txt +0 -0
@@ -21,10 +21,8 @@ from openapi_client.models.actor_status import ActorStatus
|
|
21
21
|
from openapi_client.models.admin_create_user import AdminCreateUser
|
22
22
|
from openapi_client.models.admin_created_user import AdminCreatedUser
|
23
23
|
from openapi_client.models.admincreateduser_list_response import AdmincreateduserListResponse
|
24
|
-
from openapi_client.models.aggregated_instance_usage_csv import AggregatedInstanceUsageCSV
|
25
24
|
from openapi_client.models.aggregated_usage import AggregatedUsage
|
26
25
|
from openapi_client.models.aggregated_usage_query import AggregatedUsageQuery
|
27
|
-
from openapi_client.models.aggregatedinstanceusagecsv_list_response import AggregatedinstanceusagecsvListResponse
|
28
26
|
from openapi_client.models.aggregatedusage_response import AggregatedusageResponse
|
29
27
|
from openapi_client.models.aioa_cloud_waitlist_record import AioaCloudWaitlistRecord
|
30
28
|
from openapi_client.models.aioacloudwaitlistrecord_response import AioacloudwaitlistrecordResponse
|
@@ -35,7 +33,9 @@ from openapi_client.models.anyscaleawsaccount_response import Anyscaleawsaccount
|
|
35
33
|
from openapi_client.models.anyscaled_credential_response import AnyscaledCredentialResponse
|
36
34
|
from openapi_client.models.anyscaledcredentialresponse_response import AnyscaledcredentialresponseResponse
|
37
35
|
from openapi_client.models.anyscaleserviceaccount_response import AnyscaleserviceaccountResponse
|
36
|
+
from openapi_client.models.api_key_info import ApiKeyInfo
|
38
37
|
from openapi_client.models.api_key_parameters import ApiKeyParameters
|
38
|
+
from openapi_client.models.apikeyinfo_list_response import ApikeyinfoListResponse
|
39
39
|
from openapi_client.models.app_config import AppConfig
|
40
40
|
from openapi_client.models.app_config_config_schema import AppConfigConfigSchema
|
41
41
|
from openapi_client.models.appconfig_list_response import AppconfigListResponse
|
@@ -91,7 +91,6 @@ from openapi_client.models.cloud_data_bucket_request_scope import CloudDataBucke
|
|
91
91
|
from openapi_client.models.cloud_deployment import CloudDeployment
|
92
92
|
from openapi_client.models.cloud_deployment_compute_config import CloudDeploymentComputeConfig
|
93
93
|
from openapi_client.models.cloud_deployment_config import CloudDeploymentConfig
|
94
|
-
from openapi_client.models.cloud_hosting_type import CloudHostingType
|
95
94
|
from openapi_client.models.cloud_list_response import CloudListResponse
|
96
95
|
from openapi_client.models.cloud_name_options import CloudNameOptions
|
97
96
|
from openapi_client.models.cloud_overview_dashboard import CloudOverviewDashboard
|
@@ -309,6 +308,7 @@ from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
|
|
309
308
|
from openapi_client.models.gcp_config import GCPConfig
|
310
309
|
from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
|
311
310
|
from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
|
311
|
+
from openapi_client.models.gpu_usage import GPUUsage
|
312
312
|
from openapi_client.models.get_or_create_build_from_image_uri_request import GetOrCreateBuildFromImageUriRequest
|
313
313
|
from openapi_client.models.global_workspace_template import GlobalWorkspaceTemplate
|
314
314
|
from openapi_client.models.globalworkspacetemplate_list_response import GlobalworkspacetemplateListResponse
|
@@ -416,6 +416,8 @@ from openapi_client.models.minibuild_list_response import MinibuildListResponse
|
|
416
416
|
from openapi_client.models.minicomputetemplate_list_response import MinicomputetemplateListResponse
|
417
417
|
from openapi_client.models.nfs_mount_target import NFSMountTarget
|
418
418
|
from openapi_client.models.networking_mode import NetworkingMode
|
419
|
+
from openapi_client.models.node_metrics import NodeMetrics
|
420
|
+
from openapi_client.models.node_metrics_response import NodeMetricsResponse
|
419
421
|
from openapi_client.models.node_registration_aws import NodeRegistrationAWS
|
420
422
|
from openapi_client.models.node_registration_gcp import NodeRegistrationGCP
|
421
423
|
from openapi_client.models.node_registration_k8_s import NodeRegistrationK8S
|
@@ -423,6 +425,7 @@ from openapi_client.models.node_registration_provisioned import NodeRegistration
|
|
423
425
|
from openapi_client.models.node_registration_v2 import NodeRegistrationV2
|
424
426
|
from openapi_client.models.node_status import NodeStatus
|
425
427
|
from openapi_client.models.node_type import NodeType
|
428
|
+
from openapi_client.models.nodemetricsresponse_response import NodemetricsresponseResponse
|
426
429
|
from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
|
427
430
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
428
431
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
@@ -514,6 +517,9 @@ from openapi_client.models.resourcequota_list_response import ResourcequotaListR
|
|
514
517
|
from openapi_client.models.resourcequota_response import ResourcequotaResponse
|
515
518
|
from openapi_client.models.resources import Resources
|
516
519
|
from openapi_client.models.resourcetagslist_response import ResourcetagslistResponse
|
520
|
+
from openapi_client.models.revoke_api_keys_request import RevokeApiKeysRequest
|
521
|
+
from openapi_client.models.revoke_api_keys_response import RevokeApiKeysResponse
|
522
|
+
from openapi_client.models.revokeapikeysresponse_response import RevokeapikeysresponseResponse
|
517
523
|
from openapi_client.models.rollback_service_model import RollbackServiceModel
|
518
524
|
from openapi_client.models.rollout_strategy import RolloutStrategy
|
519
525
|
from openapi_client.models.run_attempt_status import RunAttemptStatus
|
@@ -0,0 +1,280 @@
|
|
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 ApiKeyInfo(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
|
+
'hex_hashed_id': 'str',
|
37
|
+
'display_id': 'str',
|
38
|
+
'created_at': 'datetime',
|
39
|
+
'expires_at': 'datetime',
|
40
|
+
'name': 'str',
|
41
|
+
'created_by': 'str',
|
42
|
+
'revoked_at': 'datetime'
|
43
|
+
}
|
44
|
+
|
45
|
+
attribute_map = {
|
46
|
+
'hex_hashed_id': 'hex_hashed_id',
|
47
|
+
'display_id': 'display_id',
|
48
|
+
'created_at': 'created_at',
|
49
|
+
'expires_at': 'expires_at',
|
50
|
+
'name': 'name',
|
51
|
+
'created_by': 'created_by',
|
52
|
+
'revoked_at': 'revoked_at'
|
53
|
+
}
|
54
|
+
|
55
|
+
def __init__(self, hex_hashed_id=None, display_id=None, created_at=None, expires_at=None, name=None, created_by=None, revoked_at=None, local_vars_configuration=None): # noqa: E501
|
56
|
+
"""ApiKeyInfo - a model defined in OpenAPI""" # noqa: E501
|
57
|
+
if local_vars_configuration is None:
|
58
|
+
local_vars_configuration = Configuration()
|
59
|
+
self.local_vars_configuration = local_vars_configuration
|
60
|
+
|
61
|
+
self._hex_hashed_id = None
|
62
|
+
self._display_id = None
|
63
|
+
self._created_at = None
|
64
|
+
self._expires_at = None
|
65
|
+
self._name = None
|
66
|
+
self._created_by = None
|
67
|
+
self._revoked_at = None
|
68
|
+
self.discriminator = None
|
69
|
+
|
70
|
+
self.hex_hashed_id = hex_hashed_id
|
71
|
+
self.display_id = display_id
|
72
|
+
self.created_at = created_at
|
73
|
+
self.expires_at = expires_at
|
74
|
+
if name is not None:
|
75
|
+
self.name = name
|
76
|
+
if created_by is not None:
|
77
|
+
self.created_by = created_by
|
78
|
+
if revoked_at is not None:
|
79
|
+
self.revoked_at = revoked_at
|
80
|
+
|
81
|
+
@property
|
82
|
+
def hex_hashed_id(self):
|
83
|
+
"""Gets the hex_hashed_id of this ApiKeyInfo. # noqa: E501
|
84
|
+
|
85
|
+
|
86
|
+
:return: The hex_hashed_id of this ApiKeyInfo. # noqa: E501
|
87
|
+
:rtype: str
|
88
|
+
"""
|
89
|
+
return self._hex_hashed_id
|
90
|
+
|
91
|
+
@hex_hashed_id.setter
|
92
|
+
def hex_hashed_id(self, hex_hashed_id):
|
93
|
+
"""Sets the hex_hashed_id of this ApiKeyInfo.
|
94
|
+
|
95
|
+
|
96
|
+
:param hex_hashed_id: The hex_hashed_id of this ApiKeyInfo. # noqa: E501
|
97
|
+
:type: str
|
98
|
+
"""
|
99
|
+
if self.local_vars_configuration.client_side_validation and hex_hashed_id is None: # noqa: E501
|
100
|
+
raise ValueError("Invalid value for `hex_hashed_id`, must not be `None`") # noqa: E501
|
101
|
+
|
102
|
+
self._hex_hashed_id = hex_hashed_id
|
103
|
+
|
104
|
+
@property
|
105
|
+
def display_id(self):
|
106
|
+
"""Gets the display_id of this ApiKeyInfo. # noqa: E501
|
107
|
+
|
108
|
+
|
109
|
+
:return: The display_id of this ApiKeyInfo. # noqa: E501
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._display_id
|
113
|
+
|
114
|
+
@display_id.setter
|
115
|
+
def display_id(self, display_id):
|
116
|
+
"""Sets the display_id of this ApiKeyInfo.
|
117
|
+
|
118
|
+
|
119
|
+
:param display_id: The display_id of this ApiKeyInfo. # noqa: E501
|
120
|
+
:type: str
|
121
|
+
"""
|
122
|
+
if self.local_vars_configuration.client_side_validation and display_id is None: # noqa: E501
|
123
|
+
raise ValueError("Invalid value for `display_id`, must not be `None`") # noqa: E501
|
124
|
+
|
125
|
+
self._display_id = display_id
|
126
|
+
|
127
|
+
@property
|
128
|
+
def created_at(self):
|
129
|
+
"""Gets the created_at of this ApiKeyInfo. # noqa: E501
|
130
|
+
|
131
|
+
|
132
|
+
:return: The created_at of this ApiKeyInfo. # noqa: E501
|
133
|
+
:rtype: datetime
|
134
|
+
"""
|
135
|
+
return self._created_at
|
136
|
+
|
137
|
+
@created_at.setter
|
138
|
+
def created_at(self, created_at):
|
139
|
+
"""Sets the created_at of this ApiKeyInfo.
|
140
|
+
|
141
|
+
|
142
|
+
:param created_at: The created_at of this ApiKeyInfo. # noqa: E501
|
143
|
+
:type: datetime
|
144
|
+
"""
|
145
|
+
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
146
|
+
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
147
|
+
|
148
|
+
self._created_at = created_at
|
149
|
+
|
150
|
+
@property
|
151
|
+
def expires_at(self):
|
152
|
+
"""Gets the expires_at of this ApiKeyInfo. # noqa: E501
|
153
|
+
|
154
|
+
|
155
|
+
:return: The expires_at of this ApiKeyInfo. # noqa: E501
|
156
|
+
:rtype: datetime
|
157
|
+
"""
|
158
|
+
return self._expires_at
|
159
|
+
|
160
|
+
@expires_at.setter
|
161
|
+
def expires_at(self, expires_at):
|
162
|
+
"""Sets the expires_at of this ApiKeyInfo.
|
163
|
+
|
164
|
+
|
165
|
+
:param expires_at: The expires_at of this ApiKeyInfo. # noqa: E501
|
166
|
+
:type: datetime
|
167
|
+
"""
|
168
|
+
if self.local_vars_configuration.client_side_validation and expires_at is None: # noqa: E501
|
169
|
+
raise ValueError("Invalid value for `expires_at`, must not be `None`") # noqa: E501
|
170
|
+
|
171
|
+
self._expires_at = expires_at
|
172
|
+
|
173
|
+
@property
|
174
|
+
def name(self):
|
175
|
+
"""Gets the name of this ApiKeyInfo. # noqa: E501
|
176
|
+
|
177
|
+
|
178
|
+
:return: The name of this ApiKeyInfo. # noqa: E501
|
179
|
+
:rtype: str
|
180
|
+
"""
|
181
|
+
return self._name
|
182
|
+
|
183
|
+
@name.setter
|
184
|
+
def name(self, name):
|
185
|
+
"""Sets the name of this ApiKeyInfo.
|
186
|
+
|
187
|
+
|
188
|
+
:param name: The name of this ApiKeyInfo. # noqa: E501
|
189
|
+
:type: str
|
190
|
+
"""
|
191
|
+
|
192
|
+
self._name = name
|
193
|
+
|
194
|
+
@property
|
195
|
+
def created_by(self):
|
196
|
+
"""Gets the created_by of this ApiKeyInfo. # noqa: E501
|
197
|
+
|
198
|
+
|
199
|
+
:return: The created_by of this ApiKeyInfo. # noqa: E501
|
200
|
+
:rtype: str
|
201
|
+
"""
|
202
|
+
return self._created_by
|
203
|
+
|
204
|
+
@created_by.setter
|
205
|
+
def created_by(self, created_by):
|
206
|
+
"""Sets the created_by of this ApiKeyInfo.
|
207
|
+
|
208
|
+
|
209
|
+
:param created_by: The created_by of this ApiKeyInfo. # noqa: E501
|
210
|
+
:type: str
|
211
|
+
"""
|
212
|
+
|
213
|
+
self._created_by = created_by
|
214
|
+
|
215
|
+
@property
|
216
|
+
def revoked_at(self):
|
217
|
+
"""Gets the revoked_at of this ApiKeyInfo. # noqa: E501
|
218
|
+
|
219
|
+
|
220
|
+
:return: The revoked_at of this ApiKeyInfo. # noqa: E501
|
221
|
+
:rtype: datetime
|
222
|
+
"""
|
223
|
+
return self._revoked_at
|
224
|
+
|
225
|
+
@revoked_at.setter
|
226
|
+
def revoked_at(self, revoked_at):
|
227
|
+
"""Sets the revoked_at of this ApiKeyInfo.
|
228
|
+
|
229
|
+
|
230
|
+
:param revoked_at: The revoked_at of this ApiKeyInfo. # noqa: E501
|
231
|
+
:type: datetime
|
232
|
+
"""
|
233
|
+
|
234
|
+
self._revoked_at = revoked_at
|
235
|
+
|
236
|
+
def to_dict(self):
|
237
|
+
"""Returns the model properties as a dict"""
|
238
|
+
result = {}
|
239
|
+
|
240
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
241
|
+
value = getattr(self, attr)
|
242
|
+
if isinstance(value, list):
|
243
|
+
result[attr] = list(map(
|
244
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
245
|
+
value
|
246
|
+
))
|
247
|
+
elif hasattr(value, "to_dict"):
|
248
|
+
result[attr] = value.to_dict()
|
249
|
+
elif isinstance(value, dict):
|
250
|
+
result[attr] = dict(map(
|
251
|
+
lambda item: (item[0], item[1].to_dict())
|
252
|
+
if hasattr(item[1], "to_dict") else item,
|
253
|
+
value.items()
|
254
|
+
))
|
255
|
+
else:
|
256
|
+
result[attr] = value
|
257
|
+
|
258
|
+
return result
|
259
|
+
|
260
|
+
def to_str(self):
|
261
|
+
"""Returns the string representation of the model"""
|
262
|
+
return pprint.pformat(self.to_dict())
|
263
|
+
|
264
|
+
def __repr__(self):
|
265
|
+
"""For `print` and `pprint`"""
|
266
|
+
return self.to_str()
|
267
|
+
|
268
|
+
def __eq__(self, other):
|
269
|
+
"""Returns true if both objects are equal"""
|
270
|
+
if not isinstance(other, ApiKeyInfo):
|
271
|
+
return False
|
272
|
+
|
273
|
+
return self.to_dict() == other.to_dict()
|
274
|
+
|
275
|
+
def __ne__(self, other):
|
276
|
+
"""Returns true if both objects are not equal"""
|
277
|
+
if not isinstance(other, ApiKeyInfo):
|
278
|
+
return True
|
279
|
+
|
280
|
+
return self.to_dict() != other.to_dict()
|
@@ -34,15 +34,17 @@ class ApiKeyParameters(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'duration': 'float',
|
37
|
-
'user_id': 'str'
|
37
|
+
'user_id': 'str',
|
38
|
+
'name': 'str'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'duration': 'duration',
|
42
|
-
'user_id': 'user_id'
|
43
|
+
'user_id': 'user_id',
|
44
|
+
'name': 'name'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, duration=None, user_id=None, local_vars_configuration=None): # noqa: E501
|
47
|
+
def __init__(self, duration=None, user_id=None, name=None, local_vars_configuration=None): # noqa: E501
|
46
48
|
"""ApiKeyParameters - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
@@ -50,11 +52,14 @@ class ApiKeyParameters(object):
|
|
50
52
|
|
51
53
|
self._duration = None
|
52
54
|
self._user_id = None
|
55
|
+
self._name = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.duration = duration
|
56
59
|
if user_id is not None:
|
57
60
|
self.user_id = user_id
|
61
|
+
if name is not None:
|
62
|
+
self.name = name
|
58
63
|
|
59
64
|
@property
|
60
65
|
def duration(self):
|
@@ -100,6 +105,27 @@ class ApiKeyParameters(object):
|
|
100
105
|
|
101
106
|
self._user_id = user_id
|
102
107
|
|
108
|
+
@property
|
109
|
+
def name(self):
|
110
|
+
"""Gets the name of this ApiKeyParameters. # noqa: E501
|
111
|
+
|
112
|
+
|
113
|
+
:return: The name of this ApiKeyParameters. # noqa: E501
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._name
|
117
|
+
|
118
|
+
@name.setter
|
119
|
+
def name(self, name):
|
120
|
+
"""Sets the name of this ApiKeyParameters.
|
121
|
+
|
122
|
+
|
123
|
+
:param name: The name of this ApiKeyParameters. # noqa: E501
|
124
|
+
:type: str
|
125
|
+
"""
|
126
|
+
|
127
|
+
self._name = name
|
128
|
+
|
103
129
|
def to_dict(self):
|
104
130
|
"""Returns the model properties as a dict"""
|
105
131
|
result = {}
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ApikeyinfoListResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,7 +33,7 @@ class AggregatedinstanceusagecsvListResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'results': 'list[
|
36
|
+
'results': 'list[ApiKeyInfo]',
|
37
37
|
'metadata': 'ListResponseMetadata'
|
38
38
|
}
|
39
39
|
|
@@ -43,7 +43,7 @@ class AggregatedinstanceusagecsvListResponse(object):
|
|
43
43
|
}
|
44
44
|
|
45
45
|
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""
|
46
|
+
"""ApikeyinfoListResponse - a model defined in OpenAPI""" # noqa: E501
|
47
47
|
if local_vars_configuration is None:
|
48
48
|
local_vars_configuration = Configuration()
|
49
49
|
self.local_vars_configuration = local_vars_configuration
|
@@ -58,21 +58,21 @@ class AggregatedinstanceusagecsvListResponse(object):
|
|
58
58
|
|
59
59
|
@property
|
60
60
|
def results(self):
|
61
|
-
"""Gets the results of this
|
61
|
+
"""Gets the results of this ApikeyinfoListResponse. # noqa: E501
|
62
62
|
|
63
63
|
|
64
|
-
:return: The results of this
|
65
|
-
:rtype: list[
|
64
|
+
:return: The results of this ApikeyinfoListResponse. # noqa: E501
|
65
|
+
:rtype: list[ApiKeyInfo]
|
66
66
|
"""
|
67
67
|
return self._results
|
68
68
|
|
69
69
|
@results.setter
|
70
70
|
def results(self, results):
|
71
|
-
"""Sets the results of this
|
71
|
+
"""Sets the results of this ApikeyinfoListResponse.
|
72
72
|
|
73
73
|
|
74
|
-
:param results: The results of this
|
75
|
-
:type: list[
|
74
|
+
:param results: The results of this ApikeyinfoListResponse. # noqa: E501
|
75
|
+
:type: list[ApiKeyInfo]
|
76
76
|
"""
|
77
77
|
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
78
|
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
@@ -81,20 +81,20 @@ class AggregatedinstanceusagecsvListResponse(object):
|
|
81
81
|
|
82
82
|
@property
|
83
83
|
def metadata(self):
|
84
|
-
"""Gets the metadata of this
|
84
|
+
"""Gets the metadata of this ApikeyinfoListResponse. # noqa: E501
|
85
85
|
|
86
86
|
|
87
|
-
:return: The metadata of this
|
87
|
+
:return: The metadata of this ApikeyinfoListResponse. # noqa: E501
|
88
88
|
:rtype: ListResponseMetadata
|
89
89
|
"""
|
90
90
|
return self._metadata
|
91
91
|
|
92
92
|
@metadata.setter
|
93
93
|
def metadata(self, metadata):
|
94
|
-
"""Sets the metadata of this
|
94
|
+
"""Sets the metadata of this ApikeyinfoListResponse.
|
95
95
|
|
96
96
|
|
97
|
-
:param metadata: The metadata of this
|
97
|
+
:param metadata: The metadata of this ApikeyinfoListResponse. # noqa: E501
|
98
98
|
:type: ListResponseMetadata
|
99
99
|
"""
|
100
100
|
|
@@ -134,14 +134,14 @@ class AggregatedinstanceusagecsvListResponse(object):
|
|
134
134
|
|
135
135
|
def __eq__(self, other):
|
136
136
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
137
|
+
if not isinstance(other, ApikeyinfoListResponse):
|
138
138
|
return False
|
139
139
|
|
140
140
|
return self.to_dict() == other.to_dict()
|
141
141
|
|
142
142
|
def __ne__(self, other):
|
143
143
|
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other,
|
144
|
+
if not isinstance(other, ApikeyinfoListResponse):
|
145
145
|
return True
|
146
146
|
|
147
147
|
return self.to_dict() != other.to_dict()
|
@@ -36,6 +36,7 @@ class ComputeNodeType(object):
|
|
36
36
|
'name': 'str',
|
37
37
|
'instance_type': 'str',
|
38
38
|
'resources': 'Resources',
|
39
|
+
'labels': 'dict(str, str)',
|
39
40
|
'aws_advanced_configurations_json': 'object',
|
40
41
|
'gcp_advanced_configurations_json': 'object',
|
41
42
|
'advanced_configurations_json': 'object',
|
@@ -46,13 +47,14 @@ class ComputeNodeType(object):
|
|
46
47
|
'name': 'name',
|
47
48
|
'instance_type': 'instance_type',
|
48
49
|
'resources': 'resources',
|
50
|
+
'labels': 'labels',
|
49
51
|
'aws_advanced_configurations_json': 'aws_advanced_configurations_json',
|
50
52
|
'gcp_advanced_configurations_json': 'gcp_advanced_configurations_json',
|
51
53
|
'advanced_configurations_json': 'advanced_configurations_json',
|
52
54
|
'flags': 'flags'
|
53
55
|
}
|
54
56
|
|
55
|
-
def __init__(self, name=None, instance_type=None, resources=None, aws_advanced_configurations_json=None, gcp_advanced_configurations_json=None, advanced_configurations_json=None, flags=None, local_vars_configuration=None): # noqa: E501
|
57
|
+
def __init__(self, name=None, instance_type=None, resources=None, labels=None, aws_advanced_configurations_json=None, gcp_advanced_configurations_json=None, advanced_configurations_json=None, flags=None, local_vars_configuration=None): # noqa: E501
|
56
58
|
"""ComputeNodeType - a model defined in OpenAPI""" # noqa: E501
|
57
59
|
if local_vars_configuration is None:
|
58
60
|
local_vars_configuration = Configuration()
|
@@ -61,6 +63,7 @@ class ComputeNodeType(object):
|
|
61
63
|
self._name = None
|
62
64
|
self._instance_type = None
|
63
65
|
self._resources = None
|
66
|
+
self._labels = None
|
64
67
|
self._aws_advanced_configurations_json = None
|
65
68
|
self._gcp_advanced_configurations_json = None
|
66
69
|
self._advanced_configurations_json = None
|
@@ -71,6 +74,8 @@ class ComputeNodeType(object):
|
|
71
74
|
self.instance_type = instance_type
|
72
75
|
if resources is not None:
|
73
76
|
self.resources = resources
|
77
|
+
if labels is not None:
|
78
|
+
self.labels = labels
|
74
79
|
if aws_advanced_configurations_json is not None:
|
75
80
|
self.aws_advanced_configurations_json = aws_advanced_configurations_json
|
76
81
|
if gcp_advanced_configurations_json is not None:
|
@@ -153,6 +158,29 @@ class ComputeNodeType(object):
|
|
153
158
|
|
154
159
|
self._resources = resources
|
155
160
|
|
161
|
+
@property
|
162
|
+
def labels(self):
|
163
|
+
"""Gets the labels of this ComputeNodeType. # noqa: E501
|
164
|
+
|
165
|
+
Labels to associate the node with for scheduling purposes. Defaults to the list of Ray & Anyscale default labels. # noqa: E501
|
166
|
+
|
167
|
+
:return: The labels of this ComputeNodeType. # noqa: E501
|
168
|
+
:rtype: dict(str, str)
|
169
|
+
"""
|
170
|
+
return self._labels
|
171
|
+
|
172
|
+
@labels.setter
|
173
|
+
def labels(self, labels):
|
174
|
+
"""Sets the labels of this ComputeNodeType.
|
175
|
+
|
176
|
+
Labels to associate the node with for scheduling purposes. Defaults to the list of Ray & Anyscale default labels. # noqa: E501
|
177
|
+
|
178
|
+
:param labels: The labels of this ComputeNodeType. # noqa: E501
|
179
|
+
:type: dict(str, str)
|
180
|
+
"""
|
181
|
+
|
182
|
+
self._labels = labels
|
183
|
+
|
156
184
|
@property
|
157
185
|
def aws_advanced_configurations_json(self):
|
158
186
|
"""Gets the aws_advanced_configurations_json of this ComputeNodeType. # noqa: E501
|