We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce89dbb commit 0b9dd91Copy full SHA for 0b9dd91
src/py/kaleido/_mocker.py
@@ -28,7 +28,7 @@ def _get_jsons_in_paths(path: str | Path) -> list[Path]:
28
29
if path.is_dir():
30
_logger.info(f"Input is path {path}")
31
- return path.glob("*.json")
+ return list(path.glob("*.json"))
32
elif path.is_file():
33
_logger.info(f"Input is file {path}")
34
return [path]
0 commit comments