lenskit.schemas.pipeline#
Pydantic models for pipeline configuration and serialization support.
Attributes#
Classes#
A single entry in a pipeline's hook configuration. |
|
Hook specifications for a pipeline. |
|
Options used for pipeline assembly, particularly for extending pipelines. |
|
Configuration fragments that override base configurations. |
|
Root type for serialized pipeline configuration. A pipeline config contains |
|
Pipeline metadata. |
|
Spcification of a pipeline input. |
|
Specification of a pipeline component. |
|
Literal nodes represented in the pipeline. |
Functions#
|
Check that a name is valid. |
|
Compute the hash of a configuration model. |
|
Module Contents#
- lenskit.schemas.pipeline.UNSET_CODE = '!UNSET'#
- lenskit.schemas.pipeline.check_name(name, *, what='node', allow_reserved=False)#
Check that a name is valid.
- Raises:
ValueError – If the specified name is not valid.
- Parameters:
- lenskit.schemas.pipeline.hash_config(config)#
Compute the hash of a configuration model.
- Stability:
- Internal (see Stability Levels).
- Parameters:
config (pydantic.BaseModel)
- Return type:
Exported Aliases#
- exception lenskit.schemas.pipeline.PipelineError#
Re-exported alias for
lenskit.diagnostics.PipelineError.