Skip to content

Commit a5f3da6

Browse files
committed
Merge branch 'development' into release
2 parents d9bcdb4 + 069a42c commit a5f3da6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/langtrace_python_sdk/instrumentation/dspy/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def traced_method(wrapped, instance, args, kwargs):
131131
set_span_attribute(
132132
span,
133133
"dspy.signature.result",
134-
json.dumps(result.toDict(), default=lambda x: list(x) if isinstance(x, set) else x),
134+
json.dumps(result.toDict(), default=lambda x: str(x) if isinstance(x, (set, object)) else x),
135135
)
136136
span.set_status(Status(StatusCode.OK))
137137

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.3.30"
1+
__version__ = "3.3.31"

0 commit comments

Comments
 (0)