Improved generic type hints

This commit is contained in:
2023-04-11 12:50:05 +02:00
parent c94700495b
commit 2ec8fc22b3
6 changed files with 13 additions and 13 deletions

View File

@@ -294,7 +294,7 @@ class Configuration(ConfigurationABC):
self.add_configuration(sub, configuration)
def add_configuration(self, key_type: T, value: any):
def add_configuration(self, key_type: Type[T], value: any):
self._config[key_type] = value
def create_console_argument(