Skip to content

Commit dc8a64f

Browse files
committed
Add missing dunder method - __ne__ to the class GridFSProxy class
1 parent 425fb89 commit dc8a64f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mongoengine/fields.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,9 @@ def __eq__(self, other):
14651465
else:
14661466
return False
14671467

1468+
def __ne__(self, other):
1469+
return not self == other
1470+
14681471
@property
14691472
def fs(self):
14701473
if not self._fs:

0 commit comments

Comments
 (0)