devctrl.utility.increase_value#

increase_value(values, getter, setter, name)[source]#

From a list of values, get the current value, increase the value to the next possible value and set it using the getter :param values: list of values :param getter: Function returning a value in values :param setter: Function taking a value from values :param name: Name of the thing, used in a potential error message :return: The new value