Add functionality to optionally collapse free outputs of namespace pipelines #2008
yury-fedotov
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Developing a large Kedro project that heavily relies on modular namespace pipelines, I encountered a "limitation" of
viz
that makes it harder to see the project structure in theviz
if there are many namespace pipelines involved.I believe this is something that is:
So decided to open this feature request. Happy to chat in the comments.
Context
Imagine I have a modular
profiling
pipeline that takes a dataframe and generates many objects showcasing its properties. For example:Then imagine I have 5 tables in the project that I need to profile. Leveraging that modular pipeline and namespaces allows to achieve this super easily, and generate instances of
Pipeline
in afor
loop. However, since all those artifacts are free outputs of the namespace,kedro viz
representation of this becomes incredibly messy due to tens (or potentially hundreds) of objects exposed to the top level of viz.Possible Implementation
I wasn't able to come up with exact tech proposal, but directionally, I think it can be something like this.
We can have a
yaml
file in the Kedro project config calledviz_config.yaml
that may have the following additional content:And what that would do is it would enforce viz to collapse even the free outputs of the namespace, unless they are not used anywhere else, inside the supernode.
Checklist
Beta Was this translation helpful? Give feedback.
All reactions