def __hash__(self):
        return hash(self.__str__())
Produce hash of the JID, Allows to use JID objects as keys of the dictionary.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/JID.__hash__