Skip to content
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

Fix Kedro-Viz waiting for valid Kedro Project #1871

Merged
merged 22 commits into from
Apr 30, 2024

Conversation

ravi-kumar-pilla
Copy link
Contributor

@ravi-kumar-pilla ravi-kumar-pilla commented Apr 22, 2024

Description

Resolves #1761

Development notes

  • Users should be able to run kedro viz run from child dir of a kedro project.
  • Implement util functions _is_project and _find_kedro_project to tackle kedro project not found issue.
  • Update pytests

NOTE: We can implement execution of kedro viz build and kedro viz deploy from child dir in a separate PR as there needs to be a discussion around where to save the local build folder when the user runs from child dir.

QA notes

  • All tests should pass

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

merelcht and others added 18 commits March 7, 2024 12:51
Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
…periments-merel

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
…periments-merel

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
@ravi-kumar-pilla ravi-kumar-pilla changed the title Fix Kedro Viz waiting for valid Kedro Project Fix Kedro-Viz waiting for valid Kedro Project Apr 24, 2024
@ravi-kumar-pilla ravi-kumar-pilla marked this pull request as ready for review April 24, 2024 16:59
@ravi-kumar-pilla ravi-kumar-pilla requested review from noklam, SajidAlamQB and ankatiyar and removed request for astrojuanlu April 24, 2024 17:00
Copy link
Contributor

@ankatiyar ankatiyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually tested!

package/kedro_viz/launchers/cli.py Show resolved Hide resolved
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
@noklam noklam requested review from noklam and removed request for noklam April 26, 2024 18:03
Copy link
Contributor

@rashidakanchwala rashidakanchwala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks LGTM.

@ravi-kumar-pilla ravi-kumar-pilla merged commit 329f13b into main Apr 30, 2024
32 checks passed
@ravi-kumar-pilla ravi-kumar-pilla deleted the fix/project-not-found branch April 30, 2024 20:52
This was referenced May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kedro Viz stays waiting even if no valid project was found
5 participants