as_list

Parameter.as_list(label_short: bool = False) list[str | float | dict[str, Any]][source]

Get the parameter as a dictionary.

Parameters:

label_short (bool) – If true, the label will be replaced by the shortened label.

Returns:

The parameter as dictionary.

Return type:

dict[str, Any]