DVC print data version -git tag of the current data file_using python API

27 Views Asked by At

I am currently using DVC to track my data and am usually adding the git tag to version the data file, I am manually checking out to particular version of the data. Is there a way to print the data version inside a python code.

I have tried using dvc.api.exp_show() but it gets me all the list; also tried dvc.api.all_tags, same!

But, I want to print the current version of the data.

0

There are 0 best solutions below