mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-29 21:14:00 +03:00
61 lines
1.0 KiB
Python
61 lines
1.0 KiB
Python
"""Dependency injector providers package."""
|
|
|
|
from dependency_injector.providers.base import (
|
|
Provider,
|
|
Delegate,
|
|
Static,
|
|
StaticProvider,
|
|
ExternalDependency,
|
|
)
|
|
from dependency_injector.providers.callable import (
|
|
Callable,
|
|
DelegatedCallable,
|
|
)
|
|
from dependency_injector.providers.creational import (
|
|
Factory,
|
|
DelegatedFactory,
|
|
Singleton,
|
|
DelegatedSingleton,
|
|
)
|
|
from dependency_injector.providers.static import (
|
|
Object,
|
|
Value,
|
|
Class,
|
|
Function,
|
|
)
|
|
from dependency_injector.providers.config import (
|
|
Config,
|
|
ChildConfig,
|
|
)
|
|
from dependency_injector.providers.utils import (
|
|
OverridingContext,
|
|
override,
|
|
)
|
|
|
|
|
|
__all__ = (
|
|
'Provider',
|
|
'Delegate',
|
|
'Static', 'StaticProvider',
|
|
'ExternalDependency',
|
|
|
|
'Callable',
|
|
'DelegatedCallable',
|
|
|
|
'Factory',
|
|
'DelegatedFactory',
|
|
'Singleton',
|
|
'DelegatedSingleton',
|
|
|
|
'Object',
|
|
'Value',
|
|
'Class',
|
|
'Function',
|
|
|
|
'Config',
|
|
'ChildConfig',
|
|
|
|
'OverridingContext',
|
|
'override',
|
|
)
|