From e9b33c920294150023800241feb96167c3a7b02c Mon Sep 17 00:00:00 2001 From: Aldo Mateli Date: Thu, 9 May 2024 21:40:48 +0100 Subject: [PATCH] Fix generic type --- wireup/ioc/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireup/ioc/types.py b/wireup/ioc/types.py index d7be9e6..3581d1d 100644 --- a/wireup/ioc/types.py +++ b/wireup/ioc/types.py @@ -118,6 +118,6 @@ def __hash__(self) -> int: class ServiceOverride: """Data class to represent a service override. Target type will be replaced with the new type by the container.""" - target: type + target: type[Any] qualifier: Qualifier | None new: Any