You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that the cell with ? has no outputs and the cell with print('hi') does. I also confirmed that in JupyterLab 3.2.8 the outputs are present in both cases, and therefore I suspect that the problem is on the nbclient side, but I am naturally not 100% sure.
The text was updated successfully, but these errors were encountered:
A code cell with print('hi') has its outputs in a stream message on the IOPub channel.
A code cell with 1+2 has its outputs in an execute_result message on the IOPub channel.
A code cell with ? has its outputs in an execute_reply message on the shell channel.
nbclient uses output_from_msg from nbformat, which doesn't handle messages of type execute_reply (and the docstring says it only handles messages on the IOPub channel).
Maybe it's just a matter of handling this type of messages in output_from_msg.
I opened jupyter/nbformat#242.
I noticed that nbclient does not seem to include the outputs produced by IPython's special
?
command. To reproduce use the following script:With IPython 8.0.0 and nbclient 0.5.9 I observe the following output:
Notice that the cell with
?
has no outputs and the cell withprint('hi')
does. I also confirmed that in JupyterLab 3.2.8 the outputs are present in both cases, and therefore I suspect that the problem is on the nbclient side, but I am naturally not 100% sure.The text was updated successfully, but these errors were encountered: