code: def get_identities(self, item):
          ''' Return the identities from an item '''
  
          item = item['data']
  
          # Creators
          if 'event_hosts' in item:
              user = self.get_sh_identity(item['event_hosts'][0])
              yield user
  
          # rsvps
          rsvps = item.get('rsvps', [])
  
          for rsvp in rsvps:
              user = self.get_sh_identity(rsvp['member'])
              yield user
  
          # Comments
          for comment in item['comments']:
              user = self.get_sh_identity(comment['member'])
              yield usef get_identities(self, item):
          ''' Return the identities from an item '''
  
          item = item['data']
  
          # Creators
          if 'event_hosts' in item:
              user = self.get_sh_identity(item['event_hosts'][0])
              yield user
  
          # rsvps
          rsvps = item.get('rsvps', [])
  
          for rsvp in rsvps:
              user = self.get_sh_identity(rsvp['member'])
              yield user
  
          # Comments
          for comment in item['comments']:
              user = self.get_sh_identity(comment['member'])
              yield user
docs: Return the identities from an item