diff --git a/IPython/extensions/parallelmagic.py b/IPython/extensions/parallelmagic.py index 93c7692..9003ad3 100644 --- a/IPython/extensions/parallelmagic.py +++ b/IPython/extensions/parallelmagic.py @@ -134,6 +134,9 @@ class ParallelMagics(Magics): if block: result.get() result.display_outputs(groupby) + else: + # return AsyncResult only on non-blocking submission + return result @skip_doctest @cell_magic('px')