owmeta_core.capable_configurable module

class owmeta_core.capable_configurable.CapableConfigurable(*args, **kwargs)[source]

Bases: Capable, Configurable

Helper class for Capable objects that are also Configurable

Takes the providers from the capability.providers configuration value and calls provide with the resulting providers. If the value is unset or empty, then provide will not be called.

capability.providers

a list of "provider path" strings or Providers

Raises
NoProviderAvailable

if any of the needed capabilities cannot be provided