{ } Raw JSON

bundles / ipykernel 7.3.0 / ipykernel / kernelbase / Kernel / set_parent

function

ipykernel.kernelbase:Kernel.set_parent

source: /ipykernel/kernelbase.py:689

Signature

def set_parent(self, ident, parent, channel = shell)

Summary

Set the current parent request

Extended Summary

Side effects (IOPub messages) and replies are associated with the request that caused them via the parent_header.

The parent identity is used to route input_request messages on the stdin channel.

Aliases

  • ipykernel.kernelbase.Kernel.set_parent