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 5a9bf0e commit dcd0725Copy full SHA for dcd0725
src/unitxt/artifact.py
@@ -474,7 +474,7 @@ def maybe_artifact_object_to_dict(obj):
474
return obj.__id__
475
return obj
476
477
- return json.dumps(source, default=maybe_artifact_object_to_dict)
+ return json.dumps(source, default=maybe_artifact_object_to_dict, indent=4)
478
479
480
def maybe_artifact_dict_to_object(d):
0 commit comments