Merge branch 'release/4.13.2' into master

This commit is contained in:
Roman Mogylatov 2021-01-29 16:58:44 -05:00
commit 0c1a08174f
3 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,11 @@ that were made in every particular version.
From version 0.7.6 *Dependency Injector* framework strictly
follows `Semantic versioning`_
4.13.2
------
- Fix PyCharm typing warning "Expected type 'Optional[Iterable[ModuleType]]',
got 'List[module.py]' instead" in ``container.wire()`` method.
4.13.1
------
- Fix declarative container metaclass bug: parent container providers replaced child container providers.

View File

@ -1,6 +1,6 @@
"""Top-level package."""
__version__ = '4.13.1'
__version__ = '4.13.2'
"""Version number.
:type: str

View File

@ -1,4 +1,3 @@
from types import ModuleType
from typing import (
Type,
Dict,
@ -37,7 +36,7 @@ class Container:
def reset_last_overriding(self) -> None: ...
def reset_override(self) -> None: ...
def resolve_provider_name(self, provider_to_resolve: Provider) -> Optional[str]: ...
def wire(self, modules: Optional[Iterable[ModuleType]] = None, packages: Optional[Iterable[ModuleType]] = None) -> None: ...
def wire(self, modules: Optional[Iterable[Any]] = None, packages: Optional[Iterable[Any]] = None) -> None: ...
def unwire(self) -> None: ...
def init_resources(self) -> Optional[Awaitable]: ...
def shutdown_resources(self) -> Optional[Awaitable]: ...