We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6bba2e commit 4c533e0Copy full SHA for 4c533e0
1 file changed
langfuse/_utils/serializer.py
@@ -63,7 +63,7 @@ def default(self, obj: Any):
63
return obj.tolist()
64
65
if isinstance(obj, float) and math.isnan(obj):
66
- return None
+ return "NaN"
67
68
if isinstance(obj, float) and math.isinf(obj):
69
return "Infinity"
0 commit comments