IPython 8.4.0 Pypi GitHub Homepage
Other Docs
ParametersReturns
run_cell_async(self, raw_cell: str, store_history=False, silent=False, shell_futures=True, *, transformed_cell: Optional[str] = None, preprocessing_exc_tuple: Optional[traitlets.traitlets.Any] = None, cell_id=None) -> IPython.core.interactiveshell.ExecutionResult

Parameters

raw_cell : str

The code (including IPython code such as %magic functions) to run.

store_history : bool

If True, the raw and translated cell will be stored in IPython's history. For user code calling back into IPython's machinery, this should be set to False.

silent : bool

If True, avoid side-effects, such as implicit displayhooks and and logging. silent=True forces store_history=False.

shell_futures : bool

If True, the code will share future statements with the interactive shell. It will both be affected by previous __future__ imports, and any __future__ imports in the code will affect the shell. If False, __future__ imports are not shared in either direction.

transformed_cell: str :

cell that was passed through transformers

preprocessing_exc_tuple: :

trace if the transformation failed.

Returns

result : :class:`ExecutionResult`
.. versionadded:: 7.0

Run a complete IPython cell asynchronously.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /IPython/core/interactiveshell.py#2988
type: <class 'function'>
Commit: