datajoely
01/24/2022, 7:01 PMuser
01/27/2022, 5:36 PMdatajoely
01/27/2022, 6:08 PMKedroMlflowConfig
error?Galileo-Galilei
01/27/2022, 8:09 PMuser
02/06/2022, 5:16 PMChainYo
02/09/2022, 6:07 PMReact App
project but when I run npm start
I got no errors but nothing appears in the browser. Is there a special thing to add to React to make it works ?
I tried this code:
js
import './App.css';
import KedroViz from '@quantumblack/kedro-viz';
import json from './training_pipeline.json';
const PipelineViz = () => <KedroViz data={json} />;
export default PipelineViz;
ChainYo
02/09/2022, 6:08 PMlimdauto
02/09/2022, 7:39 PMlimdauto
02/09/2022, 7:39 PMlimdauto
02/09/2022, 7:40 PMlimdauto
02/09/2022, 7:40 PMChainYo
02/09/2022, 7:40 PMlimdauto
02/09/2022, 7:40 PMChainYo
02/09/2022, 7:41 PMdatajoely
02/09/2022, 7:41 PMdatajoely
02/09/2022, 7:42 PMChainYo
02/09/2022, 7:43 PMdatajoely
02/09/2022, 7:44 PMChainYo
02/09/2022, 7:44 PMChainYo
02/09/2022, 7:44 PMlimdauto
02/09/2022, 7:54 PMlimdauto
02/09/2022, 7:55 PMChainYo
02/09/2022, 7:55 PMlimdauto
02/09/2022, 7:55 PMlimdauto
02/09/2022, 7:56 PMkedro viz
as entrypoint: https://github.com/kedro-org/kedro-viz/blob/main/demo-project/Dockerfile#L10ChainYo
02/09/2022, 7:56 PMlimdauto
02/09/2022, 7:57 PMChainYo
02/09/2022, 9:29 PMextra_params
to the Session with prefect.ChainYo
02/09/2022, 9:31 PMpython
@click.command()
@click.option("-p", "--pipeline", "pipeline_name", default=None)
@click.option("--env", "-e", type=dict, default=None)
@click.option("--params", type=dict, default=None)
def build_and_register_flow(pipeline_name, env, params):
"""Register a Kedro pipeline as a Prefect flow."""
project_path = Path.cwd()
metadata = bootstrap_project(project_path)
session = KedroSession.create(project_path=project_path, env=env, extra_params=params)
ChainYo
02/09/2022, 9:31 PMPrefect
UI, but i'm not sureChainYo
02/09/2022, 9:31 PMPrefect
UI, but i'm not sure