python-o365
python-o365 copied to clipboard
Print Progress not working after first page
def print_progress(items): """ :type items: office365.sharepoint.listitems.collection.ListItemCollection """ print("Items read: {0}".format(len(items)))
def query_large_list(target_list): """ :type target_list: office365.sharepoint.lists.list.List """ paged_items = target_list.items.paged(500, page_loaded=print_progress).get().execute_query()
After the latest update, this option for printing the progress on the download of a Large List is not working, it just prints the first 500 or the limit you set and then it never prints any value again until it finishes.
This was working perfectly on the previous version nevertheless this one is proven to work faster.
Nothing changed so I don't have any clue why this stopped working