anyscale 0.26.0__py3-none-any.whl → 0.26.2__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/anyscale_client/anyscale_client.py +13 -1
- anyscale/_private/anyscale_client/common.py +1 -1
- anyscale/_private/docgen/models.md +2 -2
- anyscale/client/README.md +21 -10
- anyscale/client/openapi_client/__init__.py +15 -6
- anyscale/client/openapi_client/api/default_api.py +322 -83
- anyscale/client/openapi_client/models/__init__.py +15 -6
- anyscale/client/openapi_client/models/{customer_billing_type.py → actor_status.py} +7 -8
- anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +81 -3
- anyscale/client/openapi_client/models/baseimagesenum.py +59 -1
- anyscale/client/openapi_client/models/create_organization_configuration.py +3 -3
- anyscale/client/openapi_client/models/{create_resource_alert.py → create_resource_notification.py} +40 -40
- anyscale/client/openapi_client/models/job_details.py +173 -0
- anyscale/client/openapi_client/models/{list_resource_alerts_query.py → list_resource_notifications_query.py} +24 -24
- anyscale/client/openapi_client/models/machine_launch_failure.py +152 -0
- anyscale/client/openapi_client/models/organization_configuration.py +3 -3
- anyscale/client/openapi_client/models/organization_configuration_response.py +3 -3
- anyscale/client/openapi_client/models/resource_alert_event_type.py +5 -1
- anyscale/client/openapi_client/models/{resource_alert.py → resource_notification.py} +64 -64
- anyscale/client/openapi_client/models/resourcenotification_list_response.py +147 -0
- anyscale/client/openapi_client/models/{resourcealert_response.py → resourcenotification_response.py} +11 -11
- anyscale/client/openapi_client/models/run_attempt_status.py +103 -0
- anyscale/client/openapi_client/models/run_status.py +106 -0
- anyscale/client/openapi_client/models/scheduler_info.py +32 -3
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +59 -1
- anyscale/client/openapi_client/models/tool.py +2 -1
- anyscale/client/openapi_client/models/train_resources.py +121 -0
- anyscale/client/openapi_client/models/train_run.py +387 -0
- anyscale/client/openapi_client/models/train_run_attempt.py +308 -0
- anyscale/client/openapi_client/models/train_worker.py +363 -0
- anyscale/client/openapi_client/models/{resourcealert_list_response.py → trainrun_list_response.py} +15 -15
- anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +31 -3
- anyscale/commands/machine_pool_commands.py +15 -10
- anyscale/resource_quota/commands.py +1 -2
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +59 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +59 -1
- anyscale/service/_private/service_sdk.py +2 -3
- anyscale/shared_anyscale_utils/constants.py +3 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/METADATA +1 -1
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/RECORD +47 -37
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/LICENSE +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/NOTICE +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/WHEEL +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,147 @@
|
|
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 ResourcenotificationListResponse(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
|
+
'results': 'list[ResourceNotification]',
|
37
|
+
'metadata': 'ListResponseMetadata'
|
38
|
+
}
|
39
|
+
|
40
|
+
attribute_map = {
|
41
|
+
'results': 'results',
|
42
|
+
'metadata': 'metadata'
|
43
|
+
}
|
44
|
+
|
45
|
+
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
+
"""ResourcenotificationListResponse - 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._results = None
|
52
|
+
self._metadata = None
|
53
|
+
self.discriminator = None
|
54
|
+
|
55
|
+
self.results = results
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def results(self):
|
61
|
+
"""Gets the results of this ResourcenotificationListResponse. # noqa: E501
|
62
|
+
|
63
|
+
|
64
|
+
:return: The results of this ResourcenotificationListResponse. # noqa: E501
|
65
|
+
:rtype: list[ResourceNotification]
|
66
|
+
"""
|
67
|
+
return self._results
|
68
|
+
|
69
|
+
@results.setter
|
70
|
+
def results(self, results):
|
71
|
+
"""Sets the results of this ResourcenotificationListResponse.
|
72
|
+
|
73
|
+
|
74
|
+
:param results: The results of this ResourcenotificationListResponse. # noqa: E501
|
75
|
+
:type: list[ResourceNotification]
|
76
|
+
"""
|
77
|
+
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
|
+
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
79
|
+
|
80
|
+
self._results = results
|
81
|
+
|
82
|
+
@property
|
83
|
+
def metadata(self):
|
84
|
+
"""Gets the metadata of this ResourcenotificationListResponse. # noqa: E501
|
85
|
+
|
86
|
+
|
87
|
+
:return: The metadata of this ResourcenotificationListResponse. # noqa: E501
|
88
|
+
:rtype: ListResponseMetadata
|
89
|
+
"""
|
90
|
+
return self._metadata
|
91
|
+
|
92
|
+
@metadata.setter
|
93
|
+
def metadata(self, metadata):
|
94
|
+
"""Sets the metadata of this ResourcenotificationListResponse.
|
95
|
+
|
96
|
+
|
97
|
+
:param metadata: The metadata of this ResourcenotificationListResponse. # noqa: E501
|
98
|
+
:type: ListResponseMetadata
|
99
|
+
"""
|
100
|
+
|
101
|
+
self._metadata = metadata
|
102
|
+
|
103
|
+
def to_dict(self):
|
104
|
+
"""Returns the model properties as a dict"""
|
105
|
+
result = {}
|
106
|
+
|
107
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
108
|
+
value = getattr(self, attr)
|
109
|
+
if isinstance(value, list):
|
110
|
+
result[attr] = list(map(
|
111
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
112
|
+
value
|
113
|
+
))
|
114
|
+
elif hasattr(value, "to_dict"):
|
115
|
+
result[attr] = value.to_dict()
|
116
|
+
elif isinstance(value, dict):
|
117
|
+
result[attr] = dict(map(
|
118
|
+
lambda item: (item[0], item[1].to_dict())
|
119
|
+
if hasattr(item[1], "to_dict") else item,
|
120
|
+
value.items()
|
121
|
+
))
|
122
|
+
else:
|
123
|
+
result[attr] = value
|
124
|
+
|
125
|
+
return result
|
126
|
+
|
127
|
+
def to_str(self):
|
128
|
+
"""Returns the string representation of the model"""
|
129
|
+
return pprint.pformat(self.to_dict())
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print` and `pprint`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, ResourcenotificationListResponse):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.to_dict() == other.to_dict()
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
if not isinstance(other, ResourcenotificationListResponse):
|
145
|
+
return True
|
146
|
+
|
147
|
+
return self.to_dict() != other.to_dict()
|
anyscale/client/openapi_client/models/{resourcealert_response.py → resourcenotification_response.py}
RENAMED
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ResourcenotificationResponse(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 ResourcealertResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'result': '
|
36
|
+
'result': 'ResourceNotification'
|
37
37
|
}
|
38
38
|
|
39
39
|
attribute_map = {
|
@@ -41,7 +41,7 @@ class ResourcealertResponse(object):
|
|
41
41
|
}
|
42
42
|
|
43
43
|
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""
|
44
|
+
"""ResourcenotificationResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
@@ -53,21 +53,21 @@ class ResourcealertResponse(object):
|
|
53
53
|
|
54
54
|
@property
|
55
55
|
def result(self):
|
56
|
-
"""Gets the result of this
|
56
|
+
"""Gets the result of this ResourcenotificationResponse. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The result of this
|
60
|
-
:rtype:
|
59
|
+
:return: The result of this ResourcenotificationResponse. # noqa: E501
|
60
|
+
:rtype: ResourceNotification
|
61
61
|
"""
|
62
62
|
return self._result
|
63
63
|
|
64
64
|
@result.setter
|
65
65
|
def result(self, result):
|
66
|
-
"""Sets the result of this
|
66
|
+
"""Sets the result of this ResourcenotificationResponse.
|
67
67
|
|
68
68
|
|
69
|
-
:param result: The result of this
|
70
|
-
:type:
|
69
|
+
:param result: The result of this ResourcenotificationResponse. # noqa: E501
|
70
|
+
:type: ResourceNotification
|
71
71
|
"""
|
72
72
|
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
73
|
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
@@ -108,14 +108,14 @@ class ResourcealertResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, ResourcenotificationResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, ResourcenotificationResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,103 @@
|
|
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 RunAttemptStatus(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
|
+
PENDING = "PENDING"
|
32
|
+
RUNNING = "RUNNING"
|
33
|
+
FINISHED = "FINISHED"
|
34
|
+
ERRORED = "ERRORED"
|
35
|
+
ABORTED = "ABORTED"
|
36
|
+
|
37
|
+
allowable_values = [PENDING, RUNNING, FINISHED, ERRORED, ABORTED] # noqa: E501
|
38
|
+
|
39
|
+
"""
|
40
|
+
Attributes:
|
41
|
+
openapi_types (dict): The key is attribute name
|
42
|
+
and the value is attribute type.
|
43
|
+
attribute_map (dict): The key is attribute name
|
44
|
+
and the value is json key in definition.
|
45
|
+
"""
|
46
|
+
openapi_types = {
|
47
|
+
}
|
48
|
+
|
49
|
+
attribute_map = {
|
50
|
+
}
|
51
|
+
|
52
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
53
|
+
"""RunAttemptStatus - a model defined in OpenAPI""" # noqa: E501
|
54
|
+
if local_vars_configuration is None:
|
55
|
+
local_vars_configuration = Configuration()
|
56
|
+
self.local_vars_configuration = local_vars_configuration
|
57
|
+
self.discriminator = None
|
58
|
+
|
59
|
+
def to_dict(self):
|
60
|
+
"""Returns the model properties as a dict"""
|
61
|
+
result = {}
|
62
|
+
|
63
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
64
|
+
value = getattr(self, attr)
|
65
|
+
if isinstance(value, list):
|
66
|
+
result[attr] = list(map(
|
67
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
68
|
+
value
|
69
|
+
))
|
70
|
+
elif hasattr(value, "to_dict"):
|
71
|
+
result[attr] = value.to_dict()
|
72
|
+
elif isinstance(value, dict):
|
73
|
+
result[attr] = dict(map(
|
74
|
+
lambda item: (item[0], item[1].to_dict())
|
75
|
+
if hasattr(item[1], "to_dict") else item,
|
76
|
+
value.items()
|
77
|
+
))
|
78
|
+
else:
|
79
|
+
result[attr] = value
|
80
|
+
|
81
|
+
return result
|
82
|
+
|
83
|
+
def to_str(self):
|
84
|
+
"""Returns the string representation of the model"""
|
85
|
+
return pprint.pformat(self.to_dict())
|
86
|
+
|
87
|
+
def __repr__(self):
|
88
|
+
"""For `print` and `pprint`"""
|
89
|
+
return self.to_str()
|
90
|
+
|
91
|
+
def __eq__(self, other):
|
92
|
+
"""Returns true if both objects are equal"""
|
93
|
+
if not isinstance(other, RunAttemptStatus):
|
94
|
+
return False
|
95
|
+
|
96
|
+
return self.to_dict() == other.to_dict()
|
97
|
+
|
98
|
+
def __ne__(self, other):
|
99
|
+
"""Returns true if both objects are not equal"""
|
100
|
+
if not isinstance(other, RunAttemptStatus):
|
101
|
+
return True
|
102
|
+
|
103
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,106 @@
|
|
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 RunStatus(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
|
+
INITIALIZING = "INITIALIZING"
|
32
|
+
SCHEDULING = "SCHEDULING"
|
33
|
+
RUNNING = "RUNNING"
|
34
|
+
RESTARTING = "RESTARTING"
|
35
|
+
RESIZING = "RESIZING"
|
36
|
+
FINISHED = "FINISHED"
|
37
|
+
ERRORED = "ERRORED"
|
38
|
+
ABORTED = "ABORTED"
|
39
|
+
|
40
|
+
allowable_values = [INITIALIZING, SCHEDULING, RUNNING, RESTARTING, RESIZING, FINISHED, ERRORED, ABORTED] # noqa: E501
|
41
|
+
|
42
|
+
"""
|
43
|
+
Attributes:
|
44
|
+
openapi_types (dict): The key is attribute name
|
45
|
+
and the value is attribute type.
|
46
|
+
attribute_map (dict): The key is attribute name
|
47
|
+
and the value is json key in definition.
|
48
|
+
"""
|
49
|
+
openapi_types = {
|
50
|
+
}
|
51
|
+
|
52
|
+
attribute_map = {
|
53
|
+
}
|
54
|
+
|
55
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
56
|
+
"""RunStatus - 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
|
+
self.discriminator = None
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
result[attr] = value
|
83
|
+
|
84
|
+
return result
|
85
|
+
|
86
|
+
def to_str(self):
|
87
|
+
"""Returns the string representation of the model"""
|
88
|
+
return pprint.pformat(self.to_dict())
|
89
|
+
|
90
|
+
def __repr__(self):
|
91
|
+
"""For `print` and `pprint`"""
|
92
|
+
return self.to_str()
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
"""Returns true if both objects are equal"""
|
96
|
+
if not isinstance(other, RunStatus):
|
97
|
+
return False
|
98
|
+
|
99
|
+
return self.to_dict() == other.to_dict()
|
100
|
+
|
101
|
+
def __ne__(self, other):
|
102
|
+
"""Returns true if both objects are not equal"""
|
103
|
+
if not isinstance(other, RunStatus):
|
104
|
+
return True
|
105
|
+
|
106
|
+
return self.to_dict() != other.to_dict()
|
@@ -34,15 +34,17 @@ class SchedulerInfo(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'requests': 'list[RequestStateInfo]',
|
37
|
-
'machines': 'list[MachineStateInfo]'
|
37
|
+
'machines': 'list[MachineStateInfo]',
|
38
|
+
'recent_launch_failures': 'list[MachineLaunchFailure]'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'requests': 'requests',
|
42
|
-
'machines': 'machines'
|
43
|
+
'machines': 'machines',
|
44
|
+
'recent_launch_failures': 'recent_launch_failures'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, requests=None, machines=None, local_vars_configuration=None): # noqa: E501
|
47
|
+
def __init__(self, requests=None, machines=None, recent_launch_failures=None, local_vars_configuration=None): # noqa: E501
|
46
48
|
"""SchedulerInfo - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
@@ -50,10 +52,12 @@ class SchedulerInfo(object):
|
|
50
52
|
|
51
53
|
self._requests = None
|
52
54
|
self._machines = None
|
55
|
+
self._recent_launch_failures = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.requests = requests
|
56
59
|
self.machines = machines
|
60
|
+
self.recent_launch_failures = recent_launch_failures
|
57
61
|
|
58
62
|
@property
|
59
63
|
def requests(self):
|
@@ -105,6 +109,31 @@ class SchedulerInfo(object):
|
|
105
109
|
|
106
110
|
self._machines = machines
|
107
111
|
|
112
|
+
@property
|
113
|
+
def recent_launch_failures(self):
|
114
|
+
"""Gets the recent_launch_failures of this SchedulerInfo. # noqa: E501
|
115
|
+
|
116
|
+
Recent launch failures. # noqa: E501
|
117
|
+
|
118
|
+
:return: The recent_launch_failures of this SchedulerInfo. # noqa: E501
|
119
|
+
:rtype: list[MachineLaunchFailure]
|
120
|
+
"""
|
121
|
+
return self._recent_launch_failures
|
122
|
+
|
123
|
+
@recent_launch_failures.setter
|
124
|
+
def recent_launch_failures(self, recent_launch_failures):
|
125
|
+
"""Sets the recent_launch_failures of this SchedulerInfo.
|
126
|
+
|
127
|
+
Recent launch failures. # noqa: E501
|
128
|
+
|
129
|
+
:param recent_launch_failures: The recent_launch_failures of this SchedulerInfo. # noqa: E501
|
130
|
+
:type: list[MachineLaunchFailure]
|
131
|
+
"""
|
132
|
+
if self.local_vars_configuration.client_side_validation and recent_launch_failures is None: # noqa: E501
|
133
|
+
raise ValueError("Invalid value for `recent_launch_failures`, must not be `None`") # noqa: E501
|
134
|
+
|
135
|
+
self._recent_launch_failures = recent_launch_failures
|
136
|
+
|
108
137
|
def to_dict(self):
|
109
138
|
"""Returns the model properties as a dict"""
|
110
139
|
result = {}
|