|
| Any | from_config (cls, Mapping[str, Any] config, **Any kwargs) |
Describe a class capable to be created from a configuration dictionary.
Definition at line 564 of file base.py.
◆ from_config()
| Any qdpy.base.CreatableFromConfig.from_config |
( |
| cls, |
|
|
Mapping[str, Any] | config, |
|
|
**Any | kwargs ) |
Create a class using the information from `config` to call the class constructor.
Parameters
----------
:param config: Mapping[str, Any]
The configuration mapping used to create the class. For each entry, the key corresponds
to the name of a parameter of the constructor of the class.
:param kwargs: Any
Additional information used to create the class. The configuration entries from kwargs
take precedence over the entry in `config`.
Definition at line 568 of file base.py.
The documentation for this class was generated from the following file: