Skip to content
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

Jupyter run app TIMEOUT #970

Open
ananth1996 opened this issue Sep 6, 2023 · 2 comments
Open

Jupyter run app TIMEOUT #970

ananth1996 opened this issue Sep 6, 2023 · 2 comments

Comments

@ananth1996
Copy link

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?

@ananth1996 ananth1996 changed the title Jupyter run app TIMEOUR Jupyter run app TIMEOUT Sep 6, 2023
@ananth1996
Copy link
Author

Ah looks like there is an issue #559 already

@ananth1996
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant