mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Add documentation to jupyter-kernel-manager
slots
This commit is contained in:
parent
6c44684a9a
commit
f27fad472b
1 changed files with 12 additions and 7 deletions
|
@ -38,26 +38,31 @@
|
|||
|
||||
(defgroup jupyter-kernel-manager nil
|
||||
"Jupyter kernel manager"
|
||||
:group 'communication)
|
||||
:group 'jupyter)
|
||||
|
||||
(defclass jupyter-kernel-manager (jupyter-connection)
|
||||
((name
|
||||
:initarg :name
|
||||
:type string)
|
||||
:type string
|
||||
:documentation "The name of the kernel that is being managed.")
|
||||
(conn-file
|
||||
:type (or null string))
|
||||
:type (or null string)
|
||||
:documentation "The absolute path of the connection file when
|
||||
the kernel is alive.")
|
||||
(kernel
|
||||
:type (or null process)
|
||||
:initform nil
|
||||
:documentation "The local kernel process or nil if no local
|
||||
kernel was started by this client.")
|
||||
:documentation "The local kernel process when the kernel is
|
||||
alive.")
|
||||
(control-channel
|
||||
:type (or null jupyter-control-channel)
|
||||
:initform nil)
|
||||
:initform nil
|
||||
:documentation "A control channel to make shutdown and
|
||||
interrupt requests to the kernel.")
|
||||
(spec
|
||||
:type (or null json-plist)
|
||||
:initform nil)))
|
||||
:initform nil
|
||||
:documentation "The kernelspec used to start/restart the kernel.")))
|
||||
|
||||
(cl-defmethod initialize-instance ((manager jupyter-kernel-manager) &rest _slots)
|
||||
"Initialize MANAGER based on SLOTS.
|
||||
|
|
Loading…
Add table
Reference in a new issue