This is sort of two issues.
-
We need some way of giving users knobs to control the kernelspec when they scaffold a new notebook using dagstermill create-notebook, in particular, if I'm running python3 and I want to scaffold a new notebook to use my existing python2 kernel.
-
It might be reasonable to let users configure kernelspecs on the fly when dagstermill actually executes a notebook. Kernelspecs could be exposed as a resource, or as solid-level config, and injected into the notebook at runtime.
This is sort of two issues.
We need some way of giving users knobs to control the kernelspec when they scaffold a new notebook using
dagstermill create-notebook, in particular, if I'm running python3 and I want to scaffold a new notebook to use my existing python2 kernel.It might be reasonable to let users configure kernelspecs on the fly when dagstermill actually executes a notebook. Kernelspecs could be exposed as a resource, or as solid-level config, and injected into the notebook at runtime.