def filter_page(self, value):
        try:
            page = fields.IntegerField().to_internal_value(value)
        except fields.ValidationError:
            page = 1

        if page < 1:
            page = 1

        self.query_values['page'] = page

        return F()
Validate the page numbers, but don't return any filters.
dataset/ETHPy150Open mozilla/kitsune/kitsune/community/api.py/TopContributorsBase.filter_page