From ffebda0b8dd1081fe74ca13cde1161f6b824910c Mon Sep 17 00:00:00 2001 From: Aldo Mateli Date: Mon, 11 Sep 2023 22:57:55 +0100 Subject: [PATCH] Remove type alias due to py38 --- wireup/ioc/dependency_container.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wireup/ioc/dependency_container.py b/wireup/ioc/dependency_container.py index 5ddd1f0..02a51d4 100644 --- a/wireup/ioc/dependency_container.py +++ b/wireup/ioc/dependency_container.py @@ -23,7 +23,6 @@ from .parameter import ParameterBag __T = TypeVar("__T") -_SignatureParams = dict[str, Any] class DependencyContainer: @@ -52,7 +51,7 @@ def __init__(self, parameter_bag: ParameterBag) -> None: self.__initialized_objects: dict[_ContainerObjectIdentifier, object] = {} self.__initialized_proxies: dict[_ContainerObjectIdentifier, ContainerProxy] = {} - self.__initialized_args: dict[tuple[Callable, __T], _SignatureParams] = {} + self.__initialized_args: dict[tuple[Callable, __T], dict[str, Any]] = {} self.params: ParameterBag = parameter_bag self.initialization_context = DependencyInitializationContext()