You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / interactiveshell / InteractiveShell / should_run_async

function

IPython.core.interactiveshell:InteractiveShell.should_run_async

source: /IPython/core/interactiveshell.py :3169

Signature

def   should_run_async ( self raw_cell : str * transformed_cell = None preprocessing_exc_tuple = None )  →  bool

Summary

Return whether a cell should be run asynchronously via a coroutine runner

Parameters

raw_cell : str

The code to be executed

Returns

: result: bool

Whether the code needs to be run with a coroutine runner or not

: .. versionadded:: 7.0

Aliases

  • IPython.InteractiveShell.should_run_async