Compare commits

..

2 Commits

Author SHA1 Message Date
250fcdf204 configuration: added tests 2023-09-08 10:44:12 +02:00
04471b1a44 configuration et al: implemented new Config format 2023-09-08 10:44:12 +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. Create Config from a dict (with the same format as the config file).
""" """
# create the correct AI type instances # create the correct AI type instances
ais: dict[str, AIConfig] = {} ais: dict[str, AIConfig] = {}