Skip to content

Commit

Permalink
fix(sdk): fix yaml support create_run_from_pipeline_func (#7500)
Browse files Browse the repository at this point in the history
  • Loading branch information
chensun authored Apr 1, 2022
1 parent 48644ed commit 9e708b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdk/python/kfp/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,7 @@ def create_run_from_pipeline_func(
).strftime('%Y-%m-%d %H-%M-%S')

with tempfile.TemporaryDirectory() as tmpdir:
# TODO: support IR yaml
pipeline_package_path = os.path.join(tmpdir, 'pipeline.json')
pipeline_package_path = os.path.join(tmpdir, 'pipeline.yaml')
compiler.Compiler().compile(
pipeline_func=pipeline_func,
package_path=pipeline_package_path,
Expand Down

0 comments on commit 9e708b9

Please sign in to comment.