def __hash__(self):
        return hash((self.__collection, self.__id, self.__database,
                     tuple(sorted(self.__kwargs.items()))))
Get a hash value for this :class:`DBRef`.
dataset/ETHPy150Open mongodb/mongo-python-driver/bson/dbref.py/DBRef.__hash__