anyscale 0.26.28__py3-none-any.whl → 0.26.29__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/_private/docgen/__main__.py +0 -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/machine_pool_commands.py +11 -9
- anyscale/commands/service_commands.py +4 -2
- 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/version.py +1 -1
- {anyscale-0.26.28.dist-info → anyscale-0.26.29.dist-info}/METADATA +1 -1
- {anyscale-0.26.28.dist-info → anyscale-0.26.29.dist-info}/RECORD +24 -39
- 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.29.dist-info}/LICENSE +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.29.dist-info}/NOTICE +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.29.dist-info}/WHEEL +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.29.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.29.dist-info}/top_level.txt +0 -0
@@ -1,101 +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 SessionOperationType(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
|
-
allowed enum values
|
30
|
-
"""
|
31
|
-
START = "start"
|
32
|
-
STOP = "stop"
|
33
|
-
TERMINATE = "terminate"
|
34
|
-
|
35
|
-
allowable_values = [START, STOP, TERMINATE] # noqa: E501
|
36
|
-
|
37
|
-
"""
|
38
|
-
Attributes:
|
39
|
-
openapi_types (dict): The key is attribute name
|
40
|
-
and the value is attribute type.
|
41
|
-
attribute_map (dict): The key is attribute name
|
42
|
-
and the value is json key in definition.
|
43
|
-
"""
|
44
|
-
openapi_types = {
|
45
|
-
}
|
46
|
-
|
47
|
-
attribute_map = {
|
48
|
-
}
|
49
|
-
|
50
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
51
|
-
"""SessionOperationType - a model defined in OpenAPI""" # noqa: E501
|
52
|
-
if local_vars_configuration is None:
|
53
|
-
local_vars_configuration = Configuration()
|
54
|
-
self.local_vars_configuration = local_vars_configuration
|
55
|
-
self.discriminator = None
|
56
|
-
|
57
|
-
def to_dict(self):
|
58
|
-
"""Returns the model properties as a dict"""
|
59
|
-
result = {}
|
60
|
-
|
61
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
62
|
-
value = getattr(self, attr)
|
63
|
-
if isinstance(value, list):
|
64
|
-
result[attr] = list(map(
|
65
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
66
|
-
value
|
67
|
-
))
|
68
|
-
elif hasattr(value, "to_dict"):
|
69
|
-
result[attr] = value.to_dict()
|
70
|
-
elif isinstance(value, dict):
|
71
|
-
result[attr] = dict(map(
|
72
|
-
lambda item: (item[0], item[1].to_dict())
|
73
|
-
if hasattr(item[1], "to_dict") else item,
|
74
|
-
value.items()
|
75
|
-
))
|
76
|
-
else:
|
77
|
-
result[attr] = value
|
78
|
-
|
79
|
-
return result
|
80
|
-
|
81
|
-
def to_str(self):
|
82
|
-
"""Returns the string representation of the model"""
|
83
|
-
return pprint.pformat(self.to_dict())
|
84
|
-
|
85
|
-
def __repr__(self):
|
86
|
-
"""For `print` and `pprint`"""
|
87
|
-
return self.to_str()
|
88
|
-
|
89
|
-
def __eq__(self, other):
|
90
|
-
"""Returns true if both objects are equal"""
|
91
|
-
if not isinstance(other, SessionOperationType):
|
92
|
-
return False
|
93
|
-
|
94
|
-
return self.to_dict() == other.to_dict()
|
95
|
-
|
96
|
-
def __ne__(self, other):
|
97
|
-
"""Returns true if both objects are not equal"""
|
98
|
-
if not isinstance(other, SessionOperationType):
|
99
|
-
return True
|
100
|
-
|
101
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,121 +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 SessionoperationResponse(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': 'SessionOperation'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""SessionoperationResponse - 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 SessionoperationResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this SessionoperationResponse. # noqa: E501
|
60
|
-
:rtype: SessionOperation
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this SessionoperationResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this SessionoperationResponse. # noqa: E501
|
70
|
-
:type: SessionOperation
|
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, SessionoperationResponse):
|
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, SessionoperationResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,150 +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 UpdateCloud(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
|
-
'config': 'CloudConfig',
|
37
|
-
'auto_add_user': 'bool'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'config': 'config',
|
42
|
-
'auto_add_user': 'auto_add_user'
|
43
|
-
}
|
44
|
-
|
45
|
-
def __init__(self, config=None, auto_add_user=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""UpdateCloud - a model defined in OpenAPI""" # noqa: E501
|
47
|
-
if local_vars_configuration is None:
|
48
|
-
local_vars_configuration = Configuration()
|
49
|
-
self.local_vars_configuration = local_vars_configuration
|
50
|
-
|
51
|
-
self._config = None
|
52
|
-
self._auto_add_user = None
|
53
|
-
self.discriminator = None
|
54
|
-
|
55
|
-
if config is not None:
|
56
|
-
self.config = config
|
57
|
-
if auto_add_user is not None:
|
58
|
-
self.auto_add_user = auto_add_user
|
59
|
-
|
60
|
-
@property
|
61
|
-
def config(self):
|
62
|
-
"""Gets the config of this UpdateCloud. # noqa: E501
|
63
|
-
|
64
|
-
Additional configurable properties of this Cloud. # noqa: E501
|
65
|
-
|
66
|
-
:return: The config of this UpdateCloud. # noqa: E501
|
67
|
-
:rtype: CloudConfig
|
68
|
-
"""
|
69
|
-
return self._config
|
70
|
-
|
71
|
-
@config.setter
|
72
|
-
def config(self, config):
|
73
|
-
"""Sets the config of this UpdateCloud.
|
74
|
-
|
75
|
-
Additional configurable properties of this Cloud. # noqa: E501
|
76
|
-
|
77
|
-
:param config: The config of this UpdateCloud. # noqa: E501
|
78
|
-
:type: CloudConfig
|
79
|
-
"""
|
80
|
-
|
81
|
-
self._config = config
|
82
|
-
|
83
|
-
@property
|
84
|
-
def auto_add_user(self):
|
85
|
-
"""Gets the auto_add_user of this UpdateCloud. # noqa: E501
|
86
|
-
|
87
|
-
Whether all users in the organization should be automatically added to this cloud. This field is only relevant for organizations with cloud isolation enabled, because all users in the organization automatically have access to all clouds if cloud isolation is not enabled. # noqa: E501
|
88
|
-
|
89
|
-
:return: The auto_add_user of this UpdateCloud. # noqa: E501
|
90
|
-
:rtype: bool
|
91
|
-
"""
|
92
|
-
return self._auto_add_user
|
93
|
-
|
94
|
-
@auto_add_user.setter
|
95
|
-
def auto_add_user(self, auto_add_user):
|
96
|
-
"""Sets the auto_add_user of this UpdateCloud.
|
97
|
-
|
98
|
-
Whether all users in the organization should be automatically added to this cloud. This field is only relevant for organizations with cloud isolation enabled, because all users in the organization automatically have access to all clouds if cloud isolation is not enabled. # noqa: E501
|
99
|
-
|
100
|
-
:param auto_add_user: The auto_add_user of this UpdateCloud. # noqa: E501
|
101
|
-
:type: bool
|
102
|
-
"""
|
103
|
-
|
104
|
-
self._auto_add_user = auto_add_user
|
105
|
-
|
106
|
-
def to_dict(self):
|
107
|
-
"""Returns the model properties as a dict"""
|
108
|
-
result = {}
|
109
|
-
|
110
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
111
|
-
value = getattr(self, attr)
|
112
|
-
if isinstance(value, list):
|
113
|
-
result[attr] = list(map(
|
114
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
115
|
-
value
|
116
|
-
))
|
117
|
-
elif hasattr(value, "to_dict"):
|
118
|
-
result[attr] = value.to_dict()
|
119
|
-
elif isinstance(value, dict):
|
120
|
-
result[attr] = dict(map(
|
121
|
-
lambda item: (item[0], item[1].to_dict())
|
122
|
-
if hasattr(item[1], "to_dict") else item,
|
123
|
-
value.items()
|
124
|
-
))
|
125
|
-
else:
|
126
|
-
result[attr] = value
|
127
|
-
|
128
|
-
return result
|
129
|
-
|
130
|
-
def to_str(self):
|
131
|
-
"""Returns the string representation of the model"""
|
132
|
-
return pprint.pformat(self.to_dict())
|
133
|
-
|
134
|
-
def __repr__(self):
|
135
|
-
"""For `print` and `pprint`"""
|
136
|
-
return self.to_str()
|
137
|
-
|
138
|
-
def __eq__(self, other):
|
139
|
-
"""Returns true if both objects are equal"""
|
140
|
-
if not isinstance(other, UpdateCloud):
|
141
|
-
return False
|
142
|
-
|
143
|
-
return self.to_dict() == other.to_dict()
|
144
|
-
|
145
|
-
def __ne__(self, other):
|
146
|
-
"""Returns true if both objects are not equal"""
|
147
|
-
if not isinstance(other, UpdateCloud):
|
148
|
-
return True
|
149
|
-
|
150
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,150 +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 UpdateProject(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
|
-
'cluster_config': 'str',
|
37
|
-
'description': 'str'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'cluster_config': 'cluster_config',
|
42
|
-
'description': 'description'
|
43
|
-
}
|
44
|
-
|
45
|
-
def __init__(self, cluster_config=None, description=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""UpdateProject - a model defined in OpenAPI""" # noqa: E501
|
47
|
-
if local_vars_configuration is None:
|
48
|
-
local_vars_configuration = Configuration()
|
49
|
-
self.local_vars_configuration = local_vars_configuration
|
50
|
-
|
51
|
-
self._cluster_config = None
|
52
|
-
self._description = None
|
53
|
-
self.discriminator = None
|
54
|
-
|
55
|
-
if cluster_config is not None:
|
56
|
-
self.cluster_config = cluster_config
|
57
|
-
if description is not None:
|
58
|
-
self.description = description
|
59
|
-
|
60
|
-
@property
|
61
|
-
def cluster_config(self):
|
62
|
-
"""Gets the cluster_config of this UpdateProject. # noqa: E501
|
63
|
-
|
64
|
-
New cluster config to apply to the Project on update action. # noqa: E501
|
65
|
-
|
66
|
-
:return: The cluster_config of this UpdateProject. # noqa: E501
|
67
|
-
:rtype: str
|
68
|
-
"""
|
69
|
-
return self._cluster_config
|
70
|
-
|
71
|
-
@cluster_config.setter
|
72
|
-
def cluster_config(self, cluster_config):
|
73
|
-
"""Sets the cluster_config of this UpdateProject.
|
74
|
-
|
75
|
-
New cluster config to apply to the Project on update action. # noqa: E501
|
76
|
-
|
77
|
-
:param cluster_config: The cluster_config of this UpdateProject. # noqa: E501
|
78
|
-
:type: str
|
79
|
-
"""
|
80
|
-
|
81
|
-
self._cluster_config = cluster_config
|
82
|
-
|
83
|
-
@property
|
84
|
-
def description(self):
|
85
|
-
"""Gets the description of this UpdateProject. # noqa: E501
|
86
|
-
|
87
|
-
New description to update in the Project. # noqa: E501
|
88
|
-
|
89
|
-
:return: The description of this UpdateProject. # noqa: E501
|
90
|
-
:rtype: str
|
91
|
-
"""
|
92
|
-
return self._description
|
93
|
-
|
94
|
-
@description.setter
|
95
|
-
def description(self, description):
|
96
|
-
"""Sets the description of this UpdateProject.
|
97
|
-
|
98
|
-
New description to update in the Project. # noqa: E501
|
99
|
-
|
100
|
-
:param description: The description of this UpdateProject. # noqa: E501
|
101
|
-
:type: str
|
102
|
-
"""
|
103
|
-
|
104
|
-
self._description = description
|
105
|
-
|
106
|
-
def to_dict(self):
|
107
|
-
"""Returns the model properties as a dict"""
|
108
|
-
result = {}
|
109
|
-
|
110
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
111
|
-
value = getattr(self, attr)
|
112
|
-
if isinstance(value, list):
|
113
|
-
result[attr] = list(map(
|
114
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
115
|
-
value
|
116
|
-
))
|
117
|
-
elif hasattr(value, "to_dict"):
|
118
|
-
result[attr] = value.to_dict()
|
119
|
-
elif isinstance(value, dict):
|
120
|
-
result[attr] = dict(map(
|
121
|
-
lambda item: (item[0], item[1].to_dict())
|
122
|
-
if hasattr(item[1], "to_dict") else item,
|
123
|
-
value.items()
|
124
|
-
))
|
125
|
-
else:
|
126
|
-
result[attr] = value
|
127
|
-
|
128
|
-
return result
|
129
|
-
|
130
|
-
def to_str(self):
|
131
|
-
"""Returns the string representation of the model"""
|
132
|
-
return pprint.pformat(self.to_dict())
|
133
|
-
|
134
|
-
def __repr__(self):
|
135
|
-
"""For `print` and `pprint`"""
|
136
|
-
return self.to_str()
|
137
|
-
|
138
|
-
def __eq__(self, other):
|
139
|
-
"""Returns true if both objects are equal"""
|
140
|
-
if not isinstance(other, UpdateProject):
|
141
|
-
return False
|
142
|
-
|
143
|
-
return self.to_dict() == other.to_dict()
|
144
|
-
|
145
|
-
def __ne__(self, other):
|
146
|
-
"""Returns true if both objects are not equal"""
|
147
|
-
if not isinstance(other, UpdateProject):
|
148
|
-
return True
|
149
|
-
|
150
|
-
return self.to_dict() != other.to_dict()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|