anyscale 0.26.5__py3-none-any.whl → 0.26.6__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 (22) hide show
  1. anyscale/client/README.md +0 -19
  2. anyscale/client/openapi_client/__init__.py +0 -8
  3. anyscale/client/openapi_client/api/default_api.py +48 -1336
  4. anyscale/client/openapi_client/models/__init__.py +0 -8
  5. anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +3 -30
  6. anyscale/commands/workspace_commands.py +3 -3
  7. anyscale/version.py +1 -1
  8. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/METADATA +1 -1
  9. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/RECORD +14 -22
  10. anyscale/client/openapi_client/models/cluster_config.py +0 -178
  11. anyscale/client/openapi_client/models/cluster_config_with_session_idle_timeout.py +0 -204
  12. anyscale/client/openapi_client/models/cluster_startup.py +0 -208
  13. anyscale/client/openapi_client/models/clusterconfig_response.py +0 -121
  14. anyscale/client/openapi_client/models/clusterconfigwithsessionidletimeout_response.py +0 -121
  15. anyscale/client/openapi_client/models/execute_shell_command_options.py +0 -121
  16. anyscale/client/openapi_client/models/organization_availability.py +0 -148
  17. anyscale/client/openapi_client/models/organizationavailability_response.py +0 -121
  18. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/LICENSE +0 -0
  19. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/NOTICE +0 -0
  20. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/WHEEL +0 -0
  21. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/entry_points.txt +0 -0
  22. {anyscale-0.26.5.dist-info → anyscale-0.26.6.dist-info}/top_level.txt +0 -0
@@ -1,208 +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 ClusterStartup(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
- 'start_time': 'datetime',
37
- 'cluster_id': 'str',
38
- 'id': 'str',
39
- 'finish_time': 'datetime'
40
- }
41
-
42
- attribute_map = {
43
- 'start_time': 'start_time',
44
- 'cluster_id': 'cluster_id',
45
- 'id': 'id',
46
- 'finish_time': 'finish_time'
47
- }
48
-
49
- def __init__(self, start_time=None, cluster_id=None, id=None, finish_time=None, local_vars_configuration=None): # noqa: E501
50
- """ClusterStartup - 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._start_time = None
56
- self._cluster_id = None
57
- self._id = None
58
- self._finish_time = None
59
- self.discriminator = None
60
-
61
- self.start_time = start_time
62
- if cluster_id is not None:
63
- self.cluster_id = cluster_id
64
- self.id = id
65
- if finish_time is not None:
66
- self.finish_time = finish_time
67
-
68
- @property
69
- def start_time(self):
70
- """Gets the start_time of this ClusterStartup. # noqa: E501
71
-
72
- When the startup was initiated. Should be timezone-aware. # noqa: E501
73
-
74
- :return: The start_time of this ClusterStartup. # noqa: E501
75
- :rtype: datetime
76
- """
77
- return self._start_time
78
-
79
- @start_time.setter
80
- def start_time(self, start_time):
81
- """Sets the start_time of this ClusterStartup.
82
-
83
- When the startup was initiated. Should be timezone-aware. # noqa: E501
84
-
85
- :param start_time: The start_time of this ClusterStartup. # noqa: E501
86
- :type: datetime
87
- """
88
- if self.local_vars_configuration.client_side_validation and start_time is None: # noqa: E501
89
- raise ValueError("Invalid value for `start_time`, must not be `None`") # noqa: E501
90
-
91
- self._start_time = start_time
92
-
93
- @property
94
- def cluster_id(self):
95
- """Gets the cluster_id of this ClusterStartup. # noqa: E501
96
-
97
- Cluster ID from sessions table. None if not known yet. # noqa: E501
98
-
99
- :return: The cluster_id of this ClusterStartup. # noqa: E501
100
- :rtype: str
101
- """
102
- return self._cluster_id
103
-
104
- @cluster_id.setter
105
- def cluster_id(self, cluster_id):
106
- """Sets the cluster_id of this ClusterStartup.
107
-
108
- Cluster ID from sessions table. None if not known yet. # noqa: E501
109
-
110
- :param cluster_id: The cluster_id of this ClusterStartup. # noqa: E501
111
- :type: str
112
- """
113
-
114
- self._cluster_id = cluster_id
115
-
116
- @property
117
- def id(self):
118
- """Gets the id of this ClusterStartup. # noqa: E501
119
-
120
- Unique identifier for this startup. # noqa: E501
121
-
122
- :return: The id of this ClusterStartup. # noqa: E501
123
- :rtype: str
124
- """
125
- return self._id
126
-
127
- @id.setter
128
- def id(self, id):
129
- """Sets the id of this ClusterStartup.
130
-
131
- Unique identifier for this startup. # noqa: E501
132
-
133
- :param id: The id of this ClusterStartup. # noqa: E501
134
- :type: str
135
- """
136
- if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
137
- raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
138
-
139
- self._id = id
140
-
141
- @property
142
- def finish_time(self):
143
- """Gets the finish_time of this ClusterStartup. # noqa: E501
144
-
145
- When this cluster startup has finished; None if it is still in progress. # noqa: E501
146
-
147
- :return: The finish_time of this ClusterStartup. # noqa: E501
148
- :rtype: datetime
149
- """
150
- return self._finish_time
151
-
152
- @finish_time.setter
153
- def finish_time(self, finish_time):
154
- """Sets the finish_time of this ClusterStartup.
155
-
156
- When this cluster startup has finished; None if it is still in progress. # noqa: E501
157
-
158
- :param finish_time: The finish_time of this ClusterStartup. # noqa: E501
159
- :type: datetime
160
- """
161
-
162
- self._finish_time = finish_time
163
-
164
- def to_dict(self):
165
- """Returns the model properties as a dict"""
166
- result = {}
167
-
168
- for attr, _ in six.iteritems(self.openapi_types):
169
- value = getattr(self, attr)
170
- if isinstance(value, list):
171
- result[attr] = list(map(
172
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
173
- value
174
- ))
175
- elif hasattr(value, "to_dict"):
176
- result[attr] = value.to_dict()
177
- elif isinstance(value, dict):
178
- result[attr] = dict(map(
179
- lambda item: (item[0], item[1].to_dict())
180
- if hasattr(item[1], "to_dict") else item,
181
- value.items()
182
- ))
183
- else:
184
- result[attr] = value
185
-
186
- return result
187
-
188
- def to_str(self):
189
- """Returns the string representation of the model"""
190
- return pprint.pformat(self.to_dict())
191
-
192
- def __repr__(self):
193
- """For `print` and `pprint`"""
194
- return self.to_str()
195
-
196
- def __eq__(self, other):
197
- """Returns true if both objects are equal"""
198
- if not isinstance(other, ClusterStartup):
199
- return False
200
-
201
- return self.to_dict() == other.to_dict()
202
-
203
- def __ne__(self, other):
204
- """Returns true if both objects are not equal"""
205
- if not isinstance(other, ClusterStartup):
206
- return True
207
-
208
- return self.to_dict() != other.to_dict()
@@ -1,121 +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 ClusterconfigResponse(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
- 'result': 'ClusterConfig'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """ClusterconfigResponse - a model defined in OpenAPI""" # noqa: E501
45
- if local_vars_configuration is None:
46
- local_vars_configuration = Configuration()
47
- self.local_vars_configuration = local_vars_configuration
48
-
49
- self._result = None
50
- self.discriminator = None
51
-
52
- self.result = result
53
-
54
- @property
55
- def result(self):
56
- """Gets the result of this ClusterconfigResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this ClusterconfigResponse. # noqa: E501
60
- :rtype: ClusterConfig
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this ClusterconfigResponse.
67
-
68
-
69
- :param result: The result of this ClusterconfigResponse. # noqa: E501
70
- :type: ClusterConfig
71
- """
72
- if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
- raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
74
-
75
- self._result = result
76
-
77
- def to_dict(self):
78
- """Returns the model properties as a dict"""
79
- result = {}
80
-
81
- for attr, _ in six.iteritems(self.openapi_types):
82
- value = getattr(self, attr)
83
- if isinstance(value, list):
84
- result[attr] = list(map(
85
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
- value
87
- ))
88
- elif hasattr(value, "to_dict"):
89
- result[attr] = value.to_dict()
90
- elif isinstance(value, dict):
91
- result[attr] = dict(map(
92
- lambda item: (item[0], item[1].to_dict())
93
- if hasattr(item[1], "to_dict") else item,
94
- value.items()
95
- ))
96
- else:
97
- result[attr] = value
98
-
99
- return result
100
-
101
- def to_str(self):
102
- """Returns the string representation of the model"""
103
- return pprint.pformat(self.to_dict())
104
-
105
- def __repr__(self):
106
- """For `print` and `pprint`"""
107
- return self.to_str()
108
-
109
- def __eq__(self, other):
110
- """Returns true if both objects are equal"""
111
- if not isinstance(other, ClusterconfigResponse):
112
- return False
113
-
114
- return self.to_dict() == other.to_dict()
115
-
116
- def __ne__(self, other):
117
- """Returns true if both objects are not equal"""
118
- if not isinstance(other, ClusterconfigResponse):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()
@@ -1,121 +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 ClusterconfigwithsessionidletimeoutResponse(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
- 'result': 'ClusterConfigWithSessionIdleTimeout'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """ClusterconfigwithsessionidletimeoutResponse - a model defined in OpenAPI""" # noqa: E501
45
- if local_vars_configuration is None:
46
- local_vars_configuration = Configuration()
47
- self.local_vars_configuration = local_vars_configuration
48
-
49
- self._result = None
50
- self.discriminator = None
51
-
52
- self.result = result
53
-
54
- @property
55
- def result(self):
56
- """Gets the result of this ClusterconfigwithsessionidletimeoutResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this ClusterconfigwithsessionidletimeoutResponse. # noqa: E501
60
- :rtype: ClusterConfigWithSessionIdleTimeout
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this ClusterconfigwithsessionidletimeoutResponse.
67
-
68
-
69
- :param result: The result of this ClusterconfigwithsessionidletimeoutResponse. # noqa: E501
70
- :type: ClusterConfigWithSessionIdleTimeout
71
- """
72
- if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
- raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
74
-
75
- self._result = result
76
-
77
- def to_dict(self):
78
- """Returns the model properties as a dict"""
79
- result = {}
80
-
81
- for attr, _ in six.iteritems(self.openapi_types):
82
- value = getattr(self, attr)
83
- if isinstance(value, list):
84
- result[attr] = list(map(
85
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
- value
87
- ))
88
- elif hasattr(value, "to_dict"):
89
- result[attr] = value.to_dict()
90
- elif isinstance(value, dict):
91
- result[attr] = dict(map(
92
- lambda item: (item[0], item[1].to_dict())
93
- if hasattr(item[1], "to_dict") else item,
94
- value.items()
95
- ))
96
- else:
97
- result[attr] = value
98
-
99
- return result
100
-
101
- def to_str(self):
102
- """Returns the string representation of the model"""
103
- return pprint.pformat(self.to_dict())
104
-
105
- def __repr__(self):
106
- """For `print` and `pprint`"""
107
- return self.to_str()
108
-
109
- def __eq__(self, other):
110
- """Returns true if both objects are equal"""
111
- if not isinstance(other, ClusterconfigwithsessionidletimeoutResponse):
112
- return False
113
-
114
- return self.to_dict() == other.to_dict()
115
-
116
- def __ne__(self, other):
117
- """Returns true if both objects are not equal"""
118
- if not isinstance(other, ClusterconfigwithsessionidletimeoutResponse):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()
@@ -1,121 +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 ExecuteShellCommandOptions(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
- 'shell_command': 'str'
37
- }
38
-
39
- attribute_map = {
40
- 'shell_command': 'shell_command'
41
- }
42
-
43
- def __init__(self, shell_command=None, local_vars_configuration=None): # noqa: E501
44
- """ExecuteShellCommandOptions - a model defined in OpenAPI""" # noqa: E501
45
- if local_vars_configuration is None:
46
- local_vars_configuration = Configuration()
47
- self.local_vars_configuration = local_vars_configuration
48
-
49
- self._shell_command = None
50
- self.discriminator = None
51
-
52
- self.shell_command = shell_command
53
-
54
- @property
55
- def shell_command(self):
56
- """Gets the shell_command of this ExecuteShellCommandOptions. # noqa: E501
57
-
58
-
59
- :return: The shell_command of this ExecuteShellCommandOptions. # noqa: E501
60
- :rtype: str
61
- """
62
- return self._shell_command
63
-
64
- @shell_command.setter
65
- def shell_command(self, shell_command):
66
- """Sets the shell_command of this ExecuteShellCommandOptions.
67
-
68
-
69
- :param shell_command: The shell_command of this ExecuteShellCommandOptions. # noqa: E501
70
- :type: str
71
- """
72
- if self.local_vars_configuration.client_side_validation and shell_command is None: # noqa: E501
73
- raise ValueError("Invalid value for `shell_command`, must not be `None`") # noqa: E501
74
-
75
- self._shell_command = shell_command
76
-
77
- def to_dict(self):
78
- """Returns the model properties as a dict"""
79
- result = {}
80
-
81
- for attr, _ in six.iteritems(self.openapi_types):
82
- value = getattr(self, attr)
83
- if isinstance(value, list):
84
- result[attr] = list(map(
85
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
- value
87
- ))
88
- elif hasattr(value, "to_dict"):
89
- result[attr] = value.to_dict()
90
- elif isinstance(value, dict):
91
- result[attr] = dict(map(
92
- lambda item: (item[0], item[1].to_dict())
93
- if hasattr(item[1], "to_dict") else item,
94
- value.items()
95
- ))
96
- else:
97
- result[attr] = value
98
-
99
- return result
100
-
101
- def to_str(self):
102
- """Returns the string representation of the model"""
103
- return pprint.pformat(self.to_dict())
104
-
105
- def __repr__(self):
106
- """For `print` and `pprint`"""
107
- return self.to_str()
108
-
109
- def __eq__(self, other):
110
- """Returns true if both objects are equal"""
111
- if not isinstance(other, ExecuteShellCommandOptions):
112
- return False
113
-
114
- return self.to_dict() == other.to_dict()
115
-
116
- def __ne__(self, other):
117
- """Returns true if both objects are not equal"""
118
- if not isinstance(other, ExecuteShellCommandOptions):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()