build_config#
- build_config(x: Union[dict, List[Union[dict, Config]], Config]) Union[Config, List[Config]] [source]#
Build a Config from various types of input.
This is useful for deserializing from JSON. It implements polymorphic deserialization by using the type_hint in each dict to get the corresponding Config class from the registry.