Introduce a convenience method to the libcloud module for getting drivers
I find the current mechanism for fetching drivers a little cumbersome, 2 namespaces to import. After using the
This code allows for this example:
import libcloud cls = libcloud.get_driver(libcloud.DriverType.COMPUTE, libcloud.DriverType.COMPUTE.RACKSPACE)
Checklist (tick everything that applies)
Observation from an outsider...
If you're defining a provider class as
Just a thought, either way seems much cleaner than the current method.
@JamieCressey that would be better using the Enum base type in Python 3.4+ but once it has been called, its already been converted into the value (string), and there's no difference in values between