python-dependency-injector/dependency_injector/providers/__init__.py
2016-05-17 21:31:40 +03:00

42 lines
728 B
Python

"""Dependency injector providers package."""
from dependency_injector.providers.base import (
Provider,
Delegate,
Object,
ExternalDependency,
)
from dependency_injector.providers.callable import (
Callable,
DelegatedCallable,
)
from dependency_injector.providers.creational import (
Factory,
DelegatedFactory,
Singleton,
DelegatedSingleton,
)
from dependency_injector.providers.utils import (
OverridingContext,
override,
)
__all__ = (
'Provider',
'Delegate',
'Object',
'ExternalDependency',
'Callable',
'DelegatedCallable',
'Factory',
'DelegatedFactory',
'Singleton',
'DelegatedSingleton',
'OverridingContext',
'override',
)