Compare commits

..

2 Commits

Author SHA1 Message Date
43608c736a configuration: added tests 2023-09-08 10:42:15 +02:00
3b01c84ad7 configuration et al: implemented new Config format 2023-09-08 10:42:15 +02:00

View File

@ -102,7 +102,7 @@ class Config:
@classmethod @classmethod
def from_dict(cls: Type[ConfigInst], source: dict[str, Any]) -> ConfigInst: def from_dict(cls: Type[ConfigInst], source: dict[str, Any]) -> ConfigInst:
""" """
Create Config from a dict (with the same format as the config file). Create Config from a dict.
""" """
# create the correct AI type instances # create the correct AI type instances
ais: dict[str, AIConfig] = {} ais: dict[str, AIConfig] = {}