{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / payload / PayloadManager / write_payload

function

IPython.core.payload:PayloadManager.write_payload

source: /dev/ipython/IPython/core/payload.py:30

Signature

def write_payload(self, data, single = True)

Summary

Include or update the specified data payload in the PayloadManager.

Extended Summary

If a previous payload with the same source exists and single is True, it will be overwritten with the new one.

Aliases

  • IPython.core.interactiveshell.PayloadManager.write_payload