-
Notifications
You must be signed in to change notification settings - Fork 930
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
Should we remove KEDRO_ENV
?
#1842
Comments
The env var approach is super common in orchestrator situations, removing this would be dangerous in my opinion. If anything I also want to take this further an ensure this variable is an auto-scoped global in templated config. |
@datajoely can you explain why this is common? What the commands that people run that rely on
Agreed, and this is very much on the agenda for the configuration overhaul. But I don't see how the |
Oh sorry I misunderstood what you meant, ignore me. |
Adding some relevant context from Discord, this maybe useful for some workaround - do we have a preferred solution if we remove Also related to #1935
|
I contend that it doesn't harm to have it and it can be useful in certain situations. |
We decided that it was not worth the churn, so we're closing this for now. |
Originally noticed in #1355. I think this is probably a bit of tech debt that we should remove, but not without understanding what it was originally for and whether it's used by anyone.
@AntonyMilneQB said:
@datajoely said:
... but I'm not sure what that value would be? The only place that
KEDRO_ENV
is used isKedroSession.create
, which already has anenv
argument (which is what's used bykedro run --env
etc.).To do
env
into a Jupyter session, and we now have a better way to do that using%reload_kedro
)env
in theirkedro jupyter/ipython
commandkedro jupyter/ipython
commands to removeenv
as an argument and removeKEDRO_ENV
everywhere)The text was updated successfully, but these errors were encountered: