This commit is contained in:
lda
2026-08-30 21:20:37 +07:00 Verified
parent 56e1b96077
commit b48443cdc3
6 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -1,9 +1,9 @@
from collections.abc import AsyncIterator
from uuid import uuid4
from ..utils import generate_good_names
from .shell import JupyterShell
from .transport import InputRequest, KernelMessage
from ..utils import generate_good_names
class JupyterApp:
+3 -1
View File
@@ -97,7 +97,9 @@ class JupyterTransport:
msg_type=message["msg_type"],
parent_id=parent_id,
content=dict(message.get("content", {})),
buffers=[bytes(buffer) for buffer in message.get("buffers", [])],
buffers=[
bytes(buffer) for buffer in message.get("buffers", [])
],
)
if decoded.msg_type == "execute_reply":
# The shell reply and IOPub messages use different