From b1ba09af3ee8d23d8948007d2de0adca70986671 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 29 Jan 2023 00:25:49 -0600 Subject: [PATCH] fix(api): make sure each pipeline has its own list of stages --- api/onnx_web/chain/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/onnx_web/chain/base.py b/api/onnx_web/chain/base.py index 63261d29..954fc794 100644 --- a/api/onnx_web/chain/base.py +++ b/api/onnx_web/chain/base.py @@ -48,7 +48,7 @@ class ChainPipeline: ''' Create a new pipeline that will run the given stages. ''' - self.stages = stages + self.stages = list(stages) def append(self, stage: PipelineStage): '''