mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-06 16:01:37 -05:00
Fix comm related request functions
This commit is contained in:
parent
f4df7d98e1
commit
057c064fee
1 changed files with 4 additions and 4 deletions
|
@ -454,25 +454,25 @@ and `:msg_type'."
|
||||||
(jupyter-request "is_complete"
|
(jupyter-request "is_complete"
|
||||||
:code code))
|
:code code))
|
||||||
|
|
||||||
(cl-defun jupyter-message-comm-info-request (&key target-name)
|
(cl-defun jupyter-comm-info-request (&key (target-name ""))
|
||||||
(cl-check-type target-name string)
|
(cl-check-type target-name string)
|
||||||
(jupyter-request "comm_info"
|
(jupyter-request "comm_info"
|
||||||
:target_name target-name))
|
:target_name target-name))
|
||||||
|
|
||||||
(cl-defun jupyter-comm-open (&key id target-name data)
|
(cl-defun jupyter-comm-open-request (&key id target-name data)
|
||||||
(cl-check-type id string)
|
(cl-check-type id string)
|
||||||
(cl-check-type target-name string)
|
(cl-check-type target-name string)
|
||||||
(cl-check-type data json-plist)
|
(cl-check-type data json-plist)
|
||||||
(jupyter-request "comm_open"
|
(jupyter-request "comm_open"
|
||||||
:comm_id id :target_name target-name :data data))
|
:comm_id id :target_name target-name :data data))
|
||||||
|
|
||||||
(cl-defun jupyter-comm-msg (&key id data)
|
(cl-defun jupyter-comm-msg-request (&key id data)
|
||||||
(cl-check-type id string)
|
(cl-check-type id string)
|
||||||
(cl-check-type data json-plist)
|
(cl-check-type data json-plist)
|
||||||
(jupyter-request "comm_msg"
|
(jupyter-request "comm_msg"
|
||||||
:comm_id id :data data))
|
:comm_id id :data data))
|
||||||
|
|
||||||
(cl-defun jupyter-comm-close (&key id data)
|
(cl-defun jupyter-comm-close-request (&key id data)
|
||||||
(cl-check-type id string)
|
(cl-check-type id string)
|
||||||
(cl-check-type data json-plist)
|
(cl-check-type data json-plist)
|
||||||
(jupyter-request "comm_close"
|
(jupyter-request "comm_close"
|
||||||
|
|
Loading…
Add table
Reference in a new issue