promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

[Feature Request] Python SDK, pf.show() to get run meta info

Open lisagreenview opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

In pf CLI, we have pf run show -n <run_name> to get run meta information, but in Python SDK, pf.show(run) is not available, we can provide similar functionality. CleanShot 2023-10-14 at 09 18 51@2x

Describe the solution you'd like A clear and concise description of what you want to happen.

Have pf.show(run) to get run meta info.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

lisagreenview avatar Oct 14 '23 01:10 lisagreenview

There is an equivalent in SDK funciton pf.runs.get(), please refer to: Python Library Reference. It returns a Run object that contains the run's meta info.

0mza987 avatar Oct 25 '23 03:10 0mza987