Closed Lasica closed 3 months ago
Hi @Lasica, thanks for opening this conversation! We are now emphasizing %load_ext kedro.ipython
#2777, #3619 and even though the kedro jupyter setup
is not going anywhere for now, I don't think we are adding new features to it in the short term.
I'm converting this to a discussion for now.
Description
Some of the additional options in installing kernels could be useful in some contexts. The
ipykernel
module does this well (seepython -m ipykernel install --help
.Context
I encountered an issue when working with pyspark, that it needs to have environment variables correctly pointing to the correct python. Setting those envs in jupyter is possible and there is support for that via
ipykernel install --env ...
. I thought that kedro uses it under the hood to register its own kernel with some edits, but looking at the code it uses_create_kernel
custom method that also uses ipykernel install.Possible Implementation
Pass click extra arguments to the: https://github.com/kedro-org/kedro/blob/00789fa4d5f1ed8734d6e2561db4fd52c3feddc8/kedro/framework/cli/jupyter.py#L158-L169