A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
When refreshing the kernel, there might be other exceptions causing the refresh to fail. Perhaps catching exceptions would be more elegant.
For example:
When querying a non-existent kernel, the load_session method from the webhook returns a 404 error. If this is not handled, the final API response is a 500 error, whereas the expected response is a 404.
When refreshing the kernel, there might be other exceptions causing the refresh to fail. Perhaps catching exceptions would be more elegant.
For example: When querying a non-existent kernel, the
load_session
method from thewebhook
returns a404
error. If this is not handled, the final API response is a500
error, whereas the expected response is a404
.