Skip to content

Commit d4cfdca

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 559e545 commit d4cfdca

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
@@ -303,7 +303,8 @@ function inspect_request(socket, kernel, msg)
303303
d = docdict(s)
304304
content = Dict("status" => "ok",
305305
"found" => !isempty(d),
306-
"data" => d)
306+
"data" => d,
307+
"metadata" => Dict())
307308
end
308309
send_ipython(kernel.requests[], kernel, msg_reply(msg, "inspect_reply", content))
309310
catch e

0 commit comments

Comments
 (0)