MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / _coerce_input_paths

Function _coerce_input_paths

analysis/loader.py:105–108  ·  view source on GitHub ↗
(paths: str | Path | Sequence[str | Path])

Source from the content-addressed store, hash-verified

103
104
105def _coerce_input_paths(paths: str | Path | Sequence[str | Path]) -> list[Path]:
106 if isinstance(paths, (str, Path)):
107 return [Path(paths)]
108 return [Path(item) for item in paths]
109
110
111def _iter_jsonl_files(path: Path) -> Iterator[Path]:

Callers 1

iter_normalized_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected