Remove deprecated helpers, which are not tested anyway. use bonobo.run() instead of jupyter_run and console_run.

This commit is contained in:
Romain Dorgueil
2017-05-20 10:18:22 +02:00
parent cf0b982475
commit 3f2cfb620d

View File

@ -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)