Compare commits
2 Commits
250fcdf204
...
43608c736a
| Author | SHA1 | Date | |
|---|---|---|---|
| 43608c736a | |||
| 3b01c84ad7 |
@ -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] = {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user