HDFGroup / h5pyd

h5py distributed - Python client library for HDF Rest API
Other
110 stars 39 forks source link

TypeError: unhashable type: 'Table' #100

Closed pancpp closed 1 year ago

pancpp commented 3 years ago

When use HLObject as elements of a set, error shows that the HLObject is unhashable. Need to add a hash function to return an integer hash value to be used by a set.

class HLObject(...):
    ...
    def __hash__(self):
        return ...
    ...
jreadey commented 1 year ago

Code in master is updated.