edgedb-python
edgedb-python copied to clipboard
Object's __hash__ and __eq__ are out of sync
Object.__hash__ takes into account all fetched pointers, essentially the hashing is similar to tuples.
Object.__eq__ and other compare operators compare by object's EdgeDB ID.
If I remember correctly the plan is to no longer use implicit ids in this driver so Object.__eq__ should probably change to mimic tuples. Does this sound right?