code: def purge(self, jid, node):
          
  
          iq = aioxmpp.stanza.IQ(
              type_=aioxmpp.structs.IQType.SET,
              to=jid,
              payload=pubsub_xso.OwnerRequest(
                  pubsub_xso.OwnerPurge(
                      node
                  )
              )
          )
  
          yield from self.client.send(iq)
docs: Delete all items from a node.
  
          :param jid: JID of the PubSub service
          :param node: Name of the PubSub node
          :type node: :class:`str`
  
          Requires :attr:`.xso.Feature.PURGE`.