Skip to content

Commit 215b652

Browse files
committed
Send a metadata key in inspect_reply messages
This is required by the spec: https://jupyter-client.readthedocs.io/en/latest/messaging.html#introspection
1 parent 1ed28f0 commit 215b652

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/handlers.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ function inspect_request(socket, kernel, msg)
392392
d = docdict(s)
393393
content = Dict("status" => "ok",
394394
"found" => !isempty(d),
395-
"data" => d)
395+
"data" => d,
396+
"metadata" => Dict())
396397
end
397398
send_ipython(kernel.requests[], kernel, msg_reply(msg, "inspect_reply", content))
398399
catch e

0 commit comments

Comments
 (0)