MCPcopy Index your code
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/core/displaypub.py:43–49  ·  view source on GitHub ↗
(self, shell=None, *args, **kwargs)

Source from the content-addressed store, hash-verified

41 """
42
43 def __init__(self, shell=None, *args, **kwargs):
44 self.shell = shell
45 self._is_publishing = False
46 self._in_post_execute = False
47 if self.shell:
48 self._setup_execution_tracking()
49 super().__init__(*args, **kwargs)
50
51 def _validate_data(self, data, metadata=None):
52 """Validate the display data.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected