From 5ffee8a945cffca7d25609f2b60618f1d051d749 Mon Sep 17 00:00:00 2001 From: barrierye Date: Mon, 6 Jul 2020 20:59:24 +0800 Subject: [PATCH] update test_pipeline_server --- .../pipeline/imdb_model_ensemble/test_pipeline_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/pipeline/imdb_model_ensemble/test_pipeline_server.py b/python/examples/pipeline/imdb_model_ensemble/test_pipeline_server.py index 08c6ccce..0258701b 100644 --- a/python/examples/pipeline/imdb_model_ensemble/test_pipeline_server.py +++ b/python/examples/pipeline/imdb_model_ensemble/test_pipeline_server.py @@ -46,7 +46,7 @@ class ImdbRequestOp(RequestOp): class CombineOp(Op): - def preprocess(self, input_data, private_obj): + def preprocess(self, input_data): combined_prediction = 0 for op_name, data in input_data.items(): _LOGGER.info("{}: {}".format(op_name, data["prediction"])) -- GitLab