Skip to content

Commit 3bde4aa

Browse files
committed
fix(convert): handle raw JSON dicts as leaf values
1 parent 250d041 commit 3bde4aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

python/cocoindex/convert.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ def encode_engine_value(value: Any) -> Any:
4747
[encode_engine_value(k)] + encode_engine_value(v)
4848
for k, v in value.items()
4949
]
50-
else: # JSON
51-
return {
52-
encode_engine_value(k): encode_engine_value(v) for k, v in value.items()
53-
}
5450
return value
5551

5652

0 commit comments

Comments
 (0)