Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdk] Create pipeline run requires pipeline version id, despite doc says otherwise #11441

Open
tsailiming opened this issue Dec 5, 2024 · 0 comments

Comments

@tsailiming
Copy link

Environment

  • KFP version:
    2.10
  • KFP SDK version:
    2.10.x
  • All dependencies version:

Steps to reproduce

Submit a pipeline run. E.g.

   run = client.run_pipeline(
        experiment_id=experiment.experiment_id,
        params=metadata,
        job_name=run_name,
        pipeline_id=pipeline.pipeline_id
    )

Results in

ValueError: To run a pipeline from an existing template, both `pipeline_id` and `version_id` are required.

Expected result

Documentation says for version_id:

ID of the pipeline version to run. If both pipeline_id and version_id are specified, version_id will take precendence. If only pipeline_id is specified, the default version of this pipeline is used to create the run.

Materials and Reference


Impacted by this bug? Give it a 👍.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant