def base_query(self):
        q = super(ViewFullReviewQueue, self).base_query()
        q['where'].extend(['files.status <> %s' % amo.STATUS_BETA,
                           'addons.status IN (%s, %s)' % (
                               amo.STATUS_NOMINATED,
                               amo.STATUS_LITE_AND_NOMINATED)])
        return q
dataset/ETHPy150Open mozilla/addons-server/src/olympia/editors/models.py/ViewFullReviewQueue.base_query/original