Skip to content

Commit eca7bf4

Browse files
committed
Undo json dumps change
1 parent 88130e7 commit eca7bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

key-value/key-value-shared/src/key_value/shared/utils/managed_entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def from_json(cls, json_str: str, includes_metadata: bool = True, ttl: SupportsF
8585

8686
def dump_to_json(obj: dict[str, Any]) -> str:
8787
try:
88-
return json.dumps(obj, separators=(",", ":"))
88+
return json.dumps(obj)
8989
except (json.JSONDecodeError, TypeError) as e:
9090
msg: str = f"Failed to serialize object to JSON: {e}"
9191
raise SerializationError(msg) from e

0 commit comments

Comments
 (0)