def get_page(paginated_list):
    """
    Take a github.PaginatedList.PaginatedList and then iterate through the
    pages to get all of its entries

    Args:
        paginated_list (github.PaginatedList.PaginatedList): PyGithub paginated
         list object

    Returns:
        `list`: All entries in the paginated list
    """
    idx = 0
    _page_entries = paginated_list.get_page(idx)
    page_entries = []
    while _page_entries:
        page_entries.extend(_page_entries)
        idx += 1
        _page_entries = paginated_list.get_page(idx)

    return page_entries