CADETProcess.dataStructure.parameter.TypedList

Contents

CADETProcess.dataStructure.parameter.TypedList#

class CADETProcess.dataStructure.parameter.TypedList(*args: Any, dtype: type | None = None, **kwargs: Any)[source]#

Parameter descriptor for lists with elements of e specific dtype.

Attributes:
default

Any: Get or set the default value of the parameter.

Methods

cast_value(value)

Cast the type of the given value.

check_dtype(value)

Validate if the dtype of values is correct.

get_default_value(instance)

Return default values if necessary.

ty