python-dependency-injector/dependency_injector/providers/__init__.py

46 lines
803 B
Python
Raw Normal View History

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