2016-04-03 17:27:53 +03:00
|
|
|
"""Dependency injector providers package."""
|
|
|
|
|
|
|
|
from dependency_injector.providers.base import (
|
|
|
|
Provider,
|
|
|
|
Delegate,
|
2016-05-17 21:28:22 +03:00
|
|
|
Object,
|
2016-04-03 17:27:53 +03:00
|
|
|
ExternalDependency,
|
2016-05-29 16:39:39 +03:00
|
|
|
OverridingContext,
|
|
|
|
override,
|
2016-04-03 17:27:53 +03:00
|
|
|
)
|
|
|
|
from dependency_injector.providers.callable import (
|
|
|
|
Callable,
|
|
|
|
DelegatedCallable,
|
|
|
|
)
|
|
|
|
from dependency_injector.providers.creational import (
|
|
|
|
Factory,
|
|
|
|
DelegatedFactory,
|
|
|
|
Singleton,
|
|
|
|
DelegatedSingleton,
|
2016-08-17 00:03:26 +03:00
|
|
|
ThreadLocalSingleton,
|
|
|
|
DelegatedThreadLocalSingleton
|
2016-04-03 17:27:53 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
__all__ = (
|
|
|
|
'Provider',
|
|
|
|
'Delegate',
|
2016-05-17 21:28:22 +03:00
|
|
|
'Object',
|
2016-04-03 17:27:53 +03:00
|
|
|
'ExternalDependency',
|
|
|
|
|
2016-05-29 16:39:39 +03:00
|
|
|
'OverridingContext',
|
|
|
|
'override',
|
|
|
|
|
2016-04-03 17:27:53 +03:00
|
|
|
'Callable',
|
|
|
|
'DelegatedCallable',
|
|
|
|
|
|
|
|
'Factory',
|
|
|
|
'DelegatedFactory',
|
2016-08-17 00:03:26 +03:00
|
|
|
|
2016-04-03 17:27:53 +03:00
|
|
|
'Singleton',
|
|
|
|
'DelegatedSingleton',
|
2016-08-17 00:03:26 +03:00
|
|
|
|
|
|
|
'ThreadLocalSingleton',
|
|
|
|
'DelegatedThreadLocalSingleton',
|
2016-04-03 17:27:53 +03:00
|
|
|
)
|