Closed
Description
We currently have a LGTM alert. The class defines a __hash__
method without defining an __eq__
method.
According to Python docs
If a class does not define an eq() method it should not define a hash() operation either; if it defines eq() but not hash(), its instances will not be usable as items in hashable collections.
Should we go ahead with a PR for the same?