Skip to content

Commit 781644f

Browse files
committed
chore: better comment on _serialize_value
1 parent 1918bf7 commit 781644f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/judgeval/data/trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def safe_stringify(self, output, function_name):
7272
return None
7373

7474
def _serialize_value(self, value: Any) -> Any:
75-
"""Helper method to serialize output data safely."""
75+
"""Helper method to deep serialize a value safely supporting Pydantic Models / regular PyObjects."""
7676
if value is None:
7777
return None
7878

0 commit comments

Comments
 (0)