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

Support kedro project path #53

Open
Tracked by #58
em-star-yar opened this issue Jul 30, 2024 · 4 comments
Open
Tracked by #58

Support kedro project path #53

em-star-yar opened this issue Jul 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@em-star-yar
Copy link

Description

I have a repo that incapsulates kedro project and the plugin expects to have kedro structure on 1st level of the repo. It'd nice to be able to configure the project discovery and specify which env to use, where config lies, etc. the same way we configure project in settings.py.

Context

I can't run the plugin on my project.

Steps to Reproduce

  1. Create kedro project
  2. Move that inside a dir subdir to have your_repo/subdir/kedro_project
  3. try to select interpreter
  4. receive this error window

image

Your Environment

  • Kedro version used (pip show kedro or kedro -V): 0.19.3
  • Kedro VSCode version used: 0.1.1
  • Python version used (python -V): 3.10
  • Operating system and version: Win 10
@em-star-yar
Copy link
Author

@star-yar

@noklam
Copy link
Contributor

noklam commented Jul 30, 2024

@em-star-yar Thanks for the report. Would you be able to provide some simplified repository to test with? If not, can you try to run tree -d at the top level to show your project structure.

It'd nice to be able to configure the project discovery and specify which env to use, where config lies

This is a good point, some features are hardcoded as the extension cannot load the entire project as the way a normal "kedro run" would. I understand environment as you probably put your configuration under some other directory, but what do you mean by "project discovery"?

@noklam noklam added the bug Something isn't working label Jul 30, 2024
@merelcht merelcht moved this to To Do in Kedro Framework Aug 5, 2024
@mck-star-yar
Copy link

Would you be able to provide some simplified repository to test with?

Sure, consider this example:

.
├── package_a
│   └── kedro_project
│       ├── conf
│       │   └── base
│       └── src
└── package_b

@noklam
Copy link
Contributor

noklam commented Sep 18, 2024

@mck-star-yar Sorry for the late response. If you open the workspace at <package_a>, does it works properly?

The select environment issue is likely a separate Windows issue #102 that we are gonna address next, we cannot work on this yet because we simply don't have a Windows machine to test😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants