Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: elronbandel <[email protected]>
  • Loading branch information
elronbandel committed Dec 16, 2024
1 parent 5a9bf0e commit dcd0725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unitxt/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def maybe_artifact_object_to_dict(obj):
return obj.__id__
return obj

return json.dumps(source, default=maybe_artifact_object_to_dict)
return json.dumps(source, default=maybe_artifact_object_to_dict, indent=4)


def maybe_artifact_dict_to_object(d):
Expand Down

0 comments on commit dcd0725

Please sign in to comment.