From 26cd3ec9d3baa43e5975006074b0d390a9d1dc77 Mon Sep 17 00:00:00 2001 From: Tomas Van Pottelbergh <85937396+tomasvanpottelbergh@users.noreply.github.com> Date: Mon, 22 May 2023 11:38:24 +0200 Subject: [PATCH] Update pipeline hooks docstrings --- kedro/framework/hooks/specs.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/kedro/framework/hooks/specs.py b/kedro/framework/hooks/specs.py index 44acf28d1d..6bef21f3bb 100644 --- a/kedro/framework/hooks/specs.py +++ b/kedro/framework/hooks/specs.py @@ -155,8 +155,10 @@ def before_pipeline_run( "from_inputs": Optional[List[str]], "to_outputs": Optional[List[str]], "load_versions": Optional[List[str]], - "pipeline_name": str, "extra_params": Optional[Dict[str, Any]] + "pipeline_name": str, + "namespace": Optional[str], + "runner": str, } pipeline: The ``Pipeline`` that will be run. @@ -190,8 +192,10 @@ def after_pipeline_run( "from_inputs": Optional[List[str]], "to_outputs": Optional[List[str]], "load_versions": Optional[List[str]], - "pipeline_name": str, "extra_params": Optional[Dict[str, Any]] + "pipeline_name": str, + "namespace": Optional[str], + "runner": str, } run_result: The output of ``Pipeline`` run. @@ -229,9 +233,12 @@ def on_pipeline_error( "from_inputs": Optional[List[str]], "to_outputs": Optional[List[str]], "load_versions": Optional[List[str]], - "pipeline_name": str, "extra_params": Optional[Dict[str, Any]] + "pipeline_name": str, + "namespace": Optional[str], + "runner": str, } + pipeline: The ``Pipeline`` that will was run. catalog: The ``DataCatalog`` used during the run. """