dependency_injector.wiring

Wiring module.

dependency_injector.wiring.wire(container: Any, *, modules: Optional[Iterable[module]] = None, packages: Optional[Iterable[module]] = None) → None

Wire container providers with provided packages and modules.

dependency_injector.wiring.unwire(*, modules: Optional[Iterable[module]] = None, packages: Optional[Iterable[module]] = None) → None

Wire provided packages and modules with previous wired providers.

dependency_injector.wiring.inject(fn: F) → F

Decorate callable with injecting decorator.

class dependency_injector.wiring.Provide(provider: dependency_injector.providers.Provider)
class dependency_injector.wiring.Provider(provider: dependency_injector.providers.Provider)
class dependency_injector.wiring.Closing(provider: dependency_injector.providers.Provider)