lenskit.pipeline.Node#

class lenskit.pipeline.Node(name, *, types=None)#

Bases: Generic[ND]

Representation of a single node in a Pipeline.

Parameters:
__init__(name, *, types=None)#
Parameters:

Methods

__init__(name, *[, types])

Attributes

name

The name of this node.

types

The set of valid data types of this node, or None for no typechecking.

name: str#

The name of this node.

types: set[type] | None#

The set of valid data types of this node, or None for no typechecking.