jupyter/jupyter_client

Jupyter run app TIMEOUT

ananth1996 opened this issue · 2 comments

Hi, so I would like to use the jupyter run to run some Scala scripts using a Scala kernel. However, there seems to be an arbitrary time limit of 10sec in the runapp.py as seen here
Is there a reason why this is hard coded and not a command line argument? Is there a better way to run a script using a Jupyter kernel?

Ah looks like there is an issue #559 already

I see that there is a mention of nbclient as a way to execute notebooks. While I don't have an issue with executing Scala notebooks using even nbconvert --to notebook --execute --inplace scala_text.ipynb I was thinking of splitting my notebook which creates several parquet files into individual scala scripts which I can then run with jupyter run --kernel="scala" scala_test.sc. This would be really nice as scripts are much more readable than notebooks and also slightly better to version control.