Skip to content

Commit

Permalink
fix broken command
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy committed Apr 26, 2022
1 parent 93a153f commit 1388e9b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdk/python/kfp/cli/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ def upload_version(ctx: click.Context,
if pipeline_id is None:
raise ValueError(
f"Can't find a pipeline with name: {pipeline_name}")
# TODO: this is broken
version = client.pipeline_uploads.upload_pipeline_version(
package_file, name=pipeline_version, pipelineid=pipeline_id)
version = client.upload_pipeline_version(
pipeline_package_path=package_file,
pipeline_version_name=pipeline_version,
pipeline_id=pipeline_id)
_display_pipeline_version(version, output_format)


Expand Down

0 comments on commit 1388e9b

Please sign in to comment.