From 70734ce00ee46b58c85b4cf04afbe89d32c06758 Mon Sep 17 00:00:00 2001 From: ElenaKhaustova <157851531+ElenaKhaustova@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:37:58 +0000 Subject: [PATCH] Added node import to the pipeline template (#4395) * Added node import to template Signed-off-by: Elena Khaustova * Fixed docs Signed-off-by: Elena Khaustova * Added node import to template Signed-off-by: Elena Khaustova * Added release notes Signed-off-by: Elena Khaustova --------- Signed-off-by: Elena Khaustova --- RELEASE.md | 1 + .../pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index f3651ec992..7af26f6ca4 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -6,6 +6,7 @@ ## Bug fixes and other changes * Added validation to ensure dataset versions consistency across catalog. * Fixed a bug in project creation when using a custom starter template offline. +* Added `node` import to the pipeline template. ## Breaking changes to the API ## Documentation changes diff --git a/kedro/templates/pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py b/kedro/templates/pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py index 587123c64c..b932c16531 100644 --- a/kedro/templates/pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py +++ b/kedro/templates/pipeline/{{ cookiecutter.pipeline_name }}/pipeline.py @@ -3,7 +3,7 @@ generated using Kedro {{ cookiecutter.kedro_version }} """ -from kedro.pipeline import Pipeline, pipeline +from kedro.pipeline import node, Pipeline, pipeline # noqa def create_pipeline(**kwargs) -> Pipeline: