diff --git a/monascaclient/apiclient/base.py b/monascaclient/apiclient/base.py index c3ce77b..ca7de87 100644 --- a/monascaclient/apiclient/base.py +++ b/monascaclient/apiclient/base.py @@ -485,6 +485,9 @@ class Resource(object): return self.id == other.id return self._info == other._info + def __ne__(self, other): + return not self.__eq__(other) + @property def is_loaded(self): return self._loaded