elasticai.hw_measurements.yaml_handler#
Module Contents#
Classes#
API#
- class elasticai.hw_measurements.yaml_handler.YamlConfigHandler(yaml_template: Any | dict, path2yaml='config', yaml_name='Config_Train')[source]#
Initialization
Creating a class for handling YAML files Args: yaml_template: Dummy dataclass with entries or dictionary (is only generated if YAML not exist) path2yaml: String with path to the folder which has the YAML file [Default: ‘’] yaml_name: String with name of the YAML file [Default: ‘Config_Train’]
- property path2chck: str#
Getting the path to the desired YAML file
- static translate_dataclass_to_dict(class_content: type) dict[source]#
Translating all class variables with default values into dict