code: def update_from_xso_item(self, xso_item):
          
          self.subscription = xso_item.subscription
          self.approved = xso_item.approved
          self.ask = xso_item.ask
          self.name = xso_item.name
          self.groups = {group.name for group in xso_item.groups}
docs: Update the attributes (except :attr:`jid`) with the values obtained
          from the gixen `xso_item`.
  
          `xso_item` must be a valid :class:`.xso.Item` instance.