orrery edited a comment on issue #1573:
URL: https://github.com/apache/libcloud/issues/1573#issuecomment-824463659


   so I tried pagination on list_images and it doesn't work as expected.
   ```
   params, more_results = {'maxResults': 10}, True
           while more_results:
               self.raw_driver.connection.gce_params=params
               self.raw_driver.list_images()
               more_results = 'pageToken' in params
   ```
   
   if you look at responses from `ex_list_project_images`  
self.connection.request(request, method='GET').object
   you will see the item list in the response maxing out at 500. Note that 
`pageToken` is being set, but it appears that it is not effecting pagination at 
`ex_list_project_images` function.
   
   I noticed that the request/response handles pagination in 
`request_aggregated_items` which is called by `list_nodes`, but doesn't appear 
to be addressed in `ex_list_project_images`. 
   
   Related to https://github.com/apache/libcloud/pull/1409
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to