You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kedro-Viz has done a lot of work to statically derive the structure of the pipeline, now without even having all the imports in place (see discussion in #1742, #1966)
The idea here is to split that functionality as a separate Python package that the Kedro Viz backend would depend on.
Context
There's growing evidence that this functionality could be useful for other use cases, for example to facilitate translating Kedro pipelines into other formats. Plugin authors probably know better, but I'm sure every translator plugin (think kedro-vertexai, kedro-mlrun, kedro-databricks) needs some form of pipeline inspection.1
There's a strong indication that this process could use OpenLineage, specifically the concept of Static Lineage (admittedly not very well documented). Some earlier thoughts in kedro-org/kedro#4054
Possible Alternatives
Use a more ad-hoc format, more similar to whatever Kedro Viz is currently using, maybe even the output of --save-file (although at the moment it's not very clear what's expected there, see #1681).
Since there has been reluctance in the past towards spinning off packages, another solution could be that the functionality stays in Kedro Viz, and plugins depend on it. With the amount of dependencies Kedro Viz has, I really hope this isn't the preferred solution.
Another solution is to have that in pypi.org/p/kedro. I don't even think it would be too bad, since we're talking about exporting or serializing kedro.pipelines.pipeline.Pipeline objects in the end.
Very likely there are other possible solutions here, ideas welcome.
Since this is in the Kedro-Viz tracker, cc @merelcht for visibility.
Checklist
Include labels so that we can categorise your feature request
Footnotes
This is a mere hypothesis. I think it would be good to sweep the different translator plugins and see if there is overlapping code among them cc @DimedS↩
The text was updated successfully, but these errors were encountered:
Description
Kedro-Viz has done a lot of work to statically derive the structure of the pipeline, now without even having all the imports in place (see discussion in #1742, #1966)
The idea here is to split that functionality as a separate Python package that the Kedro Viz backend would depend on.
Context
There's growing evidence that this functionality could be useful for other use cases, for example to facilitate translating Kedro pipelines into other formats. Plugin authors probably know better, but I'm sure every translator plugin (think kedro-vertexai, kedro-mlrun, kedro-databricks) needs some form of pipeline inspection.1
There's a proof of concept of how that could look like in https://github.com/AlpAribal/kedro-inspect, which was created as part of this research https://github.com/kedro-org/kedro/wiki/Synthesis-of-research-related-to-deployment-of-Kedro-to-modern-MLOps-platforms .
Possible Implementation
There's a strong indication that this process could use OpenLineage, specifically the concept of Static Lineage (admittedly not very well documented). Some earlier thoughts in kedro-org/kedro#4054
Possible Alternatives
Use a more ad-hoc format, more similar to whatever Kedro Viz is currently using, maybe even the output of
--save-file
(although at the moment it's not very clear what's expected there, see #1681).Since there has been reluctance in the past towards spinning off packages, another solution could be that the functionality stays in Kedro Viz, and plugins depend on it. With the amount of dependencies Kedro Viz has, I really hope this isn't the preferred solution.
Another solution is to have that in
pypi.org/p/kedro
. I don't even think it would be too bad, since we're talking about exporting or serializingkedro.pipelines.pipeline.Pipeline
objects in the end.Very likely there are other possible solutions here, ideas welcome.
Since this is in the Kedro-Viz tracker, cc @merelcht for visibility.
Checklist
Footnotes
This is a mere hypothesis. I think it would be good to sweep the different translator plugins and see if there is overlapping code among them cc @DimedS ↩
The text was updated successfully, but these errors were encountered: