code: def get_indexes(self, uid):
          
          idxs = []
          info = self.objects.get(uid, {})
          for action_id, value in info.items():
              obj_idxs = value.get('idxs', None)
              if obj_idxs is None:
                  # Don't reindex!
                  continue
              elif len(obj_idxs) == 0:
                  # Reindex all indexes!
                  return []
              idxs.extend(obj_idxs)
          # Always reindex review_state and is_active
          idxs.extend(["review_state", "is_active"])
          return list(set(idxs))
docs: Returns the names of the indexes to be reindexed for the object with
          the uid passed in. If no indexes for this object have been specified
          within the action pool job, returns an empty list (reindex all).
          Otherwise, return all the indexes that have been specified for the
          object within the action pool job.