Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release.
Adapters for IPython msg spec versions.
Bases: object
Base class for adapting messages
Override message_type(msg) methods to create adapters.
This will be called instead of the regular handler
on any reply with status != ok
Bases: IPython.kernel.adapter.Adapter
Adapt msg protocol v5 to v4
inspect_reply can’t be easily backward compatible
Bases: IPython.kernel.adapter.Adapter
Convert msg spec V4 to V5
inspect_reply can’t be easily backward compatible
Turn a multiline code block and cursor position into a single line and new cursor position.
For adapting complete_ and object_info_request.
Adapt a single message to a target version
| Parameters: | msg : dict
to_version : int, optional
|
|---|---|
| Returns: | msg : dict
|