https://kedro.org/ logo
#questions
Title
# questions
b

Brandon Meek

01/25/2024, 3:44 PM
Hey everyone, can someone help me understand why
node
was removed from the boilerplate imports in
pipeline.py
? It seems like it's necessary?
K 1
n

Nok Lam Chan

01/25/2024, 4:10 PM
I don't think it's removed, can you check if you have the right imports?
Copy code
from kedro.pipeline import node
b

Brandon Meek

01/25/2024, 4:11 PM
Sorry, I meant from the boilerplate created after running
kedro pipeline create ...
n

Nok Lam Chan

01/25/2024, 4:17 PM
which file are you referring to?
b

Brandon Meek

01/25/2024, 4:22 PM
when you run
kedro pipeline create demo
kedro creates
demo/__init__.py
,
demo/nodes.py
, and
demo/pipeline.py
which has some boilerplate code in it,
demo/pipeline.py
used to contain an import for
node
but it doesn't anymore, I'm wondering why the boilerplate code doesn't include it since it seems like it's needed
👍🏼 1
n

Nok Lam Chan

01/25/2024, 4:33 PM
I see - let me check quickly
sorry about this confusion, I think it's a bug. We switch to a new linter and it removes this automatically. We should not have it checking these templates file