MCPcopy
hub / github.com/dlt-hub/dlt / get_source_candidates

Function get_source_candidates

tests/workspace/cli/test_init_command.py:104–106  ·  view source on GitHub ↗
(repo_dir: str, source_type: TSourceType = "verified")

Source from the content-addressed store, hash-verified

102
103
104def get_source_candidates(repo_dir: str, source_type: TSourceType = "verified") -> List[str]:
105 sources_storage = FileStorage(os.path.join(repo_dir, SOURCES_MODULE_NAME))
106 return files_ops.get_sources_names(sources_storage, source_type=source_type)
107
108
109def test_init_command_pipeline_template(repo_dir: str, workspace_files: FileStorage) -> None:

Callers 2

Calls 2

FileStorageClass · 0.90
joinMethod · 0.80

Tested by

no test coverage detected