kedro-org / kedro-viz

Visualise your Kedro data and machine-learning pipelines and track your experiments.
https://demo.kedro.org
Apache License 2.0
647 stars 106 forks source link

Introducing `--include-hooks` parameter and deprecating `--ignore-plugins` in Kedro-Viz #1808

Closed rashidakanchwala closed 3 months ago

rashidakanchwala commented 3 months ago

Description

In Kedro-Viz, hooks automatically run, but you can choose to skip them by using kedro viz run --ignore-plugins. However, since most of Kedro-Viz's features don't need hook information to work, and many users don't know about the --ignore-plugins option, we should consider a new approach. This issue about making hook execution opt-in by default, which means hooks would be disabled unless you choose to enable them.

Possible Implementation

This ticket propose the following changes:

We want to enable this for all cli commands of kedro-viz including run , build and deploy

Before implementing these changes, it would be nice to understand the usage of --ignore-plugins parameter. @NeroOkwa

Checklist

NeroOkwa commented 3 months ago

@rashidakanchwala according to our metrics, there are no users using ignore-plugins