def __eq__()

in annotation/annotation/models.py [0:0]


    def __eq__(self, other: object) -> bool:
        if not isinstance(other, User):
            return NotImplemented

        for column in self.__table__.columns:
            if column.key != "_sa_instance_state" and other.__getattribute__(
                column.key
            ) != other.__getattribute__(column.key):
                return False
        return True