kedro.runner.AbstractRunner¶
-
class
kedro.runner.AbstractRunner[source]¶ Bases:
abc.ABCAbstractRunneris the base class for allPipelinerunner implementations.Methods
AbstractRunner.create_default_data_set(ds_name)Factory method for creating the default data set for the runner. AbstractRunner.run(pipeline, catalog)Run the Pipelineusing theDataSet``s provided by ``catalogand save results back to the same objects.AbstractRunner.run_only_missing(pipeline, …)Run only the missing outputs from the Pipelineusing theDataSet``s provided by ``catalogand save results back to the same objects.-
__init__¶ Initialize self. See help(type(self)) for accurate signature.
-
create_default_data_set(ds_name)[source]¶ Factory method for creating the default data set for the runner.
Parameters: ds_name ( str) – Name of the missing data setReturn type: AbstractDataSetReturns: An instance of an implementation of AbstractDataSet to be used for all unregistered data sets.
-
run(pipeline, catalog)[source]¶ Run the
Pipelineusing theDataSet``s provided by ``catalogand save results back to the same objects.Parameters: - pipeline (
Pipeline) – ThePipelineto run. - catalog (
DataCatalog) – TheDataCatalogfrom which to fetch data.
Raises: ValueError– Raised whenPipelineinputs cannot be satisfied.Return type: Dict[str,Any]Returns: Any node outputs that cannot be processed by the
DataCatalog. These are returned in a dictionary, where the keys are defined by the node outputs.- pipeline (
-
run_only_missing(pipeline, catalog)[source]¶ Run only the missing outputs from the
Pipelineusing theDataSet``s provided by ``catalogand save results back to the same objects.Parameters: - pipeline (
Pipeline) – ThePipelineto run. - catalog (
DataCatalog) – TheDataCatalogfrom which to fetch data.
Raises: ValueError– Raised whenPipelineinputs cannot be satisfied.Return type: Dict[str,Any]Returns: Any node outputs that cannot be processed by the
DataCatalog. These are returned in a dictionary, where the keys are defined by the node outputs.- pipeline (
-