lenskit.pipeline.nodes.ComponentNode#
- class lenskit.pipeline.nodes.ComponentNode[T](name)#
Bases:
Node[T]A node storing a component. This is an abstract node class; see subclasses
ComponentConstructorNodeand ComponentInstanceNode.- Stability:
- Internal (see Stability Levels).
- Parameters:
name (str)
- static create[CFG](name, comp, config=None)#
- Parameters:
name (str)
comp (lenskit.pipeline.components.ComponentConstructor[CFG, T] | lenskit.pipeline.components.Component[T] | lenskit.pipeline.components.PipelineFunction[T])
config (CFG | collections.abc.Mapping[str, pydantic.JsonValue] | None)
- Return type:
- property inputs: dict[str, lenskit.pipeline.components.ComponentInput]#
- Abstractmethod:
- Return type: