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

Afiq Johari

10/18/2023, 2:53 PM
Hello, I've observed an issue while using
kedro viz
. When I click on a node, it suggests a 'Run Command' code snippet. For example, when working with the spaceflights project, the suggested command appears like this:
kedro run --to-nodes=None.preprocess_companies_node
However, when I attempt to run this code, I encounter the following error message:
ValueError: The pipeline does not contain nodes named ['None.preprocess_companies_node']
So I'm confused by the inclusion of the
None
namespace in the suggested command and the error. Should I enforce namespace to be used across all nodes to ensure
kedro viz
suggests the right code snippet?
d

datajoely

10/18/2023, 2:55 PM
This may be a bug - not sure how a Python
None
is getting into Javascript. @Tynan have you seen this before?
t

Tynan

10/18/2023, 2:57 PM
that was a bug we just fixed here: https://github.com/kedro-org/kedro-viz/pull/1569
🥳 3
your command should probably be this:
kedro run --to-nodes=preprocess_companies_node
👍🏽 1
this fix will go out in our next release, either end of this week or early next!
a

Afiq Johari

10/18/2023, 3:01 PM
Thanks for the quick reply! Should have checked the github issue page first next time 🙏
t

Tynan

10/18/2023, 3:04 PM
no problem :)
2 Views