anyscale 0.26.37__py3-none-any.whl → 0.26.38__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 (23) hide show
  1. anyscale/_private/docgen/models.md +1 -12
  2. anyscale/client/README.md +6 -1
  3. anyscale/client/openapi_client/__init__.py +4 -1
  4. anyscale/client/openapi_client/api/default_api.py +236 -0
  5. anyscale/client/openapi_client/models/__init__.py +4 -1
  6. anyscale/client/openapi_client/models/cloud_deployment_compute_config.py +5 -5
  7. anyscale/client/openapi_client/models/describe_machine_pool_machines_request.py +123 -0
  8. anyscale/client/openapi_client/models/describe_machine_pool_requests_request.py +123 -0
  9. anyscale/client/openapi_client/models/machinestateinfo_list_response.py +147 -0
  10. anyscale/client/openapi_client/models/requeststateinfo_list_response.py +147 -0
  11. anyscale/sdk/anyscale_client/__init__.py +0 -1
  12. anyscale/sdk/anyscale_client/models/__init__.py +0 -1
  13. anyscale/sdk/anyscale_client/models/cloud_deployment_compute_config.py +5 -5
  14. anyscale/version.py +1 -1
  15. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/METADATA +1 -1
  16. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/RECORD +21 -19
  17. anyscale/client/openapi_client/models/cloud_deployment_selector.py +0 -206
  18. anyscale/sdk/anyscale_client/models/cloud_deployment_selector.py +0 -206
  19. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/LICENSE +0 -0
  20. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/NOTICE +0 -0
  21. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/WHEEL +0 -0
  22. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/entry_points.txt +0 -0
  23. {anyscale-0.26.37.dist-info → anyscale-0.26.38.dist-info}/top_level.txt +0 -0
@@ -1,206 +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 CloudDeploymentSelector(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
- 'id': 'str',
37
- 'compute_stack': 'ComputeStack',
38
- 'provider': 'CloudProviders',
39
- 'region': 'str'
40
- }
41
-
42
- attribute_map = {
43
- 'id': 'id',
44
- 'compute_stack': 'compute_stack',
45
- 'provider': 'provider',
46
- 'region': 'region'
47
- }
48
-
49
- def __init__(self, id=None, compute_stack=None, provider=None, region=None, local_vars_configuration=None): # noqa: E501
50
- """CloudDeploymentSelector - a model defined in OpenAPI""" # noqa: E501
51
- if local_vars_configuration is None:
52
- local_vars_configuration = Configuration()
53
- self.local_vars_configuration = local_vars_configuration
54
-
55
- self._id = None
56
- self._compute_stack = None
57
- self._provider = None
58
- self._region = None
59
- self.discriminator = None
60
-
61
- if id is not None:
62
- self.id = id
63
- if compute_stack is not None:
64
- self.compute_stack = compute_stack
65
- if provider is not None:
66
- self.provider = provider
67
- if region is not None:
68
- self.region = region
69
-
70
- @property
71
- def id(self):
72
- """Gets the id of this CloudDeploymentSelector. # noqa: E501
73
-
74
- Cloud deployment ID. Note that this is not the same as the cloud ID. # noqa: E501
75
-
76
- :return: The id of this CloudDeploymentSelector. # noqa: E501
77
- :rtype: str
78
- """
79
- return self._id
80
-
81
- @id.setter
82
- def id(self, id):
83
- """Sets the id of this CloudDeploymentSelector.
84
-
85
- Cloud deployment ID. Note that this is not the same as the cloud ID. # noqa: E501
86
-
87
- :param id: The id of this CloudDeploymentSelector. # noqa: E501
88
- :type: str
89
- """
90
-
91
- self._id = id
92
-
93
- @property
94
- def compute_stack(self):
95
- """Gets the compute_stack of this CloudDeploymentSelector. # noqa: E501
96
-
97
- Cloud deployment compute stack, e.g., `VM` or `K8S`. # noqa: E501
98
-
99
- :return: The compute_stack of this CloudDeploymentSelector. # noqa: E501
100
- :rtype: ComputeStack
101
- """
102
- return self._compute_stack
103
-
104
- @compute_stack.setter
105
- def compute_stack(self, compute_stack):
106
- """Sets the compute_stack of this CloudDeploymentSelector.
107
-
108
- Cloud deployment compute stack, e.g., `VM` or `K8S`. # noqa: E501
109
-
110
- :param compute_stack: The compute_stack of this CloudDeploymentSelector. # noqa: E501
111
- :type: ComputeStack
112
- """
113
-
114
- self._compute_stack = compute_stack
115
-
116
- @property
117
- def provider(self):
118
- """Gets the provider of this CloudDeploymentSelector. # noqa: E501
119
-
120
- Cloud deployment provider name, e.g., `AWS` or `GCP`. # noqa: E501
121
-
122
- :return: The provider of this CloudDeploymentSelector. # noqa: E501
123
- :rtype: CloudProviders
124
- """
125
- return self._provider
126
-
127
- @provider.setter
128
- def provider(self, provider):
129
- """Sets the provider of this CloudDeploymentSelector.
130
-
131
- Cloud deployment provider name, e.g., `AWS` or `GCP`. # noqa: E501
132
-
133
- :param provider: The provider of this CloudDeploymentSelector. # noqa: E501
134
- :type: CloudProviders
135
- """
136
-
137
- self._provider = provider
138
-
139
- @property
140
- def region(self):
141
- """Gets the region of this CloudDeploymentSelector. # noqa: E501
142
-
143
- Cloud deployment region, e.g., `us-west-2`. # noqa: E501
144
-
145
- :return: The region of this CloudDeploymentSelector. # noqa: E501
146
- :rtype: str
147
- """
148
- return self._region
149
-
150
- @region.setter
151
- def region(self, region):
152
- """Sets the region of this CloudDeploymentSelector.
153
-
154
- Cloud deployment region, e.g., `us-west-2`. # noqa: E501
155
-
156
- :param region: The region of this CloudDeploymentSelector. # noqa: E501
157
- :type: str
158
- """
159
-
160
- self._region = region
161
-
162
- def to_dict(self):
163
- """Returns the model properties as a dict"""
164
- result = {}
165
-
166
- for attr, _ in six.iteritems(self.openapi_types):
167
- value = getattr(self, attr)
168
- if isinstance(value, list):
169
- result[attr] = list(map(
170
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
171
- value
172
- ))
173
- elif hasattr(value, "to_dict"):
174
- result[attr] = value.to_dict()
175
- elif isinstance(value, dict):
176
- result[attr] = dict(map(
177
- lambda item: (item[0], item[1].to_dict())
178
- if hasattr(item[1], "to_dict") else item,
179
- value.items()
180
- ))
181
- else:
182
- result[attr] = value
183
-
184
- return result
185
-
186
- def to_str(self):
187
- """Returns the string representation of the model"""
188
- return pprint.pformat(self.to_dict())
189
-
190
- def __repr__(self):
191
- """For `print` and `pprint`"""
192
- return self.to_str()
193
-
194
- def __eq__(self, other):
195
- """Returns true if both objects are equal"""
196
- if not isinstance(other, CloudDeploymentSelector):
197
- return False
198
-
199
- return self.to_dict() == other.to_dict()
200
-
201
- def __ne__(self, other):
202
- """Returns true if both objects are not equal"""
203
- if not isinstance(other, CloudDeploymentSelector):
204
- return True
205
-
206
- return self.to_dict() != other.to_dict()
@@ -1,206 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Anyscale 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 anyscale_client.configuration import Configuration
19
-
20
-
21
- class CloudDeploymentSelector(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
- 'id': 'str',
37
- 'compute_stack': 'ComputeStack',
38
- 'provider': 'CloudProviders',
39
- 'region': 'str'
40
- }
41
-
42
- attribute_map = {
43
- 'id': 'id',
44
- 'compute_stack': 'compute_stack',
45
- 'provider': 'provider',
46
- 'region': 'region'
47
- }
48
-
49
- def __init__(self, id=None, compute_stack=None, provider=None, region=None, local_vars_configuration=None): # noqa: E501
50
- """CloudDeploymentSelector - a model defined in OpenAPI""" # noqa: E501
51
- if local_vars_configuration is None:
52
- local_vars_configuration = Configuration()
53
- self.local_vars_configuration = local_vars_configuration
54
-
55
- self._id = None
56
- self._compute_stack = None
57
- self._provider = None
58
- self._region = None
59
- self.discriminator = None
60
-
61
- if id is not None:
62
- self.id = id
63
- if compute_stack is not None:
64
- self.compute_stack = compute_stack
65
- if provider is not None:
66
- self.provider = provider
67
- if region is not None:
68
- self.region = region
69
-
70
- @property
71
- def id(self):
72
- """Gets the id of this CloudDeploymentSelector. # noqa: E501
73
-
74
- Cloud deployment ID. Note that this is not the same as the cloud ID. # noqa: E501
75
-
76
- :return: The id of this CloudDeploymentSelector. # noqa: E501
77
- :rtype: str
78
- """
79
- return self._id
80
-
81
- @id.setter
82
- def id(self, id):
83
- """Sets the id of this CloudDeploymentSelector.
84
-
85
- Cloud deployment ID. Note that this is not the same as the cloud ID. # noqa: E501
86
-
87
- :param id: The id of this CloudDeploymentSelector. # noqa: E501
88
- :type: str
89
- """
90
-
91
- self._id = id
92
-
93
- @property
94
- def compute_stack(self):
95
- """Gets the compute_stack of this CloudDeploymentSelector. # noqa: E501
96
-
97
- Cloud deployment compute stack, e.g., `VM` or `K8S`. # noqa: E501
98
-
99
- :return: The compute_stack of this CloudDeploymentSelector. # noqa: E501
100
- :rtype: ComputeStack
101
- """
102
- return self._compute_stack
103
-
104
- @compute_stack.setter
105
- def compute_stack(self, compute_stack):
106
- """Sets the compute_stack of this CloudDeploymentSelector.
107
-
108
- Cloud deployment compute stack, e.g., `VM` or `K8S`. # noqa: E501
109
-
110
- :param compute_stack: The compute_stack of this CloudDeploymentSelector. # noqa: E501
111
- :type: ComputeStack
112
- """
113
-
114
- self._compute_stack = compute_stack
115
-
116
- @property
117
- def provider(self):
118
- """Gets the provider of this CloudDeploymentSelector. # noqa: E501
119
-
120
- Cloud deployment provider name, e.g., `AWS` or `GCP`. # noqa: E501
121
-
122
- :return: The provider of this CloudDeploymentSelector. # noqa: E501
123
- :rtype: CloudProviders
124
- """
125
- return self._provider
126
-
127
- @provider.setter
128
- def provider(self, provider):
129
- """Sets the provider of this CloudDeploymentSelector.
130
-
131
- Cloud deployment provider name, e.g., `AWS` or `GCP`. # noqa: E501
132
-
133
- :param provider: The provider of this CloudDeploymentSelector. # noqa: E501
134
- :type: CloudProviders
135
- """
136
-
137
- self._provider = provider
138
-
139
- @property
140
- def region(self):
141
- """Gets the region of this CloudDeploymentSelector. # noqa: E501
142
-
143
- Cloud deployment region, e.g., `us-west-2`. # noqa: E501
144
-
145
- :return: The region of this CloudDeploymentSelector. # noqa: E501
146
- :rtype: str
147
- """
148
- return self._region
149
-
150
- @region.setter
151
- def region(self, region):
152
- """Sets the region of this CloudDeploymentSelector.
153
-
154
- Cloud deployment region, e.g., `us-west-2`. # noqa: E501
155
-
156
- :param region: The region of this CloudDeploymentSelector. # noqa: E501
157
- :type: str
158
- """
159
-
160
- self._region = region
161
-
162
- def to_dict(self):
163
- """Returns the model properties as a dict"""
164
- result = {}
165
-
166
- for attr, _ in six.iteritems(self.openapi_types):
167
- value = getattr(self, attr)
168
- if isinstance(value, list):
169
- result[attr] = list(map(
170
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
171
- value
172
- ))
173
- elif hasattr(value, "to_dict"):
174
- result[attr] = value.to_dict()
175
- elif isinstance(value, dict):
176
- result[attr] = dict(map(
177
- lambda item: (item[0], item[1].to_dict())
178
- if hasattr(item[1], "to_dict") else item,
179
- value.items()
180
- ))
181
- else:
182
- result[attr] = value
183
-
184
- return result
185
-
186
- def to_str(self):
187
- """Returns the string representation of the model"""
188
- return pprint.pformat(self.to_dict())
189
-
190
- def __repr__(self):
191
- """For `print` and `pprint`"""
192
- return self.to_str()
193
-
194
- def __eq__(self, other):
195
- """Returns true if both objects are equal"""
196
- if not isinstance(other, CloudDeploymentSelector):
197
- return False
198
-
199
- return self.to_dict() == other.to_dict()
200
-
201
- def __ne__(self, other):
202
- """Returns true if both objects are not equal"""
203
- if not isinstance(other, CloudDeploymentSelector):
204
- return True
205
-
206
- return self.to_dict() != other.to_dict()