def __init__(self, page_size, page_number, query, max_pages=12):
    '\n        :param max_pages: The maximum number of page links to display\n        '
    super().__init__(page_size, page_number, query)
    self.max_pages = max_pages
:param max_pages: The maximum number of page links to display
def __init__(self, page_size, page_number, query, max_pages=12):
    '\n        \n        '
    super().__init__(page_size, page_number, query)
    self.max_pages = max_pages