{ } Raw JSON

bundles / jupyter_client latest / jupyter_client / session / Session / send_raw

function

jupyter_client.session:Session.send_raw

source: /jupyter_client/session.py:880

Signature

def send_raw(self, stream: zmq.sugar.socket.Socket, msg_list: list, flags: int = 0, copy: bool = True, ident: bytes | list[bytes] | None = None) → None

Summary

Send a raw message via ident path.

Extended Summary

This method is used to send a already serialized message.

Parameters

stream : ZMQStream or Socket

The ZMQ stream or socket to use for sending the message.

msg_list : list

The serialized list of messages to send. This only includes the [p_header,p_parent,p_metadata,p_content,buffer1,buffer2,...] portion of the message.

ident : ident or list

A single ident or a list of idents to use in sending.

Aliases

  • jupyter_client.channels.Session.send_raw