code: def get_identities(self, item):
          
  
          for rol in self.roles:
              if rol in item['data']:
                  yield self.get_sh_identity(item["data"][rol])
docs: Return the identities from an item