The extension requires bootstrap_project in Kedro. You need to ensure that you can run kedro run without encountering any immediate errors; otherwise, you may experience a server panic error.
Select the correct Python interpreter that you use to run the Kedro project by pressing Shift + Cmd + P, typing “Python: Select Interpreter,” and hitting Enter.
Setup:
You can install pre-release version of extension from marketplace directly
Restart the extension or VSCode window by pressing Shift + Cmd + P, typing ‘Developer: Reload Window,’ and hitting Enter.
If you are using the Kedro extension for the first time, note that it will only activate when you open a .yml or .py file in the editor.
Check:
To check if the Kedro extension is running properly, navigate to Output and select Kedro from the drop-down menu.
It may provide hints and report errors. If errors appear, press Cmd + Shift + P to open the VSCode command palette and search for Kedro: Restart Server.
If there are no errors, open a pipeline.py file from your Kedro project and hover over any input or output values to see their details.
Visualize:
To visualize the Kedro pipeline, press Shift + Cmd + P, type ‘Kedro: Run Kedro Viz,’ and hit Enter.
Test Case 1:
If you do not have Kedro-Viz 10.0.0 installed in your virtual environment, you will be prompted to install it.
If you click on “Install,” you will see a loader notification while the installation is in progress.
Once installation is complete, the Kedro-Viz flowchart will appear.
If you click “Cancel,” a notification will appear, and the operation will be canceled.
Test Case 2:
Once the flowchart loads successfully, click on any data node to navigate to the corresponding .ymlfile.
Test Case 3:
Once the flowchart loads successfully, click on any function node to navigate to the corresponding .py file.
Test Case 4:
Make some changes to your Kedro project that can be visualised in the flowchart (after changes, ensure that you can run kedro run without any immediate errors).
To reflect your changes in the flowchart, press Cmd + Shift + P, search for Kedro: Restart Server, and hit Enter.
Test Case 5:
Please repeat above steps for other Kedro project.
Requirements:
Pre-requisite:
bootstrap_project
in Kedro. You need to ensure that you can runkedro run
without encountering any immediate errors; otherwise, you may experience a server panic error.Shift + Cmd + P
, typing “Python: Select Interpreter,” and hitting Enter.Setup:
Shift + Cmd + P
, typing ‘Developer: Reload Window,’ and hitting Enter..yml
or.py
file in the editor.Check:
Output
and selectKedro
from the drop-down menu.Cmd + Shift + P
to open the VSCode command palette and search for Kedro: Restart Server.pipeline.py
file from your Kedro project and hover over any input or output values to see their details.Visualize:
Shift + Cmd + P
, type ‘Kedro: Run Kedro Viz,’ and hit Enter.Test Case 1:
10.0.0
installed in your virtual environment, you will be prompted to install it.Test Case 2:
.yml
file.Test Case 3:
.py
file.Test Case 4:
kedro run
without any immediate errors).Cmd + Shift + P
, search for Kedro: Restart Server, and hit Enter.Test Case 5: