We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503ee39 commit 4d9a957Copy full SHA for 4d9a957
src/lmnr/opentelemetry_lib/decorators/__init__.py
@@ -79,8 +79,6 @@ def _process_input(
79
try:
80
if input_formatter is not None:
81
inp = input_formatter(*args, **kwargs)
82
- if not isinstance(inp, str):
83
- inp = json_dumps(inp)
84
else:
85
inp = get_input_from_func_args(
86
fn,
@@ -117,8 +115,6 @@ def _process_output(
117
115
118
116
if output_formatter is not None:
119
output = output_formatter(result)
120
- if not isinstance(output, str):
121
- output = json_dumps(output)
122
123
output = result
124
0 commit comments