(self)
return hash((self.__collection, self.__id, self.__database,
                     tuple(sorted(self.__kwargs.items()))))
Get a hash value for this :class:`DBRef`.
Get a hash value for this :class:`DBRef`.
Get a hash value for this : class : DBRef .
def __hash__(self):
        """Get a hash value for this :class:`DBRef`."""
        return hash((self.__collection, self.__id, self.__database,
                     tuple(sorted(self.__kwargs.items()))))
def __hash__ ( self ) : return hash ( ( self . __collection , self . __id , self . __database , tuple ( sorted ( self . __kwargs . items ( ) ) ) ) )