mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-26 03:23:58 +03:00
42 lines
728 B
Python
42 lines
728 B
Python
"""Dependency injector providers package."""
|
|
|
|
from dependency_injector.providers.base import (
|
|
Provider,
|
|
Delegate,
|
|
Object,
|
|
ExternalDependency,
|
|
)
|
|
from dependency_injector.providers.callable import (
|
|
Callable,
|
|
DelegatedCallable,
|
|
)
|
|
from dependency_injector.providers.creational import (
|
|
Factory,
|
|
DelegatedFactory,
|
|
Singleton,
|
|
DelegatedSingleton,
|
|
)
|
|
from dependency_injector.providers.utils import (
|
|
OverridingContext,
|
|
override,
|
|
)
|
|
|
|
|
|
__all__ = (
|
|
'Provider',
|
|
'Delegate',
|
|
'Object',
|
|
'ExternalDependency',
|
|
|
|
'Callable',
|
|
'DelegatedCallable',
|
|
|
|
'Factory',
|
|
'DelegatedFactory',
|
|
'Singleton',
|
|
'DelegatedSingleton',
|
|
|
|
'OverridingContext',
|
|
'override',
|
|
)
|