anyscale 0.26.14__py3-none-any.whl → 0.26.15__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.
Files changed (41) hide show
  1. anyscale/_private/anyscale_client/fake_anyscale_client.py +1 -1
  2. anyscale/_private/models/model_base.py +5 -2
  3. anyscale/_private/utils/progress_util.py +2 -2
  4. anyscale/_private/workload/workload_sdk.py +4 -3
  5. anyscale/anyscale-cloud-setup.yaml +4 -0
  6. anyscale/client/README.md +4 -5
  7. anyscale/client/openapi_client/__init__.py +3 -4
  8. anyscale/client/openapi_client/api/default_api.py +158 -127
  9. anyscale/client/openapi_client/models/__init__.py +3 -4
  10. anyscale/client/openapi_client/models/task_exception_group_aggregate.py +28 -1
  11. anyscale/client/openapi_client/models/{taskexceptiongroupaggregate_list_response.py → task_exception_group_aggregate_response.py} +52 -25
  12. anyscale/client/openapi_client/models/task_function_name_group_aggregate.py +28 -1
  13. anyscale/client/openapi_client/models/{taskfunctionnamegroupaggregate_list_response.py → task_function_name_group_aggregate_response.py} +52 -25
  14. anyscale/client/openapi_client/models/task_job_group_aggregate.py +28 -1
  15. anyscale/client/openapi_client/models/{taskjobgroupaggregate_list_response.py → task_job_group_aggregate_response.py} +52 -25
  16. anyscale/client/openapi_client/models/task_table_row.py +19 -19
  17. anyscale/cloud_resource.py +1 -1
  18. anyscale/cloud_utils.py +6 -2
  19. anyscale/cluster_compute.py +4 -3
  20. anyscale/cluster_env.py +8 -5
  21. anyscale/compute_config/_private/compute_config_sdk.py +1 -1
  22. anyscale/connect_utils/prepare_cluster.py +14 -4
  23. anyscale/controllers/cloud_controller.py +2 -2
  24. anyscale/controllers/cloud_functional_verification_controller.py +4 -2
  25. anyscale/controllers/service_controller.py +1 -1
  26. anyscale/project_utils.py +4 -3
  27. anyscale/sdk/anyscale_client/sdk.py +4 -4
  28. anyscale/utils/connect_helpers.py +16 -3
  29. anyscale/utils/runtime_env.py +3 -1
  30. anyscale/version.py +1 -1
  31. anyscale/workspace/__init__.py +10 -5
  32. anyscale/workspace/_private/workspace_sdk.py +4 -4
  33. anyscale/workspace/commands.py +1 -1
  34. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/METADATA +1 -1
  35. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/RECORD +40 -41
  36. anyscale/client/openapi_client/models/buffer_registration.py +0 -285
  37. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/LICENSE +0 -0
  38. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/NOTICE +0 -0
  39. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/WHEEL +0 -0
  40. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/entry_points.txt +0 -0
  41. {anyscale-0.26.14.dist-info → anyscale-0.26.15.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,7 @@ import six
18
18
  from openapi_client.configuration import Configuration
19
19
 
20
20
 
21
- class TaskexceptiongroupaggregateListResponse(object):
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
- 'metadata': 'ListResponseMetadata'
37
+ 'next_offset': 'str',
38
+ 'total': 'int'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'results': 'results',
42
- 'metadata': 'metadata'
43
+ 'next_offset': 'next_offset',
44
+ 'total': 'total'
43
45
  }
44
46
 
45
- def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
46
- """TaskexceptiongroupaggregateListResponse - a model defined in OpenAPI""" # noqa: E501
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._metadata = None
54
+ self._next_offset = None
55
+ self._total = None
53
56
  self.discriminator = None
54
57
 
55
58
  self.results = results
56
- if metadata is not None:
57
- self.metadata = metadata
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 TaskexceptiongroupaggregateListResponse. # noqa: E501
65
+ """Gets the results of this TaskExceptionGroupAggregateResponse. # noqa: E501
62
66
 
63
67
 
64
- :return: The results of this TaskexceptiongroupaggregateListResponse. # noqa: E501
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 TaskexceptiongroupaggregateListResponse.
75
+ """Sets the results of this TaskExceptionGroupAggregateResponse.
72
76
 
73
77
 
74
- :param results: The results of this TaskexceptiongroupaggregateListResponse. # noqa: E501
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 metadata(self):
84
- """Gets the metadata of this TaskexceptiongroupaggregateListResponse. # noqa: E501
87
+ def next_offset(self):
88
+ """Gets the next_offset of this TaskExceptionGroupAggregateResponse. # noqa: E501
85
89
 
86
90
 
87
- :return: The metadata of this TaskexceptiongroupaggregateListResponse. # noqa: E501
88
- :rtype: ListResponseMetadata
91
+ :return: The next_offset of this TaskExceptionGroupAggregateResponse. # noqa: E501
92
+ :rtype: str
89
93
  """
90
- return self._metadata
94
+ return self._next_offset
91
95
 
92
- @metadata.setter
93
- def metadata(self, metadata):
94
- """Sets the metadata of this TaskexceptiongroupaggregateListResponse.
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 metadata: The metadata of this TaskexceptiongroupaggregateListResponse. # noqa: E501
98
- :type: ListResponseMetadata
101
+ :param next_offset: The next_offset of this TaskExceptionGroupAggregateResponse. # noqa: E501
102
+ :type: str
99
103
  """
100
104
 
101
- self._metadata = metadata
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, TaskexceptiongroupaggregateListResponse):
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, TaskexceptiongroupaggregateListResponse):
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 TaskfunctionnamegroupaggregateListResponse(object):
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
- 'metadata': 'ListResponseMetadata'
37
+ 'next_offset': 'str',
38
+ 'total': 'int'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'results': 'results',
42
- 'metadata': 'metadata'
43
+ 'next_offset': 'next_offset',
44
+ 'total': 'total'
43
45
  }
44
46
 
45
- def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
46
- """TaskfunctionnamegroupaggregateListResponse - a model defined in OpenAPI""" # noqa: E501
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._metadata = None
54
+ self._next_offset = None
55
+ self._total = None
53
56
  self.discriminator = None
54
57
 
55
58
  self.results = results
56
- if metadata is not None:
57
- self.metadata = metadata
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 TaskfunctionnamegroupaggregateListResponse. # noqa: E501
65
+ """Gets the results of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
62
66
 
63
67
 
64
- :return: The results of this TaskfunctionnamegroupaggregateListResponse. # noqa: E501
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 TaskfunctionnamegroupaggregateListResponse.
75
+ """Sets the results of this TaskFunctionNameGroupAggregateResponse.
72
76
 
73
77
 
74
- :param results: The results of this TaskfunctionnamegroupaggregateListResponse. # noqa: E501
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 metadata(self):
84
- """Gets the metadata of this TaskfunctionnamegroupaggregateListResponse. # noqa: E501
87
+ def next_offset(self):
88
+ """Gets the next_offset of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
85
89
 
86
90
 
87
- :return: The metadata of this TaskfunctionnamegroupaggregateListResponse. # noqa: E501
88
- :rtype: ListResponseMetadata
91
+ :return: The next_offset of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
92
+ :rtype: str
89
93
  """
90
- return self._metadata
94
+ return self._next_offset
91
95
 
92
- @metadata.setter
93
- def metadata(self, metadata):
94
- """Sets the metadata of this TaskfunctionnamegroupaggregateListResponse.
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 metadata: The metadata of this TaskfunctionnamegroupaggregateListResponse. # noqa: E501
98
- :type: ListResponseMetadata
101
+ :param next_offset: The next_offset of this TaskFunctionNameGroupAggregateResponse. # noqa: E501
102
+ :type: str
99
103
  """
100
104
 
101
- self._metadata = metadata
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, TaskfunctionnamegroupaggregateListResponse):
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, TaskfunctionnamegroupaggregateListResponse):
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 TaskjobgroupaggregateListResponse(object):
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
- 'metadata': 'ListResponseMetadata'
37
+ 'next_offset': 'str',
38
+ 'total': 'int'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'results': 'results',
42
- 'metadata': 'metadata'
43
+ 'next_offset': 'next_offset',
44
+ 'total': 'total'
43
45
  }
44
46
 
45
- def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
46
- """TaskjobgroupaggregateListResponse - a model defined in OpenAPI""" # noqa: E501
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._metadata = None
54
+ self._next_offset = None
55
+ self._total = None
53
56
  self.discriminator = None
54
57
 
55
58
  self.results = results
56
- if metadata is not None:
57
- self.metadata = metadata
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 TaskjobgroupaggregateListResponse. # noqa: E501
65
+ """Gets the results of this TaskJobGroupAggregateResponse. # noqa: E501
62
66
 
63
67
 
64
- :return: The results of this TaskjobgroupaggregateListResponse. # noqa: E501
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 TaskjobgroupaggregateListResponse.
75
+ """Sets the results of this TaskJobGroupAggregateResponse.
72
76
 
73
77
 
74
- :param results: The results of this TaskjobgroupaggregateListResponse. # noqa: E501
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 metadata(self):
84
- """Gets the metadata of this TaskjobgroupaggregateListResponse. # noqa: E501
87
+ def next_offset(self):
88
+ """Gets the next_offset of this TaskJobGroupAggregateResponse. # noqa: E501
85
89
 
86
90
 
87
- :return: The metadata of this TaskjobgroupaggregateListResponse. # noqa: E501
88
- :rtype: ListResponseMetadata
91
+ :return: The next_offset of this TaskJobGroupAggregateResponse. # noqa: E501
92
+ :rtype: str
89
93
  """
90
- return self._metadata
94
+ return self._next_offset
91
95
 
92
- @metadata.setter
93
- def metadata(self, metadata):
94
- """Sets the metadata of this TaskjobgroupaggregateListResponse.
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 metadata: The metadata of this TaskjobgroupaggregateListResponse. # noqa: E501
98
- :type: ListResponseMetadata
101
+ :param next_offset: The next_offset of this TaskJobGroupAggregateResponse. # noqa: E501
102
+ :type: str
99
103
  """
100
104
 
101
- self._metadata = metadata
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, TaskjobgroupaggregateListResponse):
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, TaskjobgroupaggregateListResponse):
171
+ if not isinstance(other, TaskJobGroupAggregateResponse):
145
172
  return True
146
173
 
147
174
  return self.to_dict() != other.to_dict()
@@ -42,12 +42,12 @@ class TaskTableRow(object):
42
42
  'error_message': 'str',
43
43
  'start_time_ns': 'int',
44
44
  'end_time_ns': 'int',
45
- 'required_resources': 'dict(str, float)',
45
+ 'required_resources': 'str',
46
46
  'node_id': 'str',
47
47
  'worker_id': 'str',
48
48
  'worker_pid': 'str',
49
49
  'parent_task_id': 'str',
50
- 'session_name': 'str'
50
+ 'ray_session_name': 'str'
51
51
  }
52
52
 
53
53
  attribute_map = {
@@ -65,10 +65,10 @@ class TaskTableRow(object):
65
65
  'worker_id': 'worker_id',
66
66
  'worker_pid': 'worker_pid',
67
67
  'parent_task_id': 'parent_task_id',
68
- 'session_name': 'session_name'
68
+ 'ray_session_name': 'ray_session_name'
69
69
  }
70
70
 
71
- def __init__(self, id=None, attempt_number=None, job_id=None, function_name=None, task_type=None, current_state=None, error_message=None, start_time_ns=None, end_time_ns=None, required_resources=None, node_id=None, worker_id=None, worker_pid=None, parent_task_id=None, session_name=None, local_vars_configuration=None): # noqa: E501
71
+ def __init__(self, id=None, attempt_number=None, job_id=None, function_name=None, task_type=None, current_state=None, error_message=None, start_time_ns=None, end_time_ns=None, required_resources=None, node_id=None, worker_id=None, worker_pid=None, parent_task_id=None, ray_session_name=None, local_vars_configuration=None): # noqa: E501
72
72
  """TaskTableRow - a model defined in OpenAPI""" # noqa: E501
73
73
  if local_vars_configuration is None:
74
74
  local_vars_configuration = Configuration()
@@ -88,7 +88,7 @@ class TaskTableRow(object):
88
88
  self._worker_id = None
89
89
  self._worker_pid = None
90
90
  self._parent_task_id = None
91
- self._session_name = None
91
+ self._ray_session_name = None
92
92
  self.discriminator = None
93
93
 
94
94
  self.id = id
@@ -113,7 +113,7 @@ class TaskTableRow(object):
113
113
  self.worker_pid = worker_pid
114
114
  if parent_task_id is not None:
115
115
  self.parent_task_id = parent_task_id
116
- self.session_name = session_name
116
+ self.ray_session_name = ray_session_name
117
117
 
118
118
  @property
119
119
  def id(self):
@@ -322,7 +322,7 @@ class TaskTableRow(object):
322
322
 
323
323
 
324
324
  :return: The required_resources of this TaskTableRow. # noqa: E501
325
- :rtype: dict(str, float)
325
+ :rtype: str
326
326
  """
327
327
  return self._required_resources
328
328
 
@@ -332,7 +332,7 @@ class TaskTableRow(object):
332
332
 
333
333
 
334
334
  :param required_resources: The required_resources of this TaskTableRow. # noqa: E501
335
- :type: dict(str, float)
335
+ :type: str
336
336
  """
337
337
 
338
338
  self._required_resources = required_resources
@@ -422,27 +422,27 @@ class TaskTableRow(object):
422
422
  self._parent_task_id = parent_task_id
423
423
 
424
424
  @property
425
- def session_name(self):
426
- """Gets the session_name of this TaskTableRow. # noqa: E501
425
+ def ray_session_name(self):
426
+ """Gets the ray_session_name of this TaskTableRow. # noqa: E501
427
427
 
428
428
 
429
- :return: The session_name of this TaskTableRow. # noqa: E501
429
+ :return: The ray_session_name of this TaskTableRow. # noqa: E501
430
430
  :rtype: str
431
431
  """
432
- return self._session_name
432
+ return self._ray_session_name
433
433
 
434
- @session_name.setter
435
- def session_name(self, session_name):
436
- """Sets the session_name of this TaskTableRow.
434
+ @ray_session_name.setter
435
+ def ray_session_name(self, ray_session_name):
436
+ """Sets the ray_session_name of this TaskTableRow.
437
437
 
438
438
 
439
- :param session_name: The session_name of this TaskTableRow. # noqa: E501
439
+ :param ray_session_name: The ray_session_name of this TaskTableRow. # noqa: E501
440
440
  :type: str
441
441
  """
442
- if self.local_vars_configuration.client_side_validation and session_name is None: # noqa: E501
443
- raise ValueError("Invalid value for `session_name`, must not be `None`") # noqa: E501
442
+ if self.local_vars_configuration.client_side_validation and ray_session_name is None: # noqa: E501
443
+ raise ValueError("Invalid value for `ray_session_name`, must not be `None`") # noqa: E501
444
444
 
445
- self._session_name = session_name
445
+ self._ray_session_name = ray_session_name
446
446
 
447
447
  def to_dict(self):
448
448
  """Returns the model properties as a dict"""
@@ -71,7 +71,7 @@ def compare_dicts_diff(d1: Dict[Any, Any], d2: Dict[Any, Any]) -> str:
71
71
  )
72
72
 
73
73
 
74
- AWS_RESOURCE_DICT: Dict[str, CloudAnalyticsEventCloudResource] = {
74
+ AWS_RESOURCE_DICT: Dict[str, str] = {
75
75
  "VPC": CloudAnalyticsEventCloudResource.AWS_VPC,
76
76
  "Subnet": CloudAnalyticsEventCloudResource.AWS_SUBNET,
77
77
  "Security group": CloudAnalyticsEventCloudResource.AWS_SECURITY_GROUP,