def prepare_target_users(self, review_request):
        pks = list(review_request.target_people.values_list('pk', flat=True))

        return pks or [0]
Prepare the list of target users for the index.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/search_indexes.py/ReviewRequestIndex.prepare_target_users