code: def get_identities(self, item):
          
  
          category = item['category']
          item = item['data']
  
          if category == "issue":
              identity_types = ['user', 'assignee']
          elif category == "pull_request":
              identity_types = ['user', 'merged_by']
          else:
              identity_types = []
  
          for identity in identity_types:
              if item[identity]:
                  # In user_data we have the full user data
                  user = self.get_sh_identity(item[identity + "_data"])
                  if user:
                      yield user
docs: Return the identities from an item