Skip to content

Commit 564e2b7

Browse files
committed
Fix the path where a normal callable is used
1 parent 1739407 commit 564e2b7

File tree

1 file changed

+1
-1
lines changed
  • src/humanloop/eval_utils

1 file changed

+1
-1
lines changed

src/humanloop/eval_utils/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def _file_or_file_inside_hl_utility(file: File) -> File:
489489
# or more information than the `file` argument
490490
file_ = copy.deepcopy(inner_file)
491491
else:
492-
file_ = file
492+
file_ = copy.deepcopy(file)
493493

494494
# Raise error if one of path or id not provided
495495
if not file_.get("path") and not file_.get("id"):

0 commit comments

Comments
 (0)