Package-level declarations
Types
Typesafe wrapper for execution counts created by ExecutionCounter.
Class responsible for tracking the execution count that is sent from the kernel to the client for all execution requests. It should be sent back to the client in execute_reply
and execute_input
messages.
Interface describing the sockets available in a Jupyter Kernel.
Interface responsible for controlling the lifecycle of kernel sockets.
Top-level interface for the generic content
part of a Jupyter message. See https://jupyter-client.readthedocs.io/en/latest/messaging.html#content
Class representing general messages sent across the Jupyter Protocol. See https://jupyter-client.readthedocs.io/en/latest/messaging.html#a-full-message
Top-level class for the content of "reply" messages. This class is abstract
with status
as a constructor parameter so we can serialize the status
field. In an ideal world, this would be an interface instead.
See https://jupyter-client.readthedocs.io/en/latest/messaging.html#request-reply for the definition of these values.
See https://jupyter-client.readthedocs.io/en/latest/messaging.html#messages-on-the-shell-router-dealer-channel for details on how these messages are defined and how they are used in the Jupyter protocol.
Functions
Send a message to clients of the type "error" as the response to an "execute_request" message that resulted in the REPL throwing an exception.
For errors in the user's REPL code, return a reply that includes the location in the user's code if it is available.