File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -614,6 +614,11 @@ Message type: ``complete_request``::
614
614
Message type: ``complete_reply ``::
615
615
616
616
content = {
617
+ # status should be 'ok' unless an exception was raised during the request,
618
+ # in which case it should be 'error', along with the usual error message content
619
+ # in other messages.
620
+ 'status' : 'ok'
621
+
617
622
# The list of all matches to the completion request, such as
618
623
# ['a.isalnum', 'a.isalpha'] for the above example.
619
624
'matches' : list,
@@ -625,11 +630,6 @@ Message type: ``complete_reply``::
625
630
626
631
# Information that frontend plugins might use for extra display information about completions.
627
632
'metadata' : dict,
628
-
629
- # status should be 'ok' unless an exception was raised during the request,
630
- # in which case it should be 'error', along with the usual error message content
631
- # in other messages.
632
- 'status' : 'ok'
633
633
}
634
634
635
635
.. versionchanged :: 5.0
@@ -835,6 +835,9 @@ Message type: ``kernel_info_request``::
835
835
Message type: ``kernel_info_reply ``::
836
836
837
837
content = {
838
+ # 'ok' if the request succeeded or 'error', with error information as in all other replies.
839
+ 'status' : 'ok',
840
+
838
841
# Version of messaging protocol.
839
842
# The first integer indicates major version. It is incremented when
840
843
# there is any backward incompatible change.
You can’t perform that action at this time.
0 commit comments