CollectionType#

Module: exa.common.data.parameter

class CollectionType(value)#

Bases: IntEnum

Parameter collection type.

Attributes

SCALAR

Scalar, not a list of any kind.

LIST

Python list.

NDARRAY

Numpy ndarray.

Methods

cast

Cast the given value to this collection type.

SCALAR = 0#

Scalar, not a list of any kind.

LIST = 1#

Python list.

NDARRAY = 2#

Numpy ndarray.

cast(value)#

Cast the given value to this collection type.

Parameters:

value (Any)

Return type:

Any

Inheritance

Inheritance diagram of exa.common.data.parameter.CollectionType