-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clicking on a dataset node in kedro-viz doesn't navigate to code when the dataset is defined as dataset factory #122
Comments
@Calychas Thanks for trying this in pre-release already! Does clicking on any nodes lead to navigation? Or is it a specific type of nodes? Try clicking on a dataset, or a function node. Can I also ask what's the path of that pipeline/node file stored? |
Saying this because we have a rather simple logic to search for functions: |
@noklam hey! Functions actually work -> it navigates me to the code. It turns out I have only problems with datasets -> nothing happens (no navigation)
|
I think I managed to pinpoint the issue -> dataset factories Specifying it this way fixes navigation:
|
@Calychas Thanks for reporting! factory indeed is not working yet since it is not "explicitly" defined in catalog. I have idea how to add support for dataset factory. I will update the issue to reflect this is a specific issue about Dataset Factory and make it a feature request, hope that is fine! |
My current idea is keeping existing resolution logic, but add a new factory pattern logic.
Alternatively: |
Description
Clicking on a dataset node in kedro-viz doesn't navigate to code.
Steps to Reproduce
In my case
Checklist
Cmd + P
andPython: Select Interpeter
Expected Result
Navigated to the code
Actual Result
Nothing happens and errors in logs:
Your Environment
pip show kedro
orkedro -V
): 0.19.8python -V
): Python 3.10.11The text was updated successfully, but these errors were encountered: