Skip to content

Commit b19c5aa

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 8a86067 commit b19c5aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/handlers.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ function inspect_request(socket, kernel, msg)
278278
d = docdict(s)
279279
content = Dict("status" => "ok",
280280
"found" => !isempty(d),
281-
"data" => d)
281+
"data" => d,
282+
"metadata" => Dict())
282283
end
283284
send_ipython(kernel.requests[], kernel, msg_reply(msg, "inspect_reply", content))
284285
catch e

0 commit comments

Comments
 (0)