ConfigurationOption

class ase2sprkkr.configuration.ConfigurationOption(definition, container=None, value=None)[source]

Class hierarchy

Inheritance diagram of ase2sprkkr.configuration.ConfigurationOption

Constructor

__init__(definition, container=None, value=None)

” :param definition: The value type of the option and its format (in potential and/or task file) :type definition: ValueDefinition :param container: The container, that owns the object :param value: The value of the option. :type value: mixed

set_permanent(value, doc=None, doc_regex=False)[source]

Set the value and store it in the config file

See Configuration.store_value_permament() for the meaning of the parameters

Parameters:

doc_regex (bool | str)

store_permanent(doc=None, doc_regex=False)[source]

Store the actual value in the config file

See Configuration.store_value_permament() for the meaning of the parameters

Parameters:

doc_regex (bool | str)