From 8ede2998fe48f7b9b7624dcc901bdba59ae4de5a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 12 Oct 2023 21:14:49 +0200 Subject: [PATCH] Fixed configuration typing --- src/cpl_core/configuration/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpl_core/configuration/configuration.py b/src/cpl_core/configuration/configuration.py index c3627cf5..72fafc2f 100644 --- a/src/cpl_core/configuration/configuration.py +++ b/src/cpl_core/configuration/configuration.py @@ -296,7 +296,7 @@ class Configuration(ConfigurationABC): self.add_configuration(sub, configuration) - def add_configuration(self, key_type: Type[T], value: any): + def add_configuration(self, key_type: T, value: any): self._config[key_type] = value def create_console_argument(