Skip to content

Commit

Permalink
feat: allow to use pipeline version (#3930)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisLfg authored Jun 18, 2020
1 parent a93a735 commit 40f06bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/kfp/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def submit(ctx, experiment_name, run_name, package_file, pipeline_id, watch, ver
if not run_name:
run_name = experiment_name

if not package_file and not pipeline_id:
print('You must provide one of [package_file, pipeline_id].')
if not package_file and not pipeline_id and not version:
print('You must provide one of [package_file, pipeline_id, version].')
sys.exit(1)

arg_dict = dict(arg.split('=') for arg in args)
Expand Down

0 comments on commit 40f06bf

Please sign in to comment.