On Sun, 26 Jul 2020 at 19:33, Henry Lin <hlin117@gmail.com> wrote:
  • Any class implementing the `__eq__` operator is no longer hashable

You can use:

def __hash__(self):
    return id(self)