mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-24 02:24:02 +03:00
40 lines
676 B
Python
40 lines
676 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,
|
|
)
|
|
|
|
|
|
__all__ = (
|
|
'Provider',
|
|
'Delegate',
|
|
'Object',
|
|
'ExternalDependency',
|
|
|
|
'OverridingContext',
|
|
'override',
|
|
|
|
'Callable',
|
|
'DelegatedCallable',
|
|
|
|
'Factory',
|
|
'DelegatedFactory',
|
|
'Singleton',
|
|
'DelegatedSingleton',
|
|
)
|