anyscale 0.26.28__py3-none-any.whl → 0.26.30__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/__init__.py +10 -0
- anyscale/_private/anyscale_client/anyscale_client.py +69 -0
- anyscale/_private/anyscale_client/common.py +38 -0
- anyscale/_private/anyscale_client/fake_anyscale_client.py +11 -0
- anyscale/_private/docgen/__main__.py +4 -18
- anyscale/_private/docgen/api.md +0 -125
- anyscale/_private/docgen/models.md +0 -111
- anyscale/client/README.md +0 -6
- anyscale/client/openapi_client/__init__.py +0 -4
- anyscale/client/openapi_client/api/default_api.py +0 -228
- anyscale/client/openapi_client/models/__init__.py +0 -4
- anyscale/client/openapi_client/models/workload_info.py +59 -3
- anyscale/commands/command_examples.py +10 -0
- anyscale/commands/job_queue_commands.py +295 -104
- anyscale/commands/list_util.py +14 -1
- anyscale/commands/machine_pool_commands.py +25 -11
- anyscale/commands/service_commands.py +10 -14
- anyscale/commands/workspace_commands_v2.py +462 -25
- anyscale/controllers/job_controller.py +5 -210
- anyscale/job_queue/__init__.py +89 -0
- anyscale/job_queue/_private/job_queue_sdk.py +158 -0
- anyscale/job_queue/commands.py +130 -0
- anyscale/job_queue/models.py +284 -0
- anyscale/scripts.py +1 -1
- anyscale/sdk/anyscale_client/__init__.py +0 -11
- anyscale/sdk/anyscale_client/api/default_api.py +140 -1433
- anyscale/sdk/anyscale_client/models/__init__.py +0 -11
- anyscale/service/__init__.py +4 -1
- anyscale/service/_private/service_sdk.py +5 -0
- anyscale/service/commands.py +4 -2
- anyscale/utils/ssh_websocket_proxy.py +178 -0
- anyscale/version.py +1 -1
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/METADATA +3 -1
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/RECORD +39 -49
- anyscale/client/openapi_client/models/serve_deployment_fast_api_docs_status.py +0 -123
- anyscale/client/openapi_client/models/servedeploymentfastapidocsstatus_response.py +0 -121
- anyscale/client/openapi_client/models/web_terminal.py +0 -121
- anyscale/client/openapi_client/models/webterminal_response.py +0 -121
- anyscale/sdk/anyscale_client/models/cluster_environment_build_log_response.py +0 -123
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuildlogresponse_response.py +0 -121
- anyscale/sdk/anyscale_client/models/create_cloud.py +0 -518
- anyscale/sdk/anyscale_client/models/object_storage_config.py +0 -122
- anyscale/sdk/anyscale_client/models/object_storage_config_s3.py +0 -256
- anyscale/sdk/anyscale_client/models/objectstorageconfig_response.py +0 -121
- anyscale/sdk/anyscale_client/models/session_operation.py +0 -266
- anyscale/sdk/anyscale_client/models/session_operation_type.py +0 -101
- anyscale/sdk/anyscale_client/models/sessionoperation_response.py +0 -121
- anyscale/sdk/anyscale_client/models/update_cloud.py +0 -150
- anyscale/sdk/anyscale_client/models/update_project.py +0 -150
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/LICENSE +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/NOTICE +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/WHEEL +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/top_level.txt +0 -0
@@ -1,123 +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 ServeDeploymentFastApiDocsStatus(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
|
-
'status': 'int'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'status': 'status'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, status=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""ServeDeploymentFastApiDocsStatus - 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._status = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
self.status = status
|
53
|
-
|
54
|
-
@property
|
55
|
-
def status(self):
|
56
|
-
"""Gets the status of this ServeDeploymentFastApiDocsStatus. # noqa: E501
|
57
|
-
|
58
|
-
Status of the fast api docs endpoint # noqa: E501
|
59
|
-
|
60
|
-
:return: The status of this ServeDeploymentFastApiDocsStatus. # noqa: E501
|
61
|
-
:rtype: int
|
62
|
-
"""
|
63
|
-
return self._status
|
64
|
-
|
65
|
-
@status.setter
|
66
|
-
def status(self, status):
|
67
|
-
"""Sets the status of this ServeDeploymentFastApiDocsStatus.
|
68
|
-
|
69
|
-
Status of the fast api docs endpoint # noqa: E501
|
70
|
-
|
71
|
-
:param status: The status of this ServeDeploymentFastApiDocsStatus. # noqa: E501
|
72
|
-
:type: int
|
73
|
-
"""
|
74
|
-
if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501
|
75
|
-
raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
|
76
|
-
|
77
|
-
self._status = status
|
78
|
-
|
79
|
-
def to_dict(self):
|
80
|
-
"""Returns the model properties as a dict"""
|
81
|
-
result = {}
|
82
|
-
|
83
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
84
|
-
value = getattr(self, attr)
|
85
|
-
if isinstance(value, list):
|
86
|
-
result[attr] = list(map(
|
87
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
88
|
-
value
|
89
|
-
))
|
90
|
-
elif hasattr(value, "to_dict"):
|
91
|
-
result[attr] = value.to_dict()
|
92
|
-
elif isinstance(value, dict):
|
93
|
-
result[attr] = dict(map(
|
94
|
-
lambda item: (item[0], item[1].to_dict())
|
95
|
-
if hasattr(item[1], "to_dict") else item,
|
96
|
-
value.items()
|
97
|
-
))
|
98
|
-
else:
|
99
|
-
result[attr] = value
|
100
|
-
|
101
|
-
return result
|
102
|
-
|
103
|
-
def to_str(self):
|
104
|
-
"""Returns the string representation of the model"""
|
105
|
-
return pprint.pformat(self.to_dict())
|
106
|
-
|
107
|
-
def __repr__(self):
|
108
|
-
"""For `print` and `pprint`"""
|
109
|
-
return self.to_str()
|
110
|
-
|
111
|
-
def __eq__(self, other):
|
112
|
-
"""Returns true if both objects are equal"""
|
113
|
-
if not isinstance(other, ServeDeploymentFastApiDocsStatus):
|
114
|
-
return False
|
115
|
-
|
116
|
-
return self.to_dict() == other.to_dict()
|
117
|
-
|
118
|
-
def __ne__(self, other):
|
119
|
-
"""Returns true if both objects are not equal"""
|
120
|
-
if not isinstance(other, ServeDeploymentFastApiDocsStatus):
|
121
|
-
return True
|
122
|
-
|
123
|
-
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 ServedeploymentfastapidocsstatusResponse(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': 'ServeDeploymentFastApiDocsStatus'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""ServedeploymentfastapidocsstatusResponse - 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 ServedeploymentfastapidocsstatusResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this ServedeploymentfastapidocsstatusResponse. # noqa: E501
|
60
|
-
:rtype: ServeDeploymentFastApiDocsStatus
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this ServedeploymentfastapidocsstatusResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this ServedeploymentfastapidocsstatusResponse. # noqa: E501
|
70
|
-
:type: ServeDeploymentFastApiDocsStatus
|
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, ServedeploymentfastapidocsstatusResponse):
|
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, ServedeploymentfastapidocsstatusResponse):
|
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 WebTerminal(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
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'id': 'id'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, id=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""WebTerminal - 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._id = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
self.id = id
|
53
|
-
|
54
|
-
@property
|
55
|
-
def id(self):
|
56
|
-
"""Gets the id of this WebTerminal. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The id of this WebTerminal. # noqa: E501
|
60
|
-
:rtype: str
|
61
|
-
"""
|
62
|
-
return self._id
|
63
|
-
|
64
|
-
@id.setter
|
65
|
-
def id(self, id):
|
66
|
-
"""Sets the id of this WebTerminal.
|
67
|
-
|
68
|
-
|
69
|
-
:param id: The id of this WebTerminal. # noqa: E501
|
70
|
-
:type: str
|
71
|
-
"""
|
72
|
-
if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
|
73
|
-
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
74
|
-
|
75
|
-
self._id = id
|
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, WebTerminal):
|
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, WebTerminal):
|
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 WebterminalResponse(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': 'WebTerminal'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""WebterminalResponse - 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 WebterminalResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this WebterminalResponse. # noqa: E501
|
60
|
-
:rtype: WebTerminal
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this WebterminalResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this WebterminalResponse. # noqa: E501
|
70
|
-
:type: WebTerminal
|
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, WebterminalResponse):
|
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, WebterminalResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,123 +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 ClusterEnvironmentBuildLogResponse(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
|
-
'logs': 'str'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'logs': 'logs'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, logs=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""ClusterEnvironmentBuildLogResponse - 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._logs = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
self.logs = logs
|
53
|
-
|
54
|
-
@property
|
55
|
-
def logs(self):
|
56
|
-
"""Gets the logs of this ClusterEnvironmentBuildLogResponse. # noqa: E501
|
57
|
-
|
58
|
-
Logs of the build. # noqa: E501
|
59
|
-
|
60
|
-
:return: The logs of this ClusterEnvironmentBuildLogResponse. # noqa: E501
|
61
|
-
:rtype: str
|
62
|
-
"""
|
63
|
-
return self._logs
|
64
|
-
|
65
|
-
@logs.setter
|
66
|
-
def logs(self, logs):
|
67
|
-
"""Sets the logs of this ClusterEnvironmentBuildLogResponse.
|
68
|
-
|
69
|
-
Logs of the build. # noqa: E501
|
70
|
-
|
71
|
-
:param logs: The logs of this ClusterEnvironmentBuildLogResponse. # noqa: E501
|
72
|
-
:type: str
|
73
|
-
"""
|
74
|
-
if self.local_vars_configuration.client_side_validation and logs is None: # noqa: E501
|
75
|
-
raise ValueError("Invalid value for `logs`, must not be `None`") # noqa: E501
|
76
|
-
|
77
|
-
self._logs = logs
|
78
|
-
|
79
|
-
def to_dict(self):
|
80
|
-
"""Returns the model properties as a dict"""
|
81
|
-
result = {}
|
82
|
-
|
83
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
84
|
-
value = getattr(self, attr)
|
85
|
-
if isinstance(value, list):
|
86
|
-
result[attr] = list(map(
|
87
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
88
|
-
value
|
89
|
-
))
|
90
|
-
elif hasattr(value, "to_dict"):
|
91
|
-
result[attr] = value.to_dict()
|
92
|
-
elif isinstance(value, dict):
|
93
|
-
result[attr] = dict(map(
|
94
|
-
lambda item: (item[0], item[1].to_dict())
|
95
|
-
if hasattr(item[1], "to_dict") else item,
|
96
|
-
value.items()
|
97
|
-
))
|
98
|
-
else:
|
99
|
-
result[attr] = value
|
100
|
-
|
101
|
-
return result
|
102
|
-
|
103
|
-
def to_str(self):
|
104
|
-
"""Returns the string representation of the model"""
|
105
|
-
return pprint.pformat(self.to_dict())
|
106
|
-
|
107
|
-
def __repr__(self):
|
108
|
-
"""For `print` and `pprint`"""
|
109
|
-
return self.to_str()
|
110
|
-
|
111
|
-
def __eq__(self, other):
|
112
|
-
"""Returns true if both objects are equal"""
|
113
|
-
if not isinstance(other, ClusterEnvironmentBuildLogResponse):
|
114
|
-
return False
|
115
|
-
|
116
|
-
return self.to_dict() == other.to_dict()
|
117
|
-
|
118
|
-
def __ne__(self, other):
|
119
|
-
"""Returns true if both objects are not equal"""
|
120
|
-
if not isinstance(other, ClusterEnvironmentBuildLogResponse):
|
121
|
-
return True
|
122
|
-
|
123
|
-
return self.to_dict() != other.to_dict()
|