lenskit.pipeline.config.PipelineConfig#
- class lenskit.pipeline.config.PipelineConfig#
Bases:
pydantic.BaseModelRoot type for serialized pipeline configuration. A pipeline config contains the full configuration, components, and wiring for the pipeline, but does not contain the learned parameters.
- Stability:
- Full (see Stability Levels).
- options: PipelineOptions | None = None#
Options for assembling the final pipeline.
- meta: PipelineMeta#
Pipeline metadata.
- inputs: list[PipelineInput] = []#
Pipeline inputs.
- components: collections.OrderedDict[str, PipelineComponent]#
Pipeline components, with their configurations and wiring.
- literals: dict[str, PipelineLiteral]#
Literals
- hooks: PipelineHooks#
The hooks configured for the pipeline.
- merge_component_configs(configs)#
Merge component configuration options into the pipeline configuration.
This returns a modified copy of the pipeline with the applied configurations, and does not modify the configuration in-place.
- Parameters:
- Return type: