candle.parsing_utils.ArgumentStruct

candle.parsing_utils.ArgumentStruct#

class candle.parsing_utils.ArgumentStruct(**entries)#

Class that converts a python dictionary into an object with named entries given by the dictionary keys.

This structure simplifies the calling convention for accessing the dictionary values (corresponding to problem parameters). After the object instantiation both modes of access (dictionary or object entries) can be used.

__init__(**entries)#

Methods

__init__(**entries)