keystone.common.dependency module

keystone.common.dependency module

This module provides support for dependency injection.

WARNING: Use the keystone.common.provider_api module instead. This module is going away in favor of an implementation that is better about following the dependency injection model:

exception keystone.common.dependency.UnresolvableDependencyException(name, targets)[source]

Bases: exceptions.Exception

Raised when a required dependency is not resolvable.

See resolve_future_dependencies() for more details.

keystone.common.dependency.get_provider(name, optional=<object object>)[source]
keystone.common.dependency.reset()[source]

Deprecated, does nothing.

keystone.common.dependency.resolve_future_dependencies(__provider_name=None)[source]

Deprecated, does nothing.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.