Hello, In vscode kedro plugging, is it possible t...
# questions
a
Hello, In vscode kedro plugging, is it possible to run kedro viz with --include-hooks ? Thanks guys 🙏
👀 1
r
Hi @Adrien Paul, Thank you for using kedro vscode extension. I don't think there is a way to include hooks. Also, it would be helpful to understand your use case better.
a
I just added a hook to load .env files in order to use oc.env in parameters.yml. The problem is that it's crashing if the hook is not executed. I have multiple solutions to fix but I find them less elegant
😅
r
As of now there is no way to include hooks in kedro vscode extension. When you say crashing, can you share any error stack trace in your Output window of VSCode or screenshot for us to understand where it is crashing. As you already tried other alternatives, is it possible to load env even before anything happens like in
settings.py
or creating a custom
CONFIG_LOADER_CLASS
? cc: @Jitendra Gundaniya