lenskit.pipeline.PipelineCache ============================== .. py:class:: lenskit.pipeline.PipelineCache :canonical: lenskit.pipeline._cache.PipelineCache A cache to share components between pipelines. This cache can be used by :class:`~lenskit.pipeline.PipelineBuilder` to cache pipeline component instances between multiple pipelines using the same components with the same configuration. .. py:method:: get_cached(ctor, config) .. py:method:: cache(ctor, config, instance) .. py:method:: get_instance(ctor, config) Get a component instance from the cache, creating if it necessry.