Open chillenzer opened 2 years ago
I don't particularly like environment variables, but I don't particularly like hardcoding the name of a configuration file either. Both are workarounds to the fact that jupyter nbconvert
doesn't give a way to pass parameters or input to the notebook.
Could go for the best (and/or worst) of both worlds, with a configuration filename defined via environment variable?
Maybe that reveals the deeper question I have: Why is it a notebook? I personally prefer scripts.
A few reasons:
I usually refrain from using environment variables. If we want users to configure their runs without changing the notebook, wouldn't a configuration file be nicer?