Validate the .
dot notation in Kedro pipeline
#3080
Labels
Issue: Feature Request
New feature or improvement to existing feature
.
dot notation in Kedro pipeline
#3080
Description
kedro-org/kedro-viz#1522
User are confused with disconnected graph in kedro-viz
https://docs.kedro.org/en/stable/tutorial/add_another_pipeline.html
Context
Internally
.
is reserved for namespace, but Kedro Framework never block this/validate this eagerly. So user can create something that looks like a namespace pipeline but isn't.User should use the
namespace
argument instead of usinginputs=namespace.my_input
.kedro/kedro/pipeline/modular_pipeline.py
Lines 225 to 226 in 3d41425
Internally,
dot
is used for namespace. Noted that evenNode
have_namespace
attribute but it is actually more about which pipeline it is belong to. It's ambiguous what's the namespace of a node because the input and output can come from different namespace.Possible Implementation
Validate this behavior and block it. We probably cannot validate the node because it is a valid internal representation. We can however validate the argument in
node
constructor if it is desired.Possible Alternatives
Validate this behavior and raise warning.
The text was updated successfully, but these errors were encountered: