bitorch.config_from_name¶
- bitorch.config_from_name(name: str) Config [source]¶
returns the config to which the name belongs to (name has to be the value of the configs name-attribute)
- Parameters:
name (str) – name of the config
- Raises:
ValueError – raised if no config under that name was found
- Returns:
the config
- Return type:
config