Skip to content

Commit 0b9dd91

Browse files
committed
Turn generator to list in mocker
1 parent ce89dbb commit 0b9dd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py/kaleido/_mocker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _get_jsons_in_paths(path: str | Path) -> list[Path]:
2828

2929
if path.is_dir():
3030
_logger.info(f"Input is path {path}")
31-
return path.glob("*.json")
31+
return list(path.glob("*.json"))
3232
elif path.is_file():
3333
_logger.info(f"Input is file {path}")
3434
return [path]

0 commit comments

Comments
 (0)