api: Add scm module with all_{X} methods for listing revs.

This commit is contained in:
David de la Iglesia Castro
2023-04-28 12:33:03 +02:00
parent 348446050e
commit 2a04263f02
3 changed files with 88 additions and 0 deletions
+4
View File
@@ -3,9 +3,13 @@ from dvc.fs.dvc import _DVCFileSystem as DVCFileSystem
from .data import open # pylint: disable=redefined-builtin
from .data import get_url, read
from .experiments import exp_save, exp_show, make_checkpoint
from .scm import all_branches, all_commits, all_tags
from .show import metrics_show, params_show
__all__ = [
"all_branches",
"all_commits",
"all_tags",
"exp_save",
"exp_show",
"get_url",