Skip to content

Commit

Permalink
SDK - Client - Makes the create_run output nicer (#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Oct 21, 2019
1 parent 4197500 commit d085508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/kfp/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ def wait_for_run_completion(self, timeout=None):
timeout = timeout or datetime.datetime.max - datetime.datetime.min
return self._client.wait_for_run_completion(self.run_id, timeout)

def __str__(self):
return '<RunPipelineResult(run_id={})>'.format(self.run_id)
def __repr__(self):
return 'RunPipelineResult(run_id={})'.format(self.run_id)

#TODO: Check arguments against the pipeline function
pipeline_name = os.path.basename(pipeline_file)
Expand Down

0 comments on commit d085508

Please sign in to comment.