2016-04-03 17:27:53 +03:00
|
|
|
"""Dependency injector providers package."""
|
|
|
|
|
|
|
|
from dependency_injector.providers.base import (
|
|
|
|
Provider,
|
|
|
|
Delegate,
|
|
|
|
Static,
|
|
|
|
ExternalDependency,
|
|
|
|
)
|
|
|
|
from dependency_injector.providers.callable import (
|
|
|
|
Callable,
|
|
|
|
DelegatedCallable,
|
|
|
|
)
|
|
|
|
from dependency_injector.providers.creational import (
|
|
|
|
Factory,
|
|
|
|
DelegatedFactory,
|
|
|
|
Singleton,
|
|
|
|
DelegatedSingleton,
|
|
|
|
)
|
|
|
|
from dependency_injector.providers.static import (
|
|
|
|
Object,
|
|
|
|
Value,
|
|
|
|
Class,
|
|
|
|
Function,
|
|
|
|
)
|
|
|
|
from dependency_injector.providers.config import (
|
|
|
|
Config,
|
|
|
|
ChildConfig,
|
|
|
|
)
|
2016-04-08 18:50:40 +03:00
|
|
|
from dependency_injector.providers.utils import (
|
|
|
|
OverridingContext,
|
|
|
|
override,
|
|
|
|
)
|
2016-04-03 17:27:53 +03:00
|
|
|
|
|
|
|
|
|
|
|
__all__ = (
|
|
|
|
'Provider',
|
|
|
|
'Delegate',
|
|
|
|
'Static', 'StaticProvider',
|
|
|
|
'ExternalDependency',
|
|
|
|
|
|
|
|
'Callable',
|
|
|
|
'DelegatedCallable',
|
|
|
|
|
|
|
|
'Factory',
|
|
|
|
'DelegatedFactory',
|
|
|
|
'Singleton',
|
|
|
|
'DelegatedSingleton',
|
|
|
|
|
|
|
|
'Object',
|
|
|
|
'Value',
|
|
|
|
'Class',
|
|
|
|
'Function',
|
|
|
|
|
|
|
|
'Config',
|
|
|
|
'ChildConfig',
|
|
|
|
|
|
|
|
'OverridingContext',
|
|
|
|
'override',
|
|
|
|
)
|