From cf120f6d650724a9d76c3efbdd71fbc5cb282259 Mon Sep 17 00:00:00 2001 From: Kenneth Koski Date: Mon, 13 Nov 2017 16:30:56 -0600 Subject: [PATCH] Adding services to naive execution --- bonobo/strategies/naive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bonobo/strategies/naive.py b/bonobo/strategies/naive.py index cab9c57..49f80cb 100644 --- a/bonobo/strategies/naive.py +++ b/bonobo/strategies/naive.py @@ -4,8 +4,8 @@ from bonobo.structs.bags import Bag class NaiveStrategy(Strategy): - def execute(self, graph, *args, plugins=None, **kwargs): - context = self.create_graph_execution_context(graph, plugins=plugins) + def execute(self, graph, *args, plugins=None, services=None, **kwargs): + context = self.create_graph_execution_context(graph, plugins=plugins, services=services) context.write(BEGIN, Bag(), END) # TODO: how to run plugins in "naive" mode ?