diff --git a/opsgenie_sdk/models/responder.py b/opsgenie_sdk/models/responder.py index 834b623..886ac4a 100644 --- a/opsgenie_sdk/models/responder.py +++ b/opsgenie_sdk/models/responder.py @@ -145,3 +145,6 @@ def __eq__(self, other): def __ne__(self, other): """Returns true if both objects are not equal""" return not self == other + + def __hash__(self): + return hash(self.type + self.id)