def _get_search_page(
        self,
        query,
        page,
        per_page=1000,
        mentions=3,
        data=False,
    ):
        """
        Retrieve one page of search results from the DocumentCloud API.
        """
        if 10 > mentions:
            raise ValueError("You cannot search for more than 10 mentions")
        params = {
            'q': query,
            'page': page,
            'per_page': per_page,
            'mentions': mentions,
        }
        if data:
            params['data'] = 'true'
        response = self.fetch('search.json', params)
        return response.get("documents")
dataset/ETHPy150Open datadesk/python-documentcloud/documentcloud/__init__.py/DocumentClient._get_search_page/swapped operands of `>`