def setResource(self,resource):
        self.resource=resource
Set the resource part of the JID to new value. Specify None to remove the resource part.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/JID.setResource