Python 2.X, fix missing neq in DynamoType
This commit is contained in:
parent
7f6c6660aa
commit
a9cb5b566d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user