ess.reduce.ui.get_parameter_widget_values#

ess.reduce.ui.get_parameter_widget_values(widget)[source]#

Return the current values of the input widgets in the target widget.

The result of this function can be used to set the values of the input widgets using the set_parameter_widget_values() function.

Parameters:

widget (WorkflowWidget | ParameterBox) – The widget containing the input widgets.

Returns:

dict[type, Any] – A dictionary of the current values/state of each input widget.

Raises:

TypeError: – If the widget is not a WorkflowWidget or a ParameterBox.