TypeSelector

class baybe.parameters.selectors.TypeSelector[source]

Bases: ParameterSelector

Select parameters by type.

Public methods

__init__(types, *[, exclude])

Method generated by attrs for class TypeSelector.

Public attributes and properties

types

The parameter types to be selected.

exclude

Boolean flag indicating whether invert the selection criterion.

__init__(types: Iterable, *, exclude: bool = False)

Method generated by attrs for class TypeSelector.

For details on the parameters, see Public attributes and properties.

exclude: bool

Boolean flag indicating whether invert the selection criterion.

types: tuple[type[Parameter], ...]

The parameter types to be selected.