MCPcopy Index your code
hub / github.com/pathwaycom/pathway / get_temporary_paths

Function get_temporary_paths

python/pathway/cli.py:35–41  ·  view source on GitHub ↗
(
    temp_root_directory: tempfile.TemporaryDirectory,
)

Source from the content-addressed store, hash-verified

33
34
35def get_temporary_paths(
36 temp_root_directory: tempfile.TemporaryDirectory,
37) -> Tuple[pathlib.Path, pathlib.Path]:
38 temp_root_path = pathlib.Path(temp_root_directory.name)
39 repository_path = temp_root_path / "repository"
40 venv_path = temp_root_path / "venv"
41 return (repository_path, venv_path)
42
43
44@dataclass

Callers 2

checkout_repositoryFunction · 0.85
spawn_programFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected