MCPcopy
hub / github.com/treeverse/dvc / open

Method open

dvc/repo/__init__.py:303–306  ·  view source on GitHub ↗
(url: Optional[str], *args, **kwargs)

Source from the content-addressed store, hash-verified

301
302 @staticmethod
303 def open(url: Optional[str], *args, **kwargs) -> "Repo":
304 from .open_repo import open_repo
305
306 return open_repo(url, *args, **kwargs)
307
308 @cached_property
309 def scm(self) -> Union["Git", "NoSCM"]:

Callers 15

load_fileMethod · 0.80
_save_configMethod · 0.80
_fork_processFunction · 0.80
_edit_rwlockFunction · 0.80
lfs_prefetchFunction · 0.80
from_fileMethod · 0.80
mainFunction · 0.80
getFunction · 0.80
duFunction · 0.80
_open_repoFunction · 0.80
data_indexMethod · 0.80
getMethod · 0.80

Calls 1

open_repoFunction · 0.90

Tested by 15

test_openMethod · 0.64
test_filesystemMethod · 0.64
test_open_bareFunction · 0.64
test_external_repoFunction · 0.64
test_relative_remoteFunction · 0.64
test_shallow_clone_tagFunction · 0.64
test_repro_changed_codeFunction · 0.64
test_new_simpleFunction · 0.64
test_experiment_existsFunction · 0.64