Skip to content

Commit

Permalink
add pipelines in a way that is validated
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-darling committed Aug 8, 2023
1 parent b8fe8d3 commit 45c1f5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions garden_ai/gardens.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ def add_pipeline(self, pipeline_id: str, alias: Optional[str] = None):
"please provide an alias for the new pipeline."
)

self.pipelines.append(pipeline)
self.pipeline_ids.append(pipeline_id)
self.pipeline_names.append(pipeline.short_name)
self.pipelines += [pipeline]
self.pipeline_ids += [pipeline_id]
self.pipeline_names += [pipeline.short_name]

if alias:
try:
Expand Down

0 comments on commit 45c1f5d

Please sign in to comment.