lenskit.batch.InvocationSpec ============================ .. py:class:: lenskit.batch.InvocationSpec :canonical: lenskit.batch._runner.InvocationSpec Specification for a single pipeline invocation, to record one or more pipeline component outputs for a test user. .. py:attribute:: name :type: str A name for this invocation. .. py:attribute:: components :type: dict[str, str] The names of pipeline components to measure and return, mapped to their output names. .. py:attribute:: items :type: ItemSource :value: None The target or candidate items (if any) to provide to the recommender (as the ``items`` input). .. py:attribute:: extra_inputs :type: dict[str, Any] Additional inputs to pass to the pipeline.