Skip to content

Commit

Permalink
Avoid user code error in name_len()
Browse files Browse the repository at this point in the history
  • Loading branch information
rlamy authored and skshetry committed Nov 14, 2024
1 parent 11a8ced commit 9fd3155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/name_len_slow.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def name_len(file):
"gs://dvcx-datalakes/dogs-and-cats/",
anon=True,
).filter(C("file.path").glob("*cat*")).settings(parallel=1).map(
name_len, params=["file.path"], output={"name_len": int}
name_len, params=["file"], output={"name_len": int}
).save("name_len")

0 comments on commit 9fd3155

Please sign in to comment.