This module contains class pipeline factory.
- class cars.pipelines.pipeline.Pipeline
Pipeline factory: A class designed for registered all available Cars Pipeline and instantiate when needed.
- classmethod create_pipeline(name: str, cfg: Dict[str, Union[str, int]], config_json_dir)
Factory command to create the pipeline Return the instance of pipeline associated with the pipeline name given as parameter
pipeline_name (str) – name of the pipeline.
cfg (dictionary) – cars input configuration
config_json_dir (str) – path to dir containing json
- classmethod print_available_pipelines()
Print all registered pipelines
- classmethod register(pipeline_name: str)
Allows to register the pipeline with its name :param pipeline_name: the pipeline to be registered :type pipeline_name: string