Skip to content

Commit 4f4076c

Browse files
committed
Call query with string, not Path
1 parent 78c1d76 commit 4f4076c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code_generator_python/python_code_generator/templates/transform_single_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def transform_single_file(file_path: str, output_path: Path, output_format: str)
2121
# We first see if the function has the signature to directly write output
2222
# If it doesn't, then we assume it's giving us back awkward array results
2323
try:
24-
generated_transformer.run_query(file_path, output_path)
24+
generated_transformer.run_query(file_path, str(output_path))
2525
if not output_path.exists():
2626
raise RuntimeError("Transformation did not produce expected output file "
2727
f"{output_path}")

0 commit comments

Comments
 (0)