JuniperKernel (version 1.4.1.0)

complete_request: Complete Handler

Description

Handler for the complete_request Message Type

Usage

complete_request(request_msg)

Arguments

request_msg

A list passed in from doRequest representing the deserialized complete_request message JSON.

Value

A list having names msg_type and content. The msg_type is complete_reply, which corresponds to the complete_request message. The content field complies with the Jupyter wire message protocol specification for complete_reply messages.

References

http://jupyter-client.readthedocs.io/en/latest/messaging.html#completion

Examples

Run this code
# NOT RUN {
  request_msg <- list("code"="print(\"hello\")", cursor_pos=4)
  complete_request(request_msg)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab