anyscale 0.26.14__py3-none-any.whl → 0.26.16__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 +4 -2
- anyscale/_private/anyscale_client/common.py +6 -4
- anyscale/_private/anyscale_client/fake_anyscale_client.py +16 -7
- anyscale/_private/docgen/__main__.py +4 -4
- anyscale/_private/docgen/generator.py +2 -2
- anyscale/_private/models/model_base.py +5 -2
- anyscale/_private/sdk/__init__.py +2 -2
- anyscale/_private/utils/progress_util.py +2 -2
- anyscale/_private/workload/workload_sdk.py +10 -7
- anyscale/aggregated_instance_usage/commands.py +6 -2
- anyscale/anyscale-cloud-setup.yaml +4 -0
- anyscale/client/README.md +8 -11
- anyscale/client/openapi_client/__init__.py +6 -8
- anyscale/client/openapi_client/api/default_api.py +292 -377
- anyscale/client/openapi_client/models/__init__.py +6 -8
- anyscale/client/openapi_client/models/alert_type.py +11 -2
- anyscale/client/openapi_client/models/create_job_queue_requests.py +3 -32
- anyscale/client/openapi_client/models/{product_autoscaler_flag.py → list_ray_sessions_response.py} +22 -23
- anyscale/client/openapi_client/models/{productautoscalerflag_response.py → listraysessionsresponse_response.py} +11 -11
- anyscale/client/openapi_client/models/metric.py +133 -3
- anyscale/client/openapi_client/models/ray_session.py +121 -0
- anyscale/client/openapi_client/models/task_exception_group_aggregate.py +28 -1
- anyscale/client/openapi_client/models/{taskexceptiongroupaggregate_list_response.py → task_exception_group_aggregate_response.py} +52 -25
- anyscale/client/openapi_client/models/task_function_name_group_aggregate.py +28 -1
- anyscale/client/openapi_client/models/{taskfunctionnamegroupaggregate_list_response.py → task_function_name_group_aggregate_response.py} +52 -25
- anyscale/client/openapi_client/models/task_job_group_aggregate.py +28 -1
- anyscale/client/openapi_client/models/{taskjobgroupaggregate_list_response.py → task_job_group_aggregate_response.py} +52 -25
- anyscale/client/openapi_client/models/task_table_row.py +19 -19
- anyscale/cloud/__init__.py +2 -2
- anyscale/cloud/_private/cloud_sdk.py +2 -2
- anyscale/cloud/commands.py +9 -6
- anyscale/cloud_resource.py +1 -1
- anyscale/cloud_utils.py +11 -6
- anyscale/cluster_compute.py +6 -5
- anyscale/cluster_env.py +10 -5
- anyscale/commands/login_commands.py +24 -3
- anyscale/commands/schedule_commands.py +2 -1
- anyscale/compute_config/_private/compute_config_sdk.py +1 -1
- anyscale/compute_config/commands.py +15 -7
- anyscale/connect_utils/prepare_cluster.py +14 -4
- anyscale/controllers/cloud_controller.py +9 -9
- anyscale/controllers/cloud_functional_verification_controller.py +4 -2
- anyscale/controllers/cluster_controller.py +1 -0
- anyscale/controllers/job_controller.py +1 -1
- anyscale/controllers/service_controller.py +2 -1
- anyscale/image/commands.py +6 -6
- anyscale/job/commands.py +12 -12
- anyscale/organization_invitation/commands.py +11 -7
- anyscale/project/__init__.py +2 -2
- anyscale/project/_private/project_sdk.py +2 -2
- anyscale/project/commands.py +3 -3
- anyscale/project_utils.py +5 -4
- anyscale/resource_quota/commands.py +18 -10
- anyscale/schedule/commands.py +12 -8
- anyscale/sdk/anyscale_client/sdk.py +5 -4
- anyscale/service/commands.py +17 -17
- anyscale/service_account/commands.py +12 -10
- anyscale/user/commands.py +5 -3
- anyscale/utils/connect_helpers.py +16 -3
- anyscale/utils/gcp_utils.py +25 -9
- anyscale/utils/runtime_env.py +3 -1
- anyscale/version.py +1 -1
- anyscale/workspace/__init__.py +10 -5
- anyscale/workspace/_private/workspace_sdk.py +9 -7
- anyscale/workspace/commands.py +25 -23
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/METADATA +1 -1
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/RECORD +72 -74
- anyscale/client/openapi_client/models/aviary_model_config_v2.py +0 -358
- anyscale/client/openapi_client/models/buffer_registration.py +0 -285
- anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +0 -183
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/LICENSE +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/NOTICE +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/WHEEL +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/top_level.txt +0 -0
@@ -34,25 +34,29 @@ class TaskExceptionGroupAggregate(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'exception_type': 'str',
|
37
|
+
'ray_session_name': 'str',
|
37
38
|
'metrics': 'TaskGroupedAggregateMetrics'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'exception_type': 'exception_type',
|
43
|
+
'ray_session_name': 'ray_session_name',
|
42
44
|
'metrics': 'metrics'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, exception_type=None, metrics=None, local_vars_configuration=None): # noqa: E501
|
47
|
+
def __init__(self, exception_type=None, ray_session_name=None, metrics=None, local_vars_configuration=None): # noqa: E501
|
46
48
|
"""TaskExceptionGroupAggregate - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
49
51
|
self.local_vars_configuration = local_vars_configuration
|
50
52
|
|
51
53
|
self._exception_type = None
|
54
|
+
self._ray_session_name = None
|
52
55
|
self._metrics = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.exception_type = exception_type
|
59
|
+
self.ray_session_name = ray_session_name
|
56
60
|
self.metrics = metrics
|
57
61
|
|
58
62
|
@property
|
@@ -78,6 +82,29 @@ class TaskExceptionGroupAggregate(object):
|
|
78
82
|
|
79
83
|
self._exception_type = exception_type
|
80
84
|
|
85
|
+
@property
|
86
|
+
def ray_session_name(self):
|
87
|
+
"""Gets the ray_session_name of this TaskExceptionGroupAggregate. # noqa: E501
|
88
|
+
|
89
|
+
|
90
|
+
:return: The ray_session_name of this TaskExceptionGroupAggregate. # noqa: E501
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._ray_session_name
|
94
|
+
|
95
|
+
@ray_session_name.setter
|
96
|
+
def ray_session_name(self, ray_session_name):
|
97
|
+
"""Sets the ray_session_name of this TaskExceptionGroupAggregate.
|
98
|
+
|
99
|
+
|
100
|
+
:param ray_session_name: The ray_session_name of this TaskExceptionGroupAggregate. # noqa: E501
|
101
|
+
:type: str
|
102
|
+
"""
|
103
|
+
if self.local_vars_configuration.client_side_validation and ray_session_name is None: # noqa: E501
|
104
|
+
raise ValueError("Invalid value for `ray_session_name`, must not be `None`") # noqa: E501
|
105
|
+
|
106
|
+
self._ray_session_name = ray_session_name
|
107
|
+
|
81
108
|
@property
|
82
109
|
def metrics(self):
|
83
110
|
"""Gets the metrics of this TaskExceptionGroupAggregate. # noqa: E501
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class TaskExceptionGroupAggregateResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -34,44 +34,48 @@ class TaskexceptiongroupaggregateListResponse(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'results': 'list[TaskExceptionGroupAggregate]',
|
37
|
-
'
|
37
|
+
'next_offset': 'str',
|
38
|
+
'total': 'int'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'results': 'results',
|
42
|
-
'
|
43
|
+
'next_offset': 'next_offset',
|
44
|
+
'total': 'total'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, results=None,
|
46
|
-
"""
|
47
|
+
def __init__(self, results=None, next_offset=None, total=None, local_vars_configuration=None): # noqa: E501
|
48
|
+
"""TaskExceptionGroupAggregateResponse - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
49
51
|
self.local_vars_configuration = local_vars_configuration
|
50
52
|
|
51
53
|
self._results = None
|
52
|
-
self.
|
54
|
+
self._next_offset = None
|
55
|
+
self._total = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.results = results
|
56
|
-
if
|
57
|
-
self.
|
59
|
+
if next_offset is not None:
|
60
|
+
self.next_offset = next_offset
|
61
|
+
self.total = total
|
58
62
|
|
59
63
|
@property
|
60
64
|
def results(self):
|
61
|
-
"""Gets the results of this
|
65
|
+
"""Gets the results of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
62
66
|
|
63
67
|
|
64
|
-
:return: The results of this
|
68
|
+
:return: The results of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
65
69
|
:rtype: list[TaskExceptionGroupAggregate]
|
66
70
|
"""
|
67
71
|
return self._results
|
68
72
|
|
69
73
|
@results.setter
|
70
74
|
def results(self, results):
|
71
|
-
"""Sets the results of this
|
75
|
+
"""Sets the results of this TaskExceptionGroupAggregateResponse.
|
72
76
|
|
73
77
|
|
74
|
-
:param results: The results of this
|
78
|
+
:param results: The results of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
75
79
|
:type: list[TaskExceptionGroupAggregate]
|
76
80
|
"""
|
77
81
|
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
@@ -80,25 +84,48 @@ class TaskexceptiongroupaggregateListResponse(object):
|
|
80
84
|
self._results = results
|
81
85
|
|
82
86
|
@property
|
83
|
-
def
|
84
|
-
"""Gets the
|
87
|
+
def next_offset(self):
|
88
|
+
"""Gets the next_offset of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
85
89
|
|
86
90
|
|
87
|
-
:return: The
|
88
|
-
:rtype:
|
91
|
+
:return: The next_offset of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
92
|
+
:rtype: str
|
89
93
|
"""
|
90
|
-
return self.
|
94
|
+
return self._next_offset
|
91
95
|
|
92
|
-
@
|
93
|
-
def
|
94
|
-
"""Sets the
|
96
|
+
@next_offset.setter
|
97
|
+
def next_offset(self, next_offset):
|
98
|
+
"""Sets the next_offset of this TaskExceptionGroupAggregateResponse.
|
95
99
|
|
96
100
|
|
97
|
-
:param
|
98
|
-
:type:
|
101
|
+
:param next_offset: The next_offset of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
102
|
+
:type: str
|
99
103
|
"""
|
100
104
|
|
101
|
-
self.
|
105
|
+
self._next_offset = next_offset
|
106
|
+
|
107
|
+
@property
|
108
|
+
def total(self):
|
109
|
+
"""Gets the total of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
110
|
+
|
111
|
+
|
112
|
+
:return: The total of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
113
|
+
:rtype: int
|
114
|
+
"""
|
115
|
+
return self._total
|
116
|
+
|
117
|
+
@total.setter
|
118
|
+
def total(self, total):
|
119
|
+
"""Sets the total of this TaskExceptionGroupAggregateResponse.
|
120
|
+
|
121
|
+
|
122
|
+
:param total: The total of this TaskExceptionGroupAggregateResponse. # noqa: E501
|
123
|
+
:type: int
|
124
|
+
"""
|
125
|
+
if self.local_vars_configuration.client_side_validation and total is None: # noqa: E501
|
126
|
+
raise ValueError("Invalid value for `total`, must not be `None`") # noqa: E501
|
127
|
+
|
128
|
+
self._total = total
|
102
129
|
|
103
130
|
def to_dict(self):
|
104
131
|
"""Returns the model properties as a dict"""
|
@@ -134,14 +161,14 @@ class TaskexceptiongroupaggregateListResponse(object):
|
|
134
161
|
|
135
162
|
def __eq__(self, other):
|
136
163
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
164
|
+
if not isinstance(other, TaskExceptionGroupAggregateResponse):
|
138
165
|
return False
|
139
166
|
|
140
167
|
return self.to_dict() == other.to_dict()
|
141
168
|
|
142
169
|
def __ne__(self, other):
|
143
170
|
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other,
|
171
|
+
if not isinstance(other, TaskExceptionGroupAggregateResponse):
|
145
172
|
return True
|
146
173
|
|
147
174
|
return self.to_dict() != other.to_dict()
|
@@ -35,16 +35,18 @@ class TaskFunctionNameGroupAggregate(object):
|
|
35
35
|
openapi_types = {
|
36
36
|
'function_name': 'str',
|
37
37
|
'task_type': 'TaskType',
|
38
|
+
'ray_session_name': 'str',
|
38
39
|
'metrics': 'TaskGroupedAggregateMetrics'
|
39
40
|
}
|
40
41
|
|
41
42
|
attribute_map = {
|
42
43
|
'function_name': 'function_name',
|
43
44
|
'task_type': 'task_type',
|
45
|
+
'ray_session_name': 'ray_session_name',
|
44
46
|
'metrics': 'metrics'
|
45
47
|
}
|
46
48
|
|
47
|
-
def __init__(self, function_name=None, task_type=None, metrics=None, local_vars_configuration=None): # noqa: E501
|
49
|
+
def __init__(self, function_name=None, task_type=None, ray_session_name=None, metrics=None, local_vars_configuration=None): # noqa: E501
|
48
50
|
"""TaskFunctionNameGroupAggregate - a model defined in OpenAPI""" # noqa: E501
|
49
51
|
if local_vars_configuration is None:
|
50
52
|
local_vars_configuration = Configuration()
|
@@ -52,11 +54,13 @@ class TaskFunctionNameGroupAggregate(object):
|
|
52
54
|
|
53
55
|
self._function_name = None
|
54
56
|
self._task_type = None
|
57
|
+
self._ray_session_name = None
|
55
58
|
self._metrics = None
|
56
59
|
self.discriminator = None
|
57
60
|
|
58
61
|
self.function_name = function_name
|
59
62
|
self.task_type = task_type
|
63
|
+
self.ray_session_name = ray_session_name
|
60
64
|
self.metrics = metrics
|
61
65
|
|
62
66
|
@property
|
@@ -105,6 +109,29 @@ class TaskFunctionNameGroupAggregate(object):
|
|
105
109
|
|
106
110
|
self._task_type = task_type
|
107
111
|
|
112
|
+
@property
|
113
|
+
def ray_session_name(self):
|
114
|
+
"""Gets the ray_session_name of this TaskFunctionNameGroupAggregate. # noqa: E501
|
115
|
+
|
116
|
+
|
117
|
+
:return: The ray_session_name of this TaskFunctionNameGroupAggregate. # noqa: E501
|
118
|
+
:rtype: str
|
119
|
+
"""
|
120
|
+
return self._ray_session_name
|
121
|
+
|
122
|
+
@ray_session_name.setter
|
123
|
+
def ray_session_name(self, ray_session_name):
|
124
|
+
"""Sets the ray_session_name of this TaskFunctionNameGroupAggregate.
|
125
|
+
|
126
|
+
|
127
|
+
:param ray_session_name: The ray_session_name of this TaskFunctionNameGroupAggregate. # noqa: E501
|
128
|
+
:type: str
|
129
|
+
"""
|
130
|
+
if self.local_vars_configuration.client_side_validation and ray_session_name is None: # noqa: E501
|
131
|
+
raise ValueError("Invalid value for `ray_session_name`, must not be `None`") # noqa: E501
|
132
|
+
|
133
|
+
self._ray_session_name = ray_session_name
|
134
|
+
|
108
135
|
@property
|
109
136
|
def metrics(self):
|
110
137
|
"""Gets the metrics of this TaskFunctionNameGroupAggregate. # noqa: E501
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class TaskFunctionNameGroupAggregateResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -34,44 +34,48 @@ class TaskfunctionnamegroupaggregateListResponse(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'results': 'list[TaskFunctionNameGroupAggregate]',
|
37
|
-
'
|
37
|
+
'next_offset': 'str',
|
38
|
+
'total': 'int'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'results': 'results',
|
42
|
-
'
|
43
|
+
'next_offset': 'next_offset',
|
44
|
+
'total': 'total'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, results=None,
|
46
|
-
"""
|
47
|
+
def __init__(self, results=None, next_offset=None, total=None, local_vars_configuration=None): # noqa: E501
|
48
|
+
"""TaskFunctionNameGroupAggregateResponse - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
49
51
|
self.local_vars_configuration = local_vars_configuration
|
50
52
|
|
51
53
|
self._results = None
|
52
|
-
self.
|
54
|
+
self._next_offset = None
|
55
|
+
self._total = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.results = results
|
56
|
-
if
|
57
|
-
self.
|
59
|
+
if next_offset is not None:
|
60
|
+
self.next_offset = next_offset
|
61
|
+
self.total = total
|
58
62
|
|
59
63
|
@property
|
60
64
|
def results(self):
|
61
|
-
"""Gets the results of this
|
65
|
+
"""Gets the results of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
62
66
|
|
63
67
|
|
64
|
-
:return: The results of this
|
68
|
+
:return: The results of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
65
69
|
:rtype: list[TaskFunctionNameGroupAggregate]
|
66
70
|
"""
|
67
71
|
return self._results
|
68
72
|
|
69
73
|
@results.setter
|
70
74
|
def results(self, results):
|
71
|
-
"""Sets the results of this
|
75
|
+
"""Sets the results of this TaskFunctionNameGroupAggregateResponse.
|
72
76
|
|
73
77
|
|
74
|
-
:param results: The results of this
|
78
|
+
:param results: The results of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
75
79
|
:type: list[TaskFunctionNameGroupAggregate]
|
76
80
|
"""
|
77
81
|
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
@@ -80,25 +84,48 @@ class TaskfunctionnamegroupaggregateListResponse(object):
|
|
80
84
|
self._results = results
|
81
85
|
|
82
86
|
@property
|
83
|
-
def
|
84
|
-
"""Gets the
|
87
|
+
def next_offset(self):
|
88
|
+
"""Gets the next_offset of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
85
89
|
|
86
90
|
|
87
|
-
:return: The
|
88
|
-
:rtype:
|
91
|
+
:return: The next_offset of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
92
|
+
:rtype: str
|
89
93
|
"""
|
90
|
-
return self.
|
94
|
+
return self._next_offset
|
91
95
|
|
92
|
-
@
|
93
|
-
def
|
94
|
-
"""Sets the
|
96
|
+
@next_offset.setter
|
97
|
+
def next_offset(self, next_offset):
|
98
|
+
"""Sets the next_offset of this TaskFunctionNameGroupAggregateResponse.
|
95
99
|
|
96
100
|
|
97
|
-
:param
|
98
|
-
:type:
|
101
|
+
:param next_offset: The next_offset of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
102
|
+
:type: str
|
99
103
|
"""
|
100
104
|
|
101
|
-
self.
|
105
|
+
self._next_offset = next_offset
|
106
|
+
|
107
|
+
@property
|
108
|
+
def total(self):
|
109
|
+
"""Gets the total of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
110
|
+
|
111
|
+
|
112
|
+
:return: The total of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
113
|
+
:rtype: int
|
114
|
+
"""
|
115
|
+
return self._total
|
116
|
+
|
117
|
+
@total.setter
|
118
|
+
def total(self, total):
|
119
|
+
"""Sets the total of this TaskFunctionNameGroupAggregateResponse.
|
120
|
+
|
121
|
+
|
122
|
+
:param total: The total of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
|
123
|
+
:type: int
|
124
|
+
"""
|
125
|
+
if self.local_vars_configuration.client_side_validation and total is None: # noqa: E501
|
126
|
+
raise ValueError("Invalid value for `total`, must not be `None`") # noqa: E501
|
127
|
+
|
128
|
+
self._total = total
|
102
129
|
|
103
130
|
def to_dict(self):
|
104
131
|
"""Returns the model properties as a dict"""
|
@@ -134,14 +161,14 @@ class TaskfunctionnamegroupaggregateListResponse(object):
|
|
134
161
|
|
135
162
|
def __eq__(self, other):
|
136
163
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
164
|
+
if not isinstance(other, TaskFunctionNameGroupAggregateResponse):
|
138
165
|
return False
|
139
166
|
|
140
167
|
return self.to_dict() == other.to_dict()
|
141
168
|
|
142
169
|
def __ne__(self, other):
|
143
170
|
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other,
|
171
|
+
if not isinstance(other, TaskFunctionNameGroupAggregateResponse):
|
145
172
|
return True
|
146
173
|
|
147
174
|
return self.to_dict() != other.to_dict()
|
@@ -34,25 +34,29 @@ class TaskJobGroupAggregate(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'job_id': 'str',
|
37
|
+
'ray_session_name': 'str',
|
37
38
|
'metrics': 'TaskGroupedAggregateMetrics'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'job_id': 'job_id',
|
43
|
+
'ray_session_name': 'ray_session_name',
|
42
44
|
'metrics': 'metrics'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, job_id=None, metrics=None, local_vars_configuration=None): # noqa: E501
|
47
|
+
def __init__(self, job_id=None, ray_session_name=None, metrics=None, local_vars_configuration=None): # noqa: E501
|
46
48
|
"""TaskJobGroupAggregate - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
49
51
|
self.local_vars_configuration = local_vars_configuration
|
50
52
|
|
51
53
|
self._job_id = None
|
54
|
+
self._ray_session_name = None
|
52
55
|
self._metrics = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.job_id = job_id
|
59
|
+
self.ray_session_name = ray_session_name
|
56
60
|
self.metrics = metrics
|
57
61
|
|
58
62
|
@property
|
@@ -78,6 +82,29 @@ class TaskJobGroupAggregate(object):
|
|
78
82
|
|
79
83
|
self._job_id = job_id
|
80
84
|
|
85
|
+
@property
|
86
|
+
def ray_session_name(self):
|
87
|
+
"""Gets the ray_session_name of this TaskJobGroupAggregate. # noqa: E501
|
88
|
+
|
89
|
+
|
90
|
+
:return: The ray_session_name of this TaskJobGroupAggregate. # noqa: E501
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._ray_session_name
|
94
|
+
|
95
|
+
@ray_session_name.setter
|
96
|
+
def ray_session_name(self, ray_session_name):
|
97
|
+
"""Sets the ray_session_name of this TaskJobGroupAggregate.
|
98
|
+
|
99
|
+
|
100
|
+
:param ray_session_name: The ray_session_name of this TaskJobGroupAggregate. # noqa: E501
|
101
|
+
:type: str
|
102
|
+
"""
|
103
|
+
if self.local_vars_configuration.client_side_validation and ray_session_name is None: # noqa: E501
|
104
|
+
raise ValueError("Invalid value for `ray_session_name`, must not be `None`") # noqa: E501
|
105
|
+
|
106
|
+
self._ray_session_name = ray_session_name
|
107
|
+
|
81
108
|
@property
|
82
109
|
def metrics(self):
|
83
110
|
"""Gets the metrics of this TaskJobGroupAggregate. # noqa: E501
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class TaskJobGroupAggregateResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -34,44 +34,48 @@ class TaskjobgroupaggregateListResponse(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'results': 'list[TaskJobGroupAggregate]',
|
37
|
-
'
|
37
|
+
'next_offset': 'str',
|
38
|
+
'total': 'int'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'results': 'results',
|
42
|
-
'
|
43
|
+
'next_offset': 'next_offset',
|
44
|
+
'total': 'total'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, results=None,
|
46
|
-
"""
|
47
|
+
def __init__(self, results=None, next_offset=None, total=None, local_vars_configuration=None): # noqa: E501
|
48
|
+
"""TaskJobGroupAggregateResponse - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
49
51
|
self.local_vars_configuration = local_vars_configuration
|
50
52
|
|
51
53
|
self._results = None
|
52
|
-
self.
|
54
|
+
self._next_offset = None
|
55
|
+
self._total = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
self.results = results
|
56
|
-
if
|
57
|
-
self.
|
59
|
+
if next_offset is not None:
|
60
|
+
self.next_offset = next_offset
|
61
|
+
self.total = total
|
58
62
|
|
59
63
|
@property
|
60
64
|
def results(self):
|
61
|
-
"""Gets the results of this
|
65
|
+
"""Gets the results of this TaskJobGroupAggregateResponse. # noqa: E501
|
62
66
|
|
63
67
|
|
64
|
-
:return: The results of this
|
68
|
+
:return: The results of this TaskJobGroupAggregateResponse. # noqa: E501
|
65
69
|
:rtype: list[TaskJobGroupAggregate]
|
66
70
|
"""
|
67
71
|
return self._results
|
68
72
|
|
69
73
|
@results.setter
|
70
74
|
def results(self, results):
|
71
|
-
"""Sets the results of this
|
75
|
+
"""Sets the results of this TaskJobGroupAggregateResponse.
|
72
76
|
|
73
77
|
|
74
|
-
:param results: The results of this
|
78
|
+
:param results: The results of this TaskJobGroupAggregateResponse. # noqa: E501
|
75
79
|
:type: list[TaskJobGroupAggregate]
|
76
80
|
"""
|
77
81
|
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
@@ -80,25 +84,48 @@ class TaskjobgroupaggregateListResponse(object):
|
|
80
84
|
self._results = results
|
81
85
|
|
82
86
|
@property
|
83
|
-
def
|
84
|
-
"""Gets the
|
87
|
+
def next_offset(self):
|
88
|
+
"""Gets the next_offset of this TaskJobGroupAggregateResponse. # noqa: E501
|
85
89
|
|
86
90
|
|
87
|
-
:return: The
|
88
|
-
:rtype:
|
91
|
+
:return: The next_offset of this TaskJobGroupAggregateResponse. # noqa: E501
|
92
|
+
:rtype: str
|
89
93
|
"""
|
90
|
-
return self.
|
94
|
+
return self._next_offset
|
91
95
|
|
92
|
-
@
|
93
|
-
def
|
94
|
-
"""Sets the
|
96
|
+
@next_offset.setter
|
97
|
+
def next_offset(self, next_offset):
|
98
|
+
"""Sets the next_offset of this TaskJobGroupAggregateResponse.
|
95
99
|
|
96
100
|
|
97
|
-
:param
|
98
|
-
:type:
|
101
|
+
:param next_offset: The next_offset of this TaskJobGroupAggregateResponse. # noqa: E501
|
102
|
+
:type: str
|
99
103
|
"""
|
100
104
|
|
101
|
-
self.
|
105
|
+
self._next_offset = next_offset
|
106
|
+
|
107
|
+
@property
|
108
|
+
def total(self):
|
109
|
+
"""Gets the total of this TaskJobGroupAggregateResponse. # noqa: E501
|
110
|
+
|
111
|
+
|
112
|
+
:return: The total of this TaskJobGroupAggregateResponse. # noqa: E501
|
113
|
+
:rtype: int
|
114
|
+
"""
|
115
|
+
return self._total
|
116
|
+
|
117
|
+
@total.setter
|
118
|
+
def total(self, total):
|
119
|
+
"""Sets the total of this TaskJobGroupAggregateResponse.
|
120
|
+
|
121
|
+
|
122
|
+
:param total: The total of this TaskJobGroupAggregateResponse. # noqa: E501
|
123
|
+
:type: int
|
124
|
+
"""
|
125
|
+
if self.local_vars_configuration.client_side_validation and total is None: # noqa: E501
|
126
|
+
raise ValueError("Invalid value for `total`, must not be `None`") # noqa: E501
|
127
|
+
|
128
|
+
self._total = total
|
102
129
|
|
103
130
|
def to_dict(self):
|
104
131
|
"""Returns the model properties as a dict"""
|
@@ -134,14 +161,14 @@ class TaskjobgroupaggregateListResponse(object):
|
|
134
161
|
|
135
162
|
def __eq__(self, other):
|
136
163
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
164
|
+
if not isinstance(other, TaskJobGroupAggregateResponse):
|
138
165
|
return False
|
139
166
|
|
140
167
|
return self.to_dict() == other.to_dict()
|
141
168
|
|
142
169
|
def __ne__(self, other):
|
143
170
|
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other,
|
171
|
+
if not isinstance(other, TaskJobGroupAggregateResponse):
|
145
172
|
return True
|
146
173
|
|
147
174
|
return self.to_dict() != other.to_dict()
|