Skip to content

Commit

Permalink
Modular Pipeline Documentation updates (#1578)
Browse files Browse the repository at this point in the history
* Update modular_pipelines.md

The upstream pipeline is responsible for mapping its outputs, in this case "grilled_veg" is mapped to "food" so that the downstream pipeline can use the input as "food".

* Update documentation_contributor_guidelines.md

Grammatical fix.

Co-authored-by: Nok <[email protected]>
  • Loading branch information
roger-yu-ds and noklam authored May 30, 2022
1 parent 9a651c4 commit b2e59fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

You are welcome to contribute to the Kedro documentation if you find something incorrect or missing, or have other improvement suggestions.

You can tell us what we should change or by make a PR to change it yourself.
You can tell us what we should change or make a PR to change it yourself.

Before you contribute any documentation changes, please read this page so you are familiar with the [Kedro documentation style guidelines](#kedro-documentation-style-guide).

Expand Down
2 changes: 1 addition & 1 deletion docs/source/nodes_and_pipelines/modular_pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ The wrapper allows us to provide a mapping and fix this disconnect.
```python
from kedro.pipeline.modular_pipeline import pipeline

prep_pipeline = pipeline(pipe=cook_pipeline, inputs={"food": "grilled_veg"})
prep_pipeline = pipeline(pipe=cook_pipeline, outputs={"grilled_veg": "food"})

meal_pipeline = prep_pipeline + lunch_pipeline
```
Expand Down

0 comments on commit b2e59fa

Please sign in to comment.