Skip to content

Commit

Permalink
Update pipeline hooks docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasvanpottelbergh authored May 22, 2023
1 parent 3439e72 commit 26cd3ec
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions kedro/framework/hooks/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
"""
Expand Down

0 comments on commit 26cd3ec

Please sign in to comment.