Python 2.X, fix missing neq in DynamoType

This commit is contained in:
ImFlog 2020-03-17 18:35:38 +01:00
parent 7f6c6660aa
commit a9cb5b566d

View File

@ -146,6 +146,9 @@ class DynamoType(object):
def __eq__(self, other):
return self.type == other.type and self.value == other.value
def __ne__(self, other):
return self.type != other.type or self.value != other.value
def __lt__(self, other):
return self.cast_value < other.cast_value