Remove deprecated helpers, which are not tested anyway. use bonobo.run() instead of jupyter_run and console_run.
This commit is contained in:
@ -1,17 +0,0 @@
|
|||||||
from bonobo.util.compat import deprecated
|
|
||||||
|
|
||||||
|
|
||||||
@deprecated
|
|
||||||
def console_run(*chain, output=True, plugins=None, strategy=None):
|
|
||||||
from bonobo import run
|
|
||||||
from bonobo.ext.console import ConsoleOutputPlugin
|
|
||||||
|
|
||||||
return run(*chain, plugins=(plugins or []) + [ConsoleOutputPlugin()] if output else [], strategy=strategy)
|
|
||||||
|
|
||||||
|
|
||||||
@deprecated
|
|
||||||
def jupyter_run(*chain, plugins=None, strategy=None):
|
|
||||||
from bonobo import run
|
|
||||||
from bonobo.ext.jupyter import JupyterOutputPlugin
|
|
||||||
|
|
||||||
return run(*chain, plugins=(plugins or []) + [JupyterOutputPlugin()], strategy=strategy)
|
|
||||||
Reference in New Issue
Block a user