mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-06 07:51:39 -05:00
Use the 'auth-headers action
This commit is contained in:
parent
7fa06ca5f9
commit
b98b6bc5d8
1 changed files with 2 additions and 2 deletions
|
@ -173,8 +173,8 @@ is also removed if it returns nil after handling an event."
|
|||
(error "Unauthenticated request, can't attempt re-authentication \
|
||||
with default `jupyter-api-authentication-method'"))
|
||||
(prog1 (cl-call-next-method)
|
||||
(jupyter-stop (oref server conn))
|
||||
(jupyter-start (oref server conn))))))
|
||||
(jupyter-send (jupyter-io server) 'auth-headers
|
||||
(jupyter-api-auth-headers server))))))
|
||||
|
||||
(cl-defmethod jupyter-server-kernelspecs ((server jupyter-server) &optional refresh)
|
||||
"Return the kernelspecs on SERVER.
|
||||
|
|
Loading…
Add table
Reference in a new issue