BaseConfig.from_yaml#

classmethod BaseConfig.from_yaml(text)[source]#

Parse class attributes from YAML text.

Parameters:

text (str) – YAML formatted string, with parameters for the class attributes.

Returns:

Instance of class with attributes filled in from the YAML data.

Return type:

Instance of self