libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] RobertH1993 opened a new issue #1455: method list_sizes() on driver object does not accept location
Date Sat, 02 May 2020 20:53:52 GMT

RobertH1993 opened a new issue #1455:
URL: https://github.com/apache/libcloud/issues/1455


   ## Summary
   
   method list_sizes() on driver object does not accept location parameter. The docs states
that it should accept a location parameter: https://libcloud.readthedocs.io/en/stable/compute/api.html#libcloud.compute.base.NodeDriver.list_sizes
   
   ## Detailed Information
   
   Tried to get all the sizes through the digitalOcean driver, filtering on a certain location.
I pass a NodeLocation object (retrieved from driver with function list_locations()) into list_sizes().
After that i get the error:
   
   list_sizes() takes 1 positional argument but 2 were given
   
   Expected to get a list of sizes available for the given location as stated in the documentation.



----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message