mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +03:00
46 lines
803 B
Python
46 lines
803 B
Python
"""Dependency injector providers package."""
|
|
|
|
from dependency_injector.providers.base import (
|
|
Provider,
|
|
Delegate,
|
|
Object,
|
|
ExternalDependency,
|
|
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',
|
|
|
|
'OverridingContext',
|
|
'override',
|
|
|
|
'Callable',
|
|
'DelegatedCallable',
|
|
|
|
'Factory',
|
|
'DelegatedFactory',
|
|
|
|
'Singleton',
|
|
'DelegatedSingleton',
|
|
|
|
'ThreadLocalSingleton',
|
|
'DelegatedThreadLocalSingleton',
|
|
)
|