huaweicloudsdkvas 3.1.160__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 (50) hide show
  1. huaweicloudsdkvas/__init__.py +0 -0
  2. huaweicloudsdkvas/v2/__init__.py +46 -0
  3. huaweicloudsdkvas/v2/model/__init__.py +43 -0
  4. huaweicloudsdkvas/v2/model/create_response_body.py +114 -0
  5. huaweicloudsdkvas/v2/model/create_tasks_request.py +139 -0
  6. huaweicloudsdkvas/v2/model/create_tasks_request_body.py +327 -0
  7. huaweicloudsdkvas/v2/model/create_tasks_response.py +112 -0
  8. huaweicloudsdkvas/v2/model/delete_task_request.py +142 -0
  9. huaweicloudsdkvas/v2/model/delete_task_response.py +85 -0
  10. huaweicloudsdkvas/v2/model/list_tasks_details_request.py +375 -0
  11. huaweicloudsdkvas/v2/model/list_tasks_details_response.py +145 -0
  12. huaweicloudsdkvas/v2/model/show_task_request.py +142 -0
  13. huaweicloudsdkvas/v2/model/show_task_response.py +656 -0
  14. huaweicloudsdkvas/v2/model/start_task_request.py +142 -0
  15. huaweicloudsdkvas/v2/model/start_task_response.py +85 -0
  16. huaweicloudsdkvas/v2/model/stop_task_request.py +142 -0
  17. huaweicloudsdkvas/v2/model/stop_task_response.py +85 -0
  18. huaweicloudsdkvas/v2/model/task_details.py +630 -0
  19. huaweicloudsdkvas/v2/model/task_details_error.py +142 -0
  20. huaweicloudsdkvas/v2/model/task_details_service_title.py +144 -0
  21. huaweicloudsdkvas/v2/model/task_hosting_result.py +111 -0
  22. huaweicloudsdkvas/v2/model/task_hosting_result_hosting_result.py +202 -0
  23. huaweicloudsdkvas/v2/model/task_input.py +167 -0
  24. huaweicloudsdkvas/v2/model/task_input_data.py +405 -0
  25. huaweicloudsdkvas/v2/model/task_input_vcn.py +198 -0
  26. huaweicloudsdkvas/v2/model/task_output.py +211 -0
  27. huaweicloudsdkvas/v2/model/task_output_dis.py +143 -0
  28. huaweicloudsdkvas/v2/model/task_output_for_display.py +211 -0
  29. huaweicloudsdkvas/v2/model/task_output_hosting.py +115 -0
  30. huaweicloudsdkvas/v2/model/task_output_hosting_for_display.py +173 -0
  31. huaweicloudsdkvas/v2/model/task_output_hosting_for_display_obs.py +144 -0
  32. huaweicloudsdkvas/v2/model/task_output_localpath.py +143 -0
  33. huaweicloudsdkvas/v2/model/task_output_obs.py +171 -0
  34. huaweicloudsdkvas/v2/model/task_output_webhook.py +171 -0
  35. huaweicloudsdkvas/v2/model/task_service_config.py +115 -0
  36. huaweicloudsdkvas/v2/model/task_timing.py +283 -0
  37. huaweicloudsdkvas/v2/model/task_timing_frequency.py +200 -0
  38. huaweicloudsdkvas/v2/model/task_timing_periods.py +144 -0
  39. huaweicloudsdkvas/v2/model/update_task_request.py +167 -0
  40. huaweicloudsdkvas/v2/model/update_task_request_body.py +244 -0
  41. huaweicloudsdkvas/v2/model/update_task_response.py +631 -0
  42. huaweicloudsdkvas/v2/region/__init__.py +0 -0
  43. huaweicloudsdkvas/v2/region/vas_region.py +52 -0
  44. huaweicloudsdkvas/v2/vas_async_client.py +570 -0
  45. huaweicloudsdkvas/v2/vas_client.py +567 -0
  46. huaweicloudsdkvas-3.1.160.dist-info/LICENSE +13 -0
  47. huaweicloudsdkvas-3.1.160.dist-info/METADATA +26 -0
  48. huaweicloudsdkvas-3.1.160.dist-info/RECORD +50 -0
  49. huaweicloudsdkvas-3.1.160.dist-info/WHEEL +5 -0
  50. huaweicloudsdkvas-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,143 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TaskOutputLocalpath:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'mount_source_path': 'str',
21
+ 'data_category': 'list[str]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'mount_source_path': 'mount_source_path',
26
+ 'data_category': 'data_category'
27
+ }
28
+
29
+ def __init__(self, mount_source_path=None, data_category=None):
30
+ r"""TaskOutputLocalpath
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param mount_source_path: 挂载的源路径,存放作业运行结果的路径,选用localpath类型输出时必填。必须为linux路径,且为选用的边缘运行池挂载路径的子路径,长度不超过255。
35
+ :type mount_source_path: str
36
+ :param data_category: 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
37
+ :type data_category: list[str]
38
+ """
39
+
40
+
41
+
42
+ self._mount_source_path = None
43
+ self._data_category = None
44
+ self.discriminator = None
45
+
46
+ self.mount_source_path = mount_source_path
47
+ if data_category is not None:
48
+ self.data_category = data_category
49
+
50
+ @property
51
+ def mount_source_path(self):
52
+ r"""Gets the mount_source_path of this TaskOutputLocalpath.
53
+
54
+ 挂载的源路径,存放作业运行结果的路径,选用localpath类型输出时必填。必须为linux路径,且为选用的边缘运行池挂载路径的子路径,长度不超过255。
55
+
56
+ :return: The mount_source_path of this TaskOutputLocalpath.
57
+ :rtype: str
58
+ """
59
+ return self._mount_source_path
60
+
61
+ @mount_source_path.setter
62
+ def mount_source_path(self, mount_source_path):
63
+ r"""Sets the mount_source_path of this TaskOutputLocalpath.
64
+
65
+ 挂载的源路径,存放作业运行结果的路径,选用localpath类型输出时必填。必须为linux路径,且为选用的边缘运行池挂载路径的子路径,长度不超过255。
66
+
67
+ :param mount_source_path: The mount_source_path of this TaskOutputLocalpath.
68
+ :type mount_source_path: str
69
+ """
70
+ self._mount_source_path = mount_source_path
71
+
72
+ @property
73
+ def data_category(self):
74
+ r"""Gets the data_category of this TaskOutputLocalpath.
75
+
76
+ 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
77
+
78
+ :return: The data_category of this TaskOutputLocalpath.
79
+ :rtype: list[str]
80
+ """
81
+ return self._data_category
82
+
83
+ @data_category.setter
84
+ def data_category(self, data_category):
85
+ r"""Sets the data_category of this TaskOutputLocalpath.
86
+
87
+ 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
88
+
89
+ :param data_category: The data_category of this TaskOutputLocalpath.
90
+ :type data_category: list[str]
91
+ """
92
+ self._data_category = data_category
93
+
94
+ def to_dict(self):
95
+ """Returns the model properties as a dict"""
96
+ result = {}
97
+
98
+ for attr, _ in six.iteritems(self.openapi_types):
99
+ value = getattr(self, attr)
100
+ if isinstance(value, list):
101
+ result[attr] = list(map(
102
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
103
+ value
104
+ ))
105
+ elif hasattr(value, "to_dict"):
106
+ result[attr] = value.to_dict()
107
+ elif isinstance(value, dict):
108
+ result[attr] = dict(map(
109
+ lambda item: (item[0], item[1].to_dict())
110
+ if hasattr(item[1], "to_dict") else item,
111
+ value.items()
112
+ ))
113
+ else:
114
+ if attr in self.sensitive_list:
115
+ result[attr] = "****"
116
+ else:
117
+ result[attr] = value
118
+
119
+ return result
120
+
121
+ def to_str(self):
122
+ """Returns the string representation of the model"""
123
+ import simplejson as json
124
+ if six.PY2:
125
+ import sys
126
+ reload(sys)
127
+ sys.setdefaultencoding("utf-8")
128
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
129
+
130
+ def __repr__(self):
131
+ """For `print`"""
132
+ return self.to_str()
133
+
134
+ def __eq__(self, other):
135
+ """Returns true if both objects are equal"""
136
+ if not isinstance(other, TaskOutputLocalpath):
137
+ return False
138
+
139
+ return self.__dict__ == other.__dict__
140
+
141
+ def __ne__(self, other):
142
+ """Returns true if both objects are not equal"""
143
+ return not self == other
@@ -0,0 +1,171 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TaskOutputObs:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'bucket': 'str',
21
+ 'path': 'str',
22
+ 'data_category': 'list[str]'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'bucket': 'bucket',
27
+ 'path': 'path',
28
+ 'data_category': 'data_category'
29
+ }
30
+
31
+ def __init__(self, bucket=None, path=None, data_category=None):
32
+ r"""TaskOutputObs
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param bucket: OBS桶名,选用obs类型输出时必填。
37
+ :type bucket: str
38
+ :param path: OBS的路径,选用obs类型输出时必填。
39
+ :type path: str
40
+ :param data_category: 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
41
+ :type data_category: list[str]
42
+ """
43
+
44
+
45
+
46
+ self._bucket = None
47
+ self._path = None
48
+ self._data_category = None
49
+ self.discriminator = None
50
+
51
+ self.bucket = bucket
52
+ self.path = path
53
+ if data_category is not None:
54
+ self.data_category = data_category
55
+
56
+ @property
57
+ def bucket(self):
58
+ r"""Gets the bucket of this TaskOutputObs.
59
+
60
+ OBS桶名,选用obs类型输出时必填。
61
+
62
+ :return: The bucket of this TaskOutputObs.
63
+ :rtype: str
64
+ """
65
+ return self._bucket
66
+
67
+ @bucket.setter
68
+ def bucket(self, bucket):
69
+ r"""Sets the bucket of this TaskOutputObs.
70
+
71
+ OBS桶名,选用obs类型输出时必填。
72
+
73
+ :param bucket: The bucket of this TaskOutputObs.
74
+ :type bucket: str
75
+ """
76
+ self._bucket = bucket
77
+
78
+ @property
79
+ def path(self):
80
+ r"""Gets the path of this TaskOutputObs.
81
+
82
+ OBS的路径,选用obs类型输出时必填。
83
+
84
+ :return: The path of this TaskOutputObs.
85
+ :rtype: str
86
+ """
87
+ return self._path
88
+
89
+ @path.setter
90
+ def path(self, path):
91
+ r"""Sets the path of this TaskOutputObs.
92
+
93
+ OBS的路径,选用obs类型输出时必填。
94
+
95
+ :param path: The path of this TaskOutputObs.
96
+ :type path: str
97
+ """
98
+ self._path = path
99
+
100
+ @property
101
+ def data_category(self):
102
+ r"""Gets the data_category of this TaskOutputObs.
103
+
104
+ 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
105
+
106
+ :return: The data_category of this TaskOutputObs.
107
+ :rtype: list[str]
108
+ """
109
+ return self._data_category
110
+
111
+ @data_category.setter
112
+ def data_category(self, data_category):
113
+ r"""Sets the data_category of this TaskOutputObs.
114
+
115
+ 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
116
+
117
+ :param data_category: The data_category of this TaskOutputObs.
118
+ :type data_category: list[str]
119
+ """
120
+ self._data_category = data_category
121
+
122
+ def to_dict(self):
123
+ """Returns the model properties as a dict"""
124
+ result = {}
125
+
126
+ for attr, _ in six.iteritems(self.openapi_types):
127
+ value = getattr(self, attr)
128
+ if isinstance(value, list):
129
+ result[attr] = list(map(
130
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
131
+ value
132
+ ))
133
+ elif hasattr(value, "to_dict"):
134
+ result[attr] = value.to_dict()
135
+ elif isinstance(value, dict):
136
+ result[attr] = dict(map(
137
+ lambda item: (item[0], item[1].to_dict())
138
+ if hasattr(item[1], "to_dict") else item,
139
+ value.items()
140
+ ))
141
+ else:
142
+ if attr in self.sensitive_list:
143
+ result[attr] = "****"
144
+ else:
145
+ result[attr] = value
146
+
147
+ return result
148
+
149
+ def to_str(self):
150
+ """Returns the string representation of the model"""
151
+ import simplejson as json
152
+ if six.PY2:
153
+ import sys
154
+ reload(sys)
155
+ sys.setdefaultencoding("utf-8")
156
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
157
+
158
+ def __repr__(self):
159
+ """For `print`"""
160
+ return self.to_str()
161
+
162
+ def __eq__(self, other):
163
+ """Returns true if both objects are equal"""
164
+ if not isinstance(other, TaskOutputObs):
165
+ return False
166
+
167
+ return self.__dict__ == other.__dict__
168
+
169
+ def __ne__(self, other):
170
+ """Returns true if both objects are not equal"""
171
+ return not self == other
@@ -0,0 +1,171 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TaskOutputWebhook:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'url': 'str',
21
+ 'headers': 'object',
22
+ 'data_category': 'list[str]'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'url': 'url',
27
+ 'headers': 'headers',
28
+ 'data_category': 'data_category'
29
+ }
30
+
31
+ def __init__(self, url=None, headers=None, data_category=None):
32
+ r"""TaskOutputWebhook
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param url: 结果回调地址,选用webhook类型输出时必填。
37
+ :type url: str
38
+ :param headers: 结果回调时需要携带的请求头,选用webhook类型输出时必填。整体呈json格式,以键值对的形式表示请求头和取值,至少1组,至多10组。
39
+ :type headers: object
40
+ :param data_category: 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
41
+ :type data_category: list[str]
42
+ """
43
+
44
+
45
+
46
+ self._url = None
47
+ self._headers = None
48
+ self._data_category = None
49
+ self.discriminator = None
50
+
51
+ self.url = url
52
+ self.headers = headers
53
+ if data_category is not None:
54
+ self.data_category = data_category
55
+
56
+ @property
57
+ def url(self):
58
+ r"""Gets the url of this TaskOutputWebhook.
59
+
60
+ 结果回调地址,选用webhook类型输出时必填。
61
+
62
+ :return: The url of this TaskOutputWebhook.
63
+ :rtype: str
64
+ """
65
+ return self._url
66
+
67
+ @url.setter
68
+ def url(self, url):
69
+ r"""Sets the url of this TaskOutputWebhook.
70
+
71
+ 结果回调地址,选用webhook类型输出时必填。
72
+
73
+ :param url: The url of this TaskOutputWebhook.
74
+ :type url: str
75
+ """
76
+ self._url = url
77
+
78
+ @property
79
+ def headers(self):
80
+ r"""Gets the headers of this TaskOutputWebhook.
81
+
82
+ 结果回调时需要携带的请求头,选用webhook类型输出时必填。整体呈json格式,以键值对的形式表示请求头和取值,至少1组,至多10组。
83
+
84
+ :return: The headers of this TaskOutputWebhook.
85
+ :rtype: object
86
+ """
87
+ return self._headers
88
+
89
+ @headers.setter
90
+ def headers(self, headers):
91
+ r"""Sets the headers of this TaskOutputWebhook.
92
+
93
+ 结果回调时需要携带的请求头,选用webhook类型输出时必填。整体呈json格式,以键值对的形式表示请求头和取值,至少1组,至多10组。
94
+
95
+ :param headers: The headers of this TaskOutputWebhook.
96
+ :type headers: object
97
+ """
98
+ self._headers = headers
99
+
100
+ @property
101
+ def data_category(self):
102
+ r"""Gets the data_category of this TaskOutputWebhook.
103
+
104
+ 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
105
+
106
+ :return: The data_category of this TaskOutputWebhook.
107
+ :rtype: list[str]
108
+ """
109
+ return self._data_category
110
+
111
+ @data_category.setter
112
+ def data_category(self, data_category):
113
+ r"""Sets the data_category of this TaskOutputWebhook.
114
+
115
+ 作业输出数据类别的列表,选填,仅部分服务需要。当输出类型下有这个列表时,表示希望这个输出类型下存放dataCategory列表内的数据。
116
+
117
+ :param data_category: The data_category of this TaskOutputWebhook.
118
+ :type data_category: list[str]
119
+ """
120
+ self._data_category = data_category
121
+
122
+ def to_dict(self):
123
+ """Returns the model properties as a dict"""
124
+ result = {}
125
+
126
+ for attr, _ in six.iteritems(self.openapi_types):
127
+ value = getattr(self, attr)
128
+ if isinstance(value, list):
129
+ result[attr] = list(map(
130
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
131
+ value
132
+ ))
133
+ elif hasattr(value, "to_dict"):
134
+ result[attr] = value.to_dict()
135
+ elif isinstance(value, dict):
136
+ result[attr] = dict(map(
137
+ lambda item: (item[0], item[1].to_dict())
138
+ if hasattr(item[1], "to_dict") else item,
139
+ value.items()
140
+ ))
141
+ else:
142
+ if attr in self.sensitive_list:
143
+ result[attr] = "****"
144
+ else:
145
+ result[attr] = value
146
+
147
+ return result
148
+
149
+ def to_str(self):
150
+ """Returns the string representation of the model"""
151
+ import simplejson as json
152
+ if six.PY2:
153
+ import sys
154
+ reload(sys)
155
+ sys.setdefaultencoding("utf-8")
156
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
157
+
158
+ def __repr__(self):
159
+ """For `print`"""
160
+ return self.to_str()
161
+
162
+ def __eq__(self, other):
163
+ """Returns true if both objects are equal"""
164
+ if not isinstance(other, TaskOutputWebhook):
165
+ return False
166
+
167
+ return self.__dict__ == other.__dict__
168
+
169
+ def __ne__(self, other):
170
+ """Returns true if both objects are not equal"""
171
+ return not self == other
@@ -0,0 +1,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TaskServiceConfig:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'common': 'object'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'common': 'common'
25
+ }
26
+
27
+ def __init__(self, common=None):
28
+ r"""TaskServiceConfig
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param common: 作业运行时指定的具体的算法配置项,部分服务需填且必填。整体呈json格式,具体配置项参见相应算法服务的说明。
33
+ :type common: object
34
+ """
35
+
36
+
37
+
38
+ self._common = None
39
+ self.discriminator = None
40
+
41
+ if common is not None:
42
+ self.common = common
43
+
44
+ @property
45
+ def common(self):
46
+ r"""Gets the common of this TaskServiceConfig.
47
+
48
+ 作业运行时指定的具体的算法配置项,部分服务需填且必填。整体呈json格式,具体配置项参见相应算法服务的说明。
49
+
50
+ :return: The common of this TaskServiceConfig.
51
+ :rtype: object
52
+ """
53
+ return self._common
54
+
55
+ @common.setter
56
+ def common(self, common):
57
+ r"""Sets the common of this TaskServiceConfig.
58
+
59
+ 作业运行时指定的具体的算法配置项,部分服务需填且必填。整体呈json格式,具体配置项参见相应算法服务的说明。
60
+
61
+ :param common: The common of this TaskServiceConfig.
62
+ :type common: object
63
+ """
64
+ self._common = common
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, TaskServiceConfig):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other