cars.pipelines.pipeline_template

This module contains class pipeline template for templating the pipeline concept.

Classes

PipelineTemplate

Class for general specification of an pipeline

Functions

_merge_resolution_conf_rec(conf1, conf2)

Merge secondary configuration on primary one

Module Contents

class cars.pipelines.pipeline_template.PipelineTemplate[source]

Class for general specification of an pipeline

check_orchestrator(conf)[source]

Check the configuration of orchestrator

Parameters:

conf (dict) – configuration of orchestrator

Returns:

overloaded orchestrator conf

Return type:

dict

check_global_schema(conf)[source]

Check the given global configuration

Parameters:

conf (dict) – configuration

abstract check_inputs(conf, config_json_dir=None)[source]

Check the inputs given

Parameters:
  • conf (dict) – configuration of inputs

  • config_json_dir (str) – directory of used json, if user filled paths with relative paths

Returns:

overloader inputs

Return type:

dict

abstract check_output(conf)[source]

Check the output given

Parameters:

conf (dict) – configuration of output

:return overloader output :rtype : dict

abstract run()[source]

Run pipeline

cars.pipelines.pipeline_template._merge_resolution_conf_rec(conf1, conf2)[source]

Merge secondary configuration on primary one

Parameters:
  • conf1 (dict) – configuration

  • conf2 (dict) – configuration

Returns:

merged conf

Return type:

dict