-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
PYTHON-2142 and PYTHON-2036 added hint support for various bulk operations like DeleteOne but they neglected to add hint to the equality and repr logic:
def __repr__(self): return f"DeleteOne({self._filter!r}, {self._collation!r})". # what about self._hint? def __eq__(self, other: Any) -> bool: if type(other) == type(self): return (other._filter, other._collation) == (self._filter, self._collation) # what about self._hint? return NotImplemented