Skip to content

Commit

Permalink
fix(api): make sure each pipeline has its own list of stages
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 29, 2023
1 parent 7083505 commit b1ba09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/chain/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(
'''
Create a new pipeline that will run the given stages.
'''
self.stages = stages
self.stages = list(stages)

def append(self, stage: PipelineStage):
'''
Expand Down

0 comments on commit b1ba09a

Please sign in to comment.