lenskit.pipeline.ComponentInputHook#

class lenskit.pipeline.ComponentInputHook(*args, **kwargs)#

Bases: Protocol

Inspect or process data as it passes to a component’s input.

As with all Pipeline Hooks, an input hook is a callable that is run at the appropriate stage of the input.

Component input hooks are installed under the name component-input.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)