-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualise Pipeline
objects
#1993
Comments
@astrojuanlu interesting use case. Have you seen a lot that users define pipelines in notebooks or import them to there? I thought vast majority of notebook usage is to do |
I have not, and probably the reason is that traditionally Kedro had taken sort of an anti-notebook stance. We evolved that in 2023, for example by writing https://docs.kedro.org/en/stable/notebooks_and_ipython/notebook-example/add_kedro_to_a_notebook.html I've personally found it very handy to explain things to data scientists with notebooks when teaching. See for example https://github.com/ibis-project/kedro-ibis-tutorial/blob/main/03%20-%20First%20Steps%20with%20Kedro.ipynb, recording (very well received) or https://github.com/astrojuanlu/kedro-databricks-demo/blob/main/First%20Steps%20with%20Kedro%20on%20Databricks.ipynb (essentially the same thing, but with a
We launched a feature earlier this year to do something like that https://docs.kedro.org/en/stable/notebooks_and_ipython/kedro_and_notebooks.html#load-node-line-magic it's for nodes rather than full pipelines though.
That's our impression too yes (and in fact I do that all the time). So this issue would be about taking that one little step further. |
A user just asked about this. |
Pipeline
objects directly in notebooksPipeline
objects
(And it had nothing to do with notebooks) |
Hello, I add some context for my use-case after sending a message on Slack. |
Prior art: #1668 (comment) |
Hi @astrojuanlu , Did some experimental implementation and it seems to be feasible 💯 . Haven't tested complex parts to start off with. But the simple pipelines seems achievable with some limitations. I will be doing some more testing before documenting the limitations. Thank you |
Fantastic @ravi-kumar-pilla ! So #2241 basically launches a Viz server and then embeds that as an iframe, right? Do you think it's feasible to do this using only the frontend React component, without a server? To reduce overhead and have better control of what's presented. For example, it would be nice if the left toolbar, the node filter area, and the other toolbar weren't even displayed. |
Originally #1459, extra context in #1833 (comment) reproduced below:
I am showcasing Kedro concepts on a notebook without creating a full-fledged project. Took https://github.com/ibis-project/kedro-ibis-tutorial/blob/main/03%20-%20First%20Steps%20with%20Kedro.ipynb as inspiration, and adapted it to Spark and Databricks (will try to publish that soon).
However, since there is no Kedro Framework project, there is no way I can visualise my pipelines, even though I have a
Pipeline
object perfectly defined:It would be insanely awesome if I could do
KedroViz().visualize(pipe).show()
or something like that, without ever needing to set-up a Kedro project.The text was updated successfully, but these errors were encountered: