bundles / IPython 9.11.0 / IPython / core / interactiveshell / InteractiveShell / should_run_async
function
IPython.core.interactiveshell:InteractiveShell.should_run_async
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: strThe code to be executed
Returns
: result: boolWhether the code needs to be run with a coroutine runner or not
: .. versionadded:: 7.0
Aliases
-
IPython.InteractiveShell.should_run_async