Skip to content

Commit

Permalink
fix(vdp): fix create pipeline input parameters (#225)
Browse files Browse the repository at this point in the history
Because

- some changes are reverted in previous release

This commit

- fix create pipeline input parameters
  • Loading branch information
joremysh authored Oct 14, 2024
1 parent a91cceb commit 3fd0538
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion instill/clients/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,17 @@ def list_pipelines(
def create_pipeline(
self,
namespace_id: str,
pipeline: pipeline_interface.Pipeline,
name: str,
description: str,
recipe: dict,
async_enabled: bool = False,
) -> pipeline_interface.CreateNamespacePipelineResponse:
pipeline = pipeline_interface.Pipeline(
id=name,
description=description,
)
pipeline.recipe.update(recipe)

if async_enabled:
return RequestFactory(
method=self.host.async_client.CreateNamespacePipeline,
Expand Down

0 comments on commit 3fd0538

Please sign in to comment.