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

Method get

dvc/fs/dvc.py:711–727  ·  view source on GitHub ↗
(
        self,
        from_info: Union[AnyFSPath, list[AnyFSPath]],
        to_info: Union[AnyFSPath, list[AnyFSPath]],
        callback: "Callback" = DEFAULT_CALLBACK,
        recursive: bool = False,
        batch_size: Optional[int] = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

709 )
710
711 def get(
712 self,
713 from_info: Union[AnyFSPath, list[AnyFSPath]],
714 to_info: Union[AnyFSPath, list[AnyFSPath]],
715 callback: "Callback" = DEFAULT_CALLBACK,
716 recursive: bool = False,
717 batch_size: Optional[int] = None,
718 **kwargs,
719 ) -> None:
720 self._get(
721 from_info,
722 to_info,
723 callback=callback,
724 batch_size=batch_size,
725 recursive=recursive,
726 **kwargs,
727 )
728
729 @property
730 def fsid(self) -> str:

Callers 15

test_filesystemMethod · 0.95
test_maxdepthFunction · 0.95
loadMethod · 0.45
mergeFunction · 0.45
_get_latest_versionMethod · 0.45
is_enabledMethod · 0.45
notify_updatesFunction · 0.45
_map_log_level_to_flagFunction · 0.45
daemonizeFunction · 0.45
is_enabledFunction · 0.45
sendFunction · 0.45
_acquire_readFunction · 0.45

Calls 1

_getMethod · 0.95

Tested by 15

test_filesystemMethod · 0.76
test_maxdepthFunction · 0.76
test_import_fileMethod · 0.36
test_import_dirMethod · 0.36
_check_statusFunction · 0.36
testMethod · 0.36
test_updateMethod · 0.36
verify_vega_propsFunction · 0.36
test_remove_defaultFunction · 0.36
test_remote_default_cmdFunction · 0.36
unreliable_uploadFunction · 0.36
test_remote_renameFunction · 0.36