question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Visualising different environments on Kedro-Viz

See original GitHub issue

Description

I am creating my kedro pipelines dynamically from a custom JSON file which is part of my configuration per environment. So in a fully configured environment I would have following files:

# ./conf/environment_name
- catalog.yml
- credentials.yml
- logging.yml
- parameters.yml
- pipelines.json # my custom pipelines that are generated dynamically

That means running pipelines for me is only possible using kedro run --env=environment_name

Running kedro viz would only work for me in the default local environment but would not allow me to visualize pipelines per environment.

Can someone highlight the way on how to run kedro viz for different environments? It’s not my number 1 issue at the moment but when the time comes I’d also be happy to submit a PR. Would it work if I somehow use the React component instead of kedro viz from the command line?

Context

I’d love this change because the kedro workflow I am trying to implement would contain several different experiments in the same repository with just different config files for each experiment. That way I could visualize different pipelines per repository.

Possible Implementation

Not sure how it works under the hood, but giving the same parameter --env=environment_name parameter to kedro and kedro viz would be cool I guess.

Checklist

  • [ environments, configuration]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
921kiyocommented, Feb 20, 2020

It is implemeted in https://github.com/quantumblacklabs/kedro-viz/pull/93 with --env flag, so I’m closing this 😃

1reaction
OFrankecommented, Oct 10, 2019

I will once I do but it might take some time since it’s an issue I might need to fix latest in 2 month or so.

Sure, what I am currently trying to build is a kedro project which contains nodes that can perform general data operations. The nodes itself are all functional and have no side-effects, so users should be able to stick together a pipeline via frontend (guess it will be React), upload them to a new kedro environment folder (e.g. experiment_1, experiment_2) and then run the pipelines per environment.

Then I wanted to use kedro-viz to display to the user what kind of pipeline he is putting together, maybe I can make this work in real-time somehow. I even thought about reversing the whole thing to actually generate the pipeline config via drag&drop based on kedro-viz somehow. But thats far in the future atm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visualising different environments on Kedro-Viz #58 - GitHub
Description I am creating my kedro pipelines dynamically from a custom JSON file which is part of my configuration per environment.
Read more >
Get started with Kedro-Viz - Read the Docs
Kedro -Viz is a key part of Kedro. It displays data and nodes, and the connections between them, to visualise the structure of...
Read more >
kedro-viz - PyPI
Kedro -Viz helps visualise Kedro data and analytics pipelines. ... Kedro documentation for how to set up your Python virtual environment).
Read more >
Towards a Modular Future: Reimagining and Rebuilding ...
Kedro is an open-source framework for creating portable pipelines through modular data science code, and provides a powerful interactive visualisation tool ...
Read more >
Kedro Static Viz 0.3.0 is out with Hooks Support - Waylon Walker
Kedro viz is a fantastic kedro plugin that allows you to visualize your data pipeline. Kedro allows you to quickly build production-ready ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found