pulp-python-client 3.12.5__py3-none-any.whl → 3.13.0__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.
Potentially problematic release.
This version of pulp-python-client might be problematic. Click here for more details.
- pulp_python_client-3.13.0.dist-info/METADATA +17 -0
- pulp_python_client-3.13.0.dist-info/RECORD +64 -0
- {pulp_python_client-3.12.5.dist-info → pulp_python_client-3.13.0.dist-info}/WHEEL +1 -1
- pulpcore/client/pulp_python/__init__.py +9 -10
- pulpcore/client/pulp_python/api/__init__.py +1 -2
- pulpcore/client/pulp_python/api/content_packages_api.py +1800 -655
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +3755 -1474
- pulpcore/client/pulp_python/api/publications_pypi_api.py +2574 -982
- pulpcore/client/pulp_python/api/pypi_api.py +302 -128
- pulpcore/client/pulp_python/api/pypi_legacy_api.py +326 -153
- pulpcore/client/pulp_python/api/pypi_metadata_api.py +319 -139
- pulpcore/client/pulp_python/api/pypi_simple_api.py +899 -382
- pulpcore/client/pulp_python/api/remotes_python_api.py +4092 -1589
- pulpcore/client/pulp_python/api/repositories_python_api.py +4380 -1719
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +1526 -561
- pulpcore/client/pulp_python/api_client.py +444 -313
- pulpcore/client/pulp_python/api_response.py +21 -0
- pulpcore/client/pulp_python/configuration.py +266 -73
- pulpcore/client/pulp_python/exceptions.py +99 -20
- pulpcore/client/pulp_python/models/__init__.py +5 -8
- pulpcore/client/pulp_python/models/async_operation_response.py +60 -96
- pulpcore/client/pulp_python/models/content_summary_response.py +70 -154
- pulpcore/client/pulp_python/models/exclude_platforms_enum.py +19 -82
- pulpcore/client/pulp_python/models/my_permissions_response.py +60 -94
- pulpcore/client/pulp_python/models/nested_role.py +71 -155
- pulpcore/client/pulp_python/models/nested_role_response.py +70 -152
- pulpcore/client/pulp_python/models/object_roles_response.py +70 -96
- pulpcore/client/pulp_python/models/package_metadata_response.py +91 -191
- pulpcore/client/pulp_python/models/package_types_enum.py +23 -86
- pulpcore/client/pulp_python/models/package_upload_task_response.py +85 -154
- pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +94 -181
- pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +94 -181
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +108 -330
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py +204 -864
- pulpcore/client/pulp_python/models/patchedpython_python_repository.py +96 -249
- pulpcore/client/pulp_python/models/policy_enum.py +18 -81
- pulpcore/client/pulp_python/models/python_python_distribution.py +108 -332
- pulpcore/client/pulp_python/models/python_python_distribution_response.py +132 -490
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +182 -972
- pulpcore/client/pulp_python/models/python_python_publication.py +68 -127
- pulpcore/client/pulp_python/models/python_python_publication_response.py +93 -269
- pulpcore/client/pulp_python/models/python_python_remote.py +204 -866
- pulpcore/client/pulp_python/models/python_python_remote_response.py +198 -839
- pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +90 -0
- pulpcore/client/pulp_python/models/python_python_repository.py +96 -250
- pulpcore/client/pulp_python/models/python_python_repository_response.py +122 -407
- pulpcore/client/pulp_python/models/repair.py +60 -95
- pulpcore/client/pulp_python/models/repository_add_remove_content.py +71 -157
- pulpcore/client/pulp_python/models/repository_sync_url.py +68 -129
- pulpcore/client/pulp_python/models/repository_version_response.py +104 -296
- pulpcore/client/pulp_python/models/set_label.py +80 -130
- pulpcore/client/pulp_python/models/set_label_response.py +80 -127
- pulpcore/client/pulp_python/models/summary_response.py +70 -160
- pulpcore/client/pulp_python/models/unset_label.py +75 -107
- pulpcore/client/pulp_python/models/unset_label_response.py +78 -129
- pulpcore/client/pulp_python/py.typed +0 -0
- pulpcore/client/pulp_python/rest.py +136 -170
- pulp_python_client-3.12.5.dist-info/METADATA +0 -17
- pulp_python_client-3.12.5.dist-info/RECORD +0 -65
- pulpcore/client/pulp_python/models/package_upload.py +0 -190
- pulpcore/client/pulp_python/models/python_bander_remote.py +0 -184
- pulpcore/client/pulp_python/models/python_python_package_content.py +0 -889
- pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields.py +0 -149
- {pulp_python_client-3.12.5.dist-info → pulp_python_client-3.13.0.dist-info}/top_level.txt +0 -0
|
@@ -3,126 +3,94 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Pulp 3 API
|
|
5
5
|
|
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages
|
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v3
|
|
9
9
|
Contact: pulp-list@redhat.com
|
|
10
|
-
Generated by
|
|
11
|
-
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
12
14
|
|
|
13
15
|
|
|
16
|
+
from __future__ import annotations
|
|
14
17
|
import pprint
|
|
15
18
|
import re # noqa: F401
|
|
19
|
+
import json
|
|
16
20
|
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
from
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class UnsetLabel(object):
|
|
23
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
24
|
-
Ref: https://openapi-generator.tech
|
|
25
|
-
|
|
26
|
-
Do not edit the class manually.
|
|
27
|
-
"""
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
|
22
|
+
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
28
26
|
|
|
27
|
+
class UnsetLabel(BaseModel):
|
|
29
28
|
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
self.
|
|
52
|
-
|
|
53
|
-
|
|
29
|
+
Serializer for synchronously setting a label.
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
key: Annotated[str, Field(min_length=1, strict=True)]
|
|
32
|
+
__properties: ClassVar[List[str]] = ["key"]
|
|
33
|
+
|
|
34
|
+
@field_validator('key')
|
|
35
|
+
def key_validate_regular_expression(cls, value):
|
|
36
|
+
"""Validates the regular expression"""
|
|
37
|
+
if not re.match(r"^[-a-zA-Z0-9_]+$", value):
|
|
38
|
+
raise ValueError(r"must validate the regular expression /^[-a-zA-Z0-9_]+$/")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
model_config = ConfigDict(
|
|
42
|
+
populate_by_name=True,
|
|
43
|
+
validate_assignment=True,
|
|
44
|
+
protected_namespaces=(),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
55
|
+
return json.dumps(self.to_dict())
|
|
56
|
+
|
|
57
|
+
@classmethod
|
|
58
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
59
|
+
"""Create an instance of UnsetLabel from a JSON string"""
|
|
60
|
+
return cls.from_dict(json.loads(json_str))
|
|
61
|
+
|
|
62
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
63
|
+
"""Return the dictionary representation of the model using alias.
|
|
64
|
+
|
|
65
|
+
This has the following differences from calling pydantic's
|
|
66
|
+
`self.model_dump(by_alias=True)`:
|
|
67
|
+
|
|
68
|
+
* `None` is only added to the output dict for nullable fields that
|
|
69
|
+
were set at model initialization. Other fields with value `None`
|
|
70
|
+
are ignored.
|
|
71
|
+
"""
|
|
72
|
+
excluded_fields: Set[str] = set([
|
|
73
|
+
])
|
|
54
74
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
75
|
+
_dict = self.model_dump(
|
|
76
|
+
by_alias=True,
|
|
77
|
+
exclude=excluded_fields,
|
|
78
|
+
exclude_none=True,
|
|
79
|
+
)
|
|
80
|
+
return _dict
|
|
58
81
|
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
+
"""Create an instance of UnsetLabel from a dict"""
|
|
85
|
+
if obj is None:
|
|
86
|
+
return None
|
|
59
87
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"""
|
|
63
|
-
return self._key
|
|
88
|
+
if not isinstance(obj, dict):
|
|
89
|
+
return cls.model_validate(obj)
|
|
64
90
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
91
|
+
_obj = cls.model_validate({
|
|
92
|
+
"key": obj.get("key")
|
|
93
|
+
})
|
|
94
|
+
return _obj
|
|
68
95
|
|
|
69
96
|
|
|
70
|
-
:param key: The key of this UnsetLabel. # noqa: E501
|
|
71
|
-
:type: str
|
|
72
|
-
"""
|
|
73
|
-
if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501
|
|
74
|
-
raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501
|
|
75
|
-
if (self.local_vars_configuration.client_side_validation and
|
|
76
|
-
key is not None and len(key) < 1):
|
|
77
|
-
raise ValueError("Invalid value for `key`, length must be greater than or equal to `1`") # noqa: E501
|
|
78
|
-
if (self.local_vars_configuration.client_side_validation and
|
|
79
|
-
key is not None and not re.search(r'^[-a-zA-Z0-9_]+$', key)): # noqa: E501
|
|
80
|
-
raise ValueError(r"Invalid value for `key`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
|
|
81
|
-
|
|
82
|
-
self._key = key
|
|
83
|
-
|
|
84
|
-
def to_dict(self):
|
|
85
|
-
"""Returns the model properties as a dict"""
|
|
86
|
-
result = {}
|
|
87
|
-
|
|
88
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
89
|
-
value = getattr(self, attr)
|
|
90
|
-
if isinstance(value, list):
|
|
91
|
-
result[attr] = list(map(
|
|
92
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
93
|
-
value
|
|
94
|
-
))
|
|
95
|
-
elif hasattr(value, "to_dict"):
|
|
96
|
-
result[attr] = value.to_dict()
|
|
97
|
-
elif isinstance(value, dict):
|
|
98
|
-
result[attr] = dict(map(
|
|
99
|
-
lambda item: (item[0], item[1].to_dict())
|
|
100
|
-
if hasattr(item[1], "to_dict") else item,
|
|
101
|
-
value.items()
|
|
102
|
-
))
|
|
103
|
-
else:
|
|
104
|
-
result[attr] = value
|
|
105
|
-
|
|
106
|
-
return result
|
|
107
|
-
|
|
108
|
-
def to_str(self):
|
|
109
|
-
"""Returns the string representation of the model"""
|
|
110
|
-
return pprint.pformat(self.to_dict())
|
|
111
|
-
|
|
112
|
-
def __repr__(self):
|
|
113
|
-
"""For `print` and `pprint`"""
|
|
114
|
-
return self.to_str()
|
|
115
|
-
|
|
116
|
-
def __eq__(self, other):
|
|
117
|
-
"""Returns true if both objects are equal"""
|
|
118
|
-
if not isinstance(other, UnsetLabel):
|
|
119
|
-
return False
|
|
120
|
-
|
|
121
|
-
return self.to_dict() == other.to_dict()
|
|
122
|
-
|
|
123
|
-
def __ne__(self, other):
|
|
124
|
-
"""Returns true if both objects are not equal"""
|
|
125
|
-
if not isinstance(other, UnsetLabel):
|
|
126
|
-
return True
|
|
127
|
-
|
|
128
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -3,149 +3,98 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Pulp 3 API
|
|
5
5
|
|
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages
|
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v3
|
|
9
9
|
Contact: pulp-list@redhat.com
|
|
10
|
-
Generated by
|
|
11
|
-
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
12
14
|
|
|
13
15
|
|
|
16
|
+
from __future__ import annotations
|
|
14
17
|
import pprint
|
|
15
18
|
import re # noqa: F401
|
|
19
|
+
import json
|
|
16
20
|
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
from
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
20
26
|
|
|
21
|
-
|
|
22
|
-
class UnsetLabelResponse(object):
|
|
23
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
24
|
-
Ref: https://openapi-generator.tech
|
|
25
|
-
|
|
26
|
-
Do not edit the class manually.
|
|
27
|
+
class UnsetLabelResponse(BaseModel):
|
|
27
28
|
"""
|
|
28
|
-
|
|
29
|
-
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
self.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"""Sets the key of this UnsetLabelResponse.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:param key: The key of this UnsetLabelResponse. # noqa: E501
|
|
76
|
-
:type: str
|
|
29
|
+
Serializer for synchronously setting a label.
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
key: Annotated[str, Field(strict=True)]
|
|
32
|
+
value: Optional[StrictStr] = None
|
|
33
|
+
__properties: ClassVar[List[str]] = ["key", "value"]
|
|
34
|
+
|
|
35
|
+
@field_validator('key')
|
|
36
|
+
def key_validate_regular_expression(cls, value):
|
|
37
|
+
"""Validates the regular expression"""
|
|
38
|
+
if not re.match(r"^[-a-zA-Z0-9_]+$", value):
|
|
39
|
+
raise ValueError(r"must validate the regular expression /^[-a-zA-Z0-9_]+$/")
|
|
40
|
+
return value
|
|
41
|
+
|
|
42
|
+
model_config = ConfigDict(
|
|
43
|
+
populate_by_name=True,
|
|
44
|
+
validate_assignment=True,
|
|
45
|
+
protected_namespaces=(),
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def to_str(self) -> str:
|
|
50
|
+
"""Returns the string representation of the model using alias"""
|
|
51
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
52
|
+
|
|
53
|
+
def to_json(self) -> str:
|
|
54
|
+
"""Returns the JSON representation of the model using alias"""
|
|
55
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
56
|
+
return json.dumps(self.to_dict())
|
|
57
|
+
|
|
58
|
+
@classmethod
|
|
59
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
60
|
+
"""Create an instance of UnsetLabelResponse from a JSON string"""
|
|
61
|
+
return cls.from_dict(json.loads(json_str))
|
|
62
|
+
|
|
63
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
64
|
+
"""Return the dictionary representation of the model using alias.
|
|
65
|
+
|
|
66
|
+
This has the following differences from calling pydantic's
|
|
67
|
+
`self.model_dump(by_alias=True)`:
|
|
68
|
+
|
|
69
|
+
* `None` is only added to the output dict for nullable fields that
|
|
70
|
+
were set at model initialization. Other fields with value `None`
|
|
71
|
+
are ignored.
|
|
72
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
77
73
|
"""
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
key is not None and not re.search(r'^[-a-zA-Z0-9_]+$', key)): # noqa: E501
|
|
82
|
-
raise ValueError(r"Invalid value for `key`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
|
|
83
|
-
|
|
84
|
-
self._key = key
|
|
74
|
+
excluded_fields: Set[str] = set([
|
|
75
|
+
"value",
|
|
76
|
+
])
|
|
85
77
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
78
|
+
_dict = self.model_dump(
|
|
79
|
+
by_alias=True,
|
|
80
|
+
exclude=excluded_fields,
|
|
81
|
+
exclude_none=True,
|
|
82
|
+
)
|
|
83
|
+
return _dict
|
|
89
84
|
|
|
85
|
+
@classmethod
|
|
86
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
87
|
+
"""Create an instance of UnsetLabelResponse from a dict"""
|
|
88
|
+
if obj is None:
|
|
89
|
+
return None
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"""
|
|
94
|
-
return self._value
|
|
95
|
-
|
|
96
|
-
@value.setter
|
|
97
|
-
def value(self, value):
|
|
98
|
-
"""Sets the value of this UnsetLabelResponse.
|
|
91
|
+
if not isinstance(obj, dict):
|
|
92
|
+
return cls.model_validate(obj)
|
|
99
93
|
|
|
94
|
+
_obj = cls.model_validate({
|
|
95
|
+
"key": obj.get("key"),
|
|
96
|
+
"value": obj.get("value")
|
|
97
|
+
})
|
|
98
|
+
return _obj
|
|
100
99
|
|
|
101
|
-
:param value: The value of this UnsetLabelResponse. # noqa: E501
|
|
102
|
-
:type: str
|
|
103
|
-
"""
|
|
104
100
|
|
|
105
|
-
self._value = value
|
|
106
|
-
|
|
107
|
-
def to_dict(self):
|
|
108
|
-
"""Returns the model properties as a dict"""
|
|
109
|
-
result = {}
|
|
110
|
-
|
|
111
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
112
|
-
value = getattr(self, attr)
|
|
113
|
-
if isinstance(value, list):
|
|
114
|
-
result[attr] = list(map(
|
|
115
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
116
|
-
value
|
|
117
|
-
))
|
|
118
|
-
elif hasattr(value, "to_dict"):
|
|
119
|
-
result[attr] = value.to_dict()
|
|
120
|
-
elif isinstance(value, dict):
|
|
121
|
-
result[attr] = dict(map(
|
|
122
|
-
lambda item: (item[0], item[1].to_dict())
|
|
123
|
-
if hasattr(item[1], "to_dict") else item,
|
|
124
|
-
value.items()
|
|
125
|
-
))
|
|
126
|
-
else:
|
|
127
|
-
result[attr] = value
|
|
128
|
-
|
|
129
|
-
return result
|
|
130
|
-
|
|
131
|
-
def to_str(self):
|
|
132
|
-
"""Returns the string representation of the model"""
|
|
133
|
-
return pprint.pformat(self.to_dict())
|
|
134
|
-
|
|
135
|
-
def __repr__(self):
|
|
136
|
-
"""For `print` and `pprint`"""
|
|
137
|
-
return self.to_str()
|
|
138
|
-
|
|
139
|
-
def __eq__(self, other):
|
|
140
|
-
"""Returns true if both objects are equal"""
|
|
141
|
-
if not isinstance(other, UnsetLabelResponse):
|
|
142
|
-
return False
|
|
143
|
-
|
|
144
|
-
return self.to_dict() == other.to_dict()
|
|
145
|
-
|
|
146
|
-
def __ne__(self, other):
|
|
147
|
-
"""Returns true if both objects are not equal"""
|
|
148
|
-
if not isinstance(other, UnsetLabelResponse):
|
|
149
|
-
return True
|
|
150
|
-
|
|
151
|
-
return self.to_dict() != other.to_dict()
|
|
File without changes
|