anyscale 0.26.68__py3-none-any.whl → 0.26.70__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 (71) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +67 -1
  2. anyscale/_private/anyscale_client/common.py +20 -1
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +77 -10
  4. anyscale/client/README.md +16 -4
  5. anyscale/client/openapi_client/__init__.py +12 -4
  6. anyscale/client/openapi_client/api/default_api.py +588 -23
  7. anyscale/client/openapi_client/models/__init__.py +12 -4
  8. anyscale/client/openapi_client/models/api_key_info.py +29 -3
  9. anyscale/client/openapi_client/models/apply_autoscaling_config_update_model.py +350 -0
  10. anyscale/client/openapi_client/models/apply_production_service_multi_version_v2_model.py +207 -0
  11. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
  12. anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
  13. anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
  14. anyscale/client/openapi_client/models/{oauthconnectionresponse_response.py → clouddeployment_response.py} +11 -11
  15. anyscale/client/openapi_client/models/clusterdashboardnode_response.py +121 -0
  16. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  17. anyscale/client/openapi_client/models/create_workspace_from_template.py +29 -1
  18. anyscale/client/openapi_client/models/create_workspace_template_version.py +31 -3
  19. anyscale/client/openapi_client/models/decorated_list_service_api_model.py +58 -1
  20. anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +60 -3
  21. anyscale/client/openapi_client/models/decorated_service_event_api_model.py +3 -3
  22. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +33 -5
  23. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +33 -5
  24. anyscale/client/openapi_client/models/{service_event_level.py → entity_type.py} +9 -9
  25. anyscale/client/openapi_client/models/event_level.py +2 -1
  26. anyscale/client/openapi_client/models/job_event_fields.py +206 -0
  27. anyscale/client/openapi_client/models/lineage_graph_node.py +70 -42
  28. anyscale/client/openapi_client/models/lineage_workload.py +31 -3
  29. anyscale/client/openapi_client/models/machine_type_partition_filter.py +152 -0
  30. anyscale/client/openapi_client/models/partition_info.py +30 -1
  31. anyscale/client/openapi_client/models/production_job_event.py +3 -3
  32. anyscale/client/openapi_client/models/rollout_strategy.py +2 -1
  33. anyscale/client/openapi_client/models/service_event_fields.py +318 -0
  34. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
  35. anyscale/client/openapi_client/models/task_summary_config.py +29 -3
  36. anyscale/client/openapi_client/models/task_table_config.py +29 -3
  37. anyscale/client/openapi_client/models/unified_event.py +377 -0
  38. anyscale/client/openapi_client/models/{ha_job_event_level.py → unified_origin_filter.py} +21 -9
  39. anyscale/client/openapi_client/models/unifiedevent_list_response.py +147 -0
  40. anyscale/client/openapi_client/models/workspace_event_fields.py +122 -0
  41. anyscale/client/openapi_client/models/workspace_template_version.py +30 -1
  42. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +30 -1
  43. anyscale/cloud/models.py +2 -2
  44. anyscale/commands/cloud_commands.py +148 -11
  45. anyscale/commands/command_examples.py +53 -0
  46. anyscale/commands/job_commands.py +1 -1
  47. anyscale/commands/service_commands.py +130 -67
  48. anyscale/commands/setup_k8s.py +615 -49
  49. anyscale/controllers/cloud_controller.py +19 -5
  50. anyscale/controllers/kubernetes_verifier.py +80 -66
  51. anyscale/job/_private/job_sdk.py +47 -1
  52. anyscale/job/commands.py +3 -0
  53. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
  54. anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
  55. anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
  56. anyscale/sdk/anyscale_client/models/rollout_strategy.py +2 -1
  57. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
  58. anyscale/service/__init__.py +11 -3
  59. anyscale/service/_private/service_sdk.py +361 -35
  60. anyscale/service/commands.py +15 -3
  61. anyscale/service/models.py +12 -0
  62. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  63. anyscale/version.py +1 -1
  64. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/METADATA +1 -1
  65. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/RECORD +70 -62
  66. anyscale/client/openapi_client/models/o_auth_connection_response.py +0 -229
  67. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/WHEEL +0 -0
  68. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/entry_points.txt +0 -0
  69. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/licenses/LICENSE +0 -0
  70. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/licenses/NOTICE +0 -0
  71. {anyscale-0.26.68.dist-info → anyscale-0.26.70.dist-info}/top_level.txt +0 -0
@@ -1,229 +0,0 @@
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 OAuthConnectionResponse(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
- 'success': 'bool',
37
- 'token_id': 'str',
38
- 'connection_id': 'str',
39
- 'message': 'str',
40
- 'is_validation': 'bool'
41
- }
42
-
43
- attribute_map = {
44
- 'success': 'success',
45
- 'token_id': 'token_id',
46
- 'connection_id': 'connection_id',
47
- 'message': 'message',
48
- 'is_validation': 'is_validation'
49
- }
50
-
51
- def __init__(self, success=None, token_id=None, connection_id=None, message=None, is_validation=None, local_vars_configuration=None): # noqa: E501
52
- """OAuthConnectionResponse - a model defined in OpenAPI""" # noqa: E501
53
- if local_vars_configuration is None:
54
- local_vars_configuration = Configuration()
55
- self.local_vars_configuration = local_vars_configuration
56
-
57
- self._success = None
58
- self._token_id = None
59
- self._connection_id = None
60
- self._message = None
61
- self._is_validation = None
62
- self.discriminator = None
63
-
64
- self.success = success
65
- self.token_id = token_id
66
- self.connection_id = connection_id
67
- self.message = message
68
- self.is_validation = is_validation
69
-
70
- @property
71
- def success(self):
72
- """Gets the success of this OAuthConnectionResponse. # noqa: E501
73
-
74
-
75
- :return: The success of this OAuthConnectionResponse. # noqa: E501
76
- :rtype: bool
77
- """
78
- return self._success
79
-
80
- @success.setter
81
- def success(self, success):
82
- """Sets the success of this OAuthConnectionResponse.
83
-
84
-
85
- :param success: The success of this OAuthConnectionResponse. # noqa: E501
86
- :type: bool
87
- """
88
- if self.local_vars_configuration.client_side_validation and success is None: # noqa: E501
89
- raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
90
-
91
- self._success = success
92
-
93
- @property
94
- def token_id(self):
95
- """Gets the token_id of this OAuthConnectionResponse. # noqa: E501
96
-
97
-
98
- :return: The token_id of this OAuthConnectionResponse. # noqa: E501
99
- :rtype: str
100
- """
101
- return self._token_id
102
-
103
- @token_id.setter
104
- def token_id(self, token_id):
105
- """Sets the token_id of this OAuthConnectionResponse.
106
-
107
-
108
- :param token_id: The token_id of this OAuthConnectionResponse. # noqa: E501
109
- :type: str
110
- """
111
- if self.local_vars_configuration.client_side_validation and token_id is None: # noqa: E501
112
- raise ValueError("Invalid value for `token_id`, must not be `None`") # noqa: E501
113
-
114
- self._token_id = token_id
115
-
116
- @property
117
- def connection_id(self):
118
- """Gets the connection_id of this OAuthConnectionResponse. # noqa: E501
119
-
120
-
121
- :return: The connection_id of this OAuthConnectionResponse. # noqa: E501
122
- :rtype: str
123
- """
124
- return self._connection_id
125
-
126
- @connection_id.setter
127
- def connection_id(self, connection_id):
128
- """Sets the connection_id of this OAuthConnectionResponse.
129
-
130
-
131
- :param connection_id: The connection_id of this OAuthConnectionResponse. # noqa: E501
132
- :type: str
133
- """
134
- if self.local_vars_configuration.client_side_validation and connection_id is None: # noqa: E501
135
- raise ValueError("Invalid value for `connection_id`, must not be `None`") # noqa: E501
136
-
137
- self._connection_id = connection_id
138
-
139
- @property
140
- def message(self):
141
- """Gets the message of this OAuthConnectionResponse. # noqa: E501
142
-
143
-
144
- :return: The message of this OAuthConnectionResponse. # noqa: E501
145
- :rtype: str
146
- """
147
- return self._message
148
-
149
- @message.setter
150
- def message(self, message):
151
- """Sets the message of this OAuthConnectionResponse.
152
-
153
-
154
- :param message: The message of this OAuthConnectionResponse. # noqa: E501
155
- :type: str
156
- """
157
- if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501
158
- raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501
159
-
160
- self._message = message
161
-
162
- @property
163
- def is_validation(self):
164
- """Gets the is_validation of this OAuthConnectionResponse. # noqa: E501
165
-
166
-
167
- :return: The is_validation of this OAuthConnectionResponse. # noqa: E501
168
- :rtype: bool
169
- """
170
- return self._is_validation
171
-
172
- @is_validation.setter
173
- def is_validation(self, is_validation):
174
- """Sets the is_validation of this OAuthConnectionResponse.
175
-
176
-
177
- :param is_validation: The is_validation of this OAuthConnectionResponse. # noqa: E501
178
- :type: bool
179
- """
180
- if self.local_vars_configuration.client_side_validation and is_validation is None: # noqa: E501
181
- raise ValueError("Invalid value for `is_validation`, must not be `None`") # noqa: E501
182
-
183
- self._is_validation = is_validation
184
-
185
- def to_dict(self):
186
- """Returns the model properties as a dict"""
187
- result = {}
188
-
189
- for attr, _ in six.iteritems(self.openapi_types):
190
- value = getattr(self, attr)
191
- if isinstance(value, list):
192
- result[attr] = list(map(
193
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
194
- value
195
- ))
196
- elif hasattr(value, "to_dict"):
197
- result[attr] = value.to_dict()
198
- elif isinstance(value, dict):
199
- result[attr] = dict(map(
200
- lambda item: (item[0], item[1].to_dict())
201
- if hasattr(item[1], "to_dict") else item,
202
- value.items()
203
- ))
204
- else:
205
- result[attr] = value
206
-
207
- return result
208
-
209
- def to_str(self):
210
- """Returns the string representation of the model"""
211
- return pprint.pformat(self.to_dict())
212
-
213
- def __repr__(self):
214
- """For `print` and `pprint`"""
215
- return self.to_str()
216
-
217
- def __eq__(self, other):
218
- """Returns true if both objects are equal"""
219
- if not isinstance(other, OAuthConnectionResponse):
220
- return False
221
-
222
- return self.to_dict() == other.to_dict()
223
-
224
- def __ne__(self, other):
225
- """Returns true if both objects are not equal"""
226
- if not isinstance(other, OAuthConnectionResponse):
227
- return True
228
-
229
- return self.to_dict() != other.to_dict()